Allow hiding of single articles via frontmatter #5882
Labels
closed: duplicate
This issue or pull request already exists in another issue or pull request
feature
This is not a bug or issue with Docusausus, per se. It is a feature request for the future.
Have you read the Contributing Guidelines on issues?
Description
While writing docs it often is necessary to completely hide references to articles temporarily (in-between publishing doc updates).
It is possible to fully customize what articles show up via the sidebar config file, but AFAIK it is not possible to hide single articles via the YAML frontmatter in such a manner:
other option names could be:
publish
draft
In essence what this would do is not take the markdown file into account when generating the static HTML or when deploying the webapp.
Has this been requested on Canny?
No response
Motivation
This helps in simplifying documentation management in general for larger projects. It often is the case that writers draft new documents but these new docs shouldn't show up online. This could be solved via separating the new work into its own branch but this is rather clumsy.
API design
Have you tried building it?
No response
Self-service
The text was updated successfully, but these errors were encountered: