Closed JurreBrandsenInfoSupport closed 3 months ago
Hello, thank you for using vitepress-sidebar
.
This can be fixed in version 1.23.0
by setting the excludeFilesByFrontmatterFieldName
option value to draft
.
If you encounter any other issues, please create a new issue.
Regards,
Introduce a new functionality with a flag named
excludeDraftFiles
to parse the frontmatter of markdown files. When encountering a file with thedraft: true
parameter, it will be omitted from the sidebar, ensuring that only completed content is included in the navigation.