Skip to content
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

fix(docs): Hide Top Level heading if no contents #13617

Merged

Conversation

jgalat
Copy link
Contributor

@jgalat jgalat commented Apr 25, 2019

Description

Hides the 'Top Level Documentation Pages' heading if there are no stubs in the category

Related Issues

Fixes #13593

Cheers

@jgalat jgalat requested a review from a team as a code owner April 25, 2019 00:45
Copy link
Contributor

@sidharthachatterjee sidharthachatterjee left a comment

Choose a reason for hiding this comment

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

Thank you @jgalat 👍

@sidharthachatterjee sidharthachatterjee changed the title fix(docs): Hide Top Level heading if it has no items (#13593) fix(docs): Hide Top Level heading if no contents (#13593) Apr 25, 2019
@sidharthachatterjee sidharthachatterjee changed the title fix(docs): Hide Top Level heading if no contents (#13593) fix(docs): Hide Top Level heading if no contents Apr 25, 2019
@sidharthachatterjee sidharthachatterjee merged commit 36913eb into gatsbyjs:master Apr 25, 2019
@jgalat jgalat deleted the docs/hide-top-level-if-empty branch April 27, 2019 14:47
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.

[docs] Hide "Top Level Documentation Pages" heading on stub list if it contains no stubs
2 participants