jdillard / sphinx-sitemap

Sphinx extension to generate a multi-lingual, multi-version sitemap for HTML builds
https://sphinx-sitemap.readthedocs.io/en/latest/index.html
MIT License
55 stars 22 forks source link

Set priority attribute based on version #11

Open jdillard opened 6 years ago

jdillard commented 6 years ago

Set \<priority> as:

The priority could possibly be a config value, sitemap_priority, manually set/configured in conf.py with the ability to be changed based on the versioning method (change the value for each tag/branch).

Taken from here: https://github.com/rtfd/readthedocs.org/issues/557