-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Break up style guide into multiple pages #53
Break up style guide into multiple pages #53
Conversation
…de subsections for easier navigation
While the sections of the style guide are now in their own
Therefore, when viewing the docs on RTD, they still appear as subsections of the style guide instead of their own separate pages. I have been struggling to figure out how to create separate pages AND have the navigation bar look like:
@maxinelasp Do you know how I might accomplish getting these sections into their own pages, and also get the navigation to reflect that these pages are under the Style Guide 'umbrella'? |
Yes, you can use a toctree to do that. See index.rst for an example for how it looks in production. I think that will accomplish what you're looking for. |
I think |
Thanks @maxinelasp I am still a little confused. If I use this in
This does create separate pages for each of the items like I want. But it results in a navigation that looks like this: It would be ideal if the
I tried messing with I must also be googling the wrong combination of words because I can't seem to find a relevant StackOverflow or equivalent 😬 |
You can create a new folder ("development/style_guide") and add all documents under that. Then, create a toctree in This way, the main index.rst will only link to the main style guide page, but the style guide page will then link to all the sub pages. Is that what you want? |
Ahh, perfect, thank you @maxinelasp! |
… organize them all under a parent style-guide page
@maxinelasp Now could you review this? 😅 No need to review the content of the pages as those have not changed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great and runs without errors! Thanks for doing this, I think it's a lot easier to navigate!
…le-guide-multiple-pages Break up style guide into multiple pages
Change Summary
Overview
This PR splits up the sections of the style guide into their own pages. The
Release Workflow
is also moved from out of the style guide.New Files
.rst
files for each of the sections of the style guideUpdated Files
.rst
files are the contentRelease Workflow
section, as it is now outside of the style guide