melissawm / sphinx-tags

A tiny Sphinx extension that implements blog-style tags for documentation.
https://sphinx-tags.readthedocs.io/en/latest/
MIT License
44 stars 11 forks source link

Version dependent tags #81

Open story645 opened 10 months ago

story645 commented 10 months ago

Add a configuration setting that only shows x tag on specific build. The two use cases I'm thinking of:

story645 commented 8 months ago

Also just realized this can be achieved trivially with an ifconfig so I think gonna try that for the internal tags 😅

espwangning commented 1 month ago

I tried this in my project, and it works fine for displaying tags for each individual file, but the internal tags will still show in the tag overview page.

I guess the configuration setting is still needed when reading tags in each file to prepare the overview page and tag entry mapping?