-
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
Updating tags without cleaning may generate duplicate items in tag toctree #17
Comments
Yes, it does happen e.g. when you edit your tags, because maybe you decided afterwards to have them start with a capital letter. One idea that comes to mind is to have sphinx_tags clean the folder using |
That sounds like a simple and easy solution. Currently I'm including it in makefiles when building the docs. Do you want to submit a PR for it? 😄 |
Sure, will try! I need to understand where exactly in the code this should happen :) |
Probably around here which is where the tags folder is created (if it doesn't exist already) |
Right, that seems to be a good place, I will try. |
Closed by #27 |
Running sphinx without clearing the tags folder first may cause files to be added multiple times to the tag page toctree.
The text was updated successfully, but these errors were encountered: