-
Notifications
You must be signed in to change notification settings - Fork 13
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
How to ignore tags directive on a specific page #105
Comments
My rough guess is this can maybe be implemented as add an 'ignore_file' config value that then gets parsed as part of this statement: https://github.com/melissawm/sphinx-tags/blob/main/src%2Fsphinx_tags%2F__init__.py#L373-L377 |
This is a limitation of how the parsing is done right now, and the work on #101 should fix it, but ignoring the page seems like a reasonable solution while that's not finished. Thanks for the issue! |
I tried this for our case and this approach ignores the page altogether, which makes sense since it's a sphinx setting, not a sphinx-tags setting (we wanted to have the page and ignore the tags). Our hacky workaround was to replace the Thanks for the support! |
Sorry, what I meant was add a new sphinx-tags config value |
I will try to submit a PR for this later this week, and I'm happy to do a minor release for it unless I can fix it definitively as part of #101 sooner than that. If you can do it before then, I'm happy to accept any contributions! |
Thanks for the initiative and support! In my documentation, I use the
When generating the tag list, it would be good for me if irrelevant |
I think that would need a different sphinx-tags config #81 |
We added a page to explain how to add tags to pages with two example tags (tag1 and tag2) however, these tags show up in the tag list and we would like to avoid this.
Is there a way to ignore the
{tags}
directive in one specific page?The text was updated successfully, but these errors were encountered: