Skip to content

Conversation

@iAdramelk
Copy link
Contributor

@iAdramelk iAdramelk commented Dec 17, 2019

Fix #697. Add check for /doc pages in server.js, if page does not exists, it return correct status.

@shcheklein shcheklein temporarily deployed to dvc-landing-gf-fix--697-6aoek3 December 17, 2019 12:45 Inactive
Copy link
Contributor

@shcheklein shcheklein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utils/sidebar.json is a strange location for the file? can we move it anywhere at all?

@jorgeorpinel
Copy link
Contributor

I tested the deployment and it works, thanks @iAdramelk! Seems like we just have minor concerns here 🙂 ^

@iAdramelk

This comment has been minimized.

@shcheklein

This comment has been minimized.

@shcheklein shcheklein temporarily deployed to dvc-landing-gf-fix--697-6aoek3 December 18, 2019 13:04 Inactive
@iAdramelk
Copy link
Contributor Author

Updated names and locations:

utils/helper.js -> src/utils/sidebar.js
utils/sidebar.json -> static/docs/sidebar.json

Also updated path to sidebar.json in docs.

Copy link
Contributor

@jorgeorpinel jorgeorpinel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just pending resolving #872 (review)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

engine: return HTTP 404 when Page404 component is rendered

3 participants