Hi,

On my website, using sphinx_rtd_theme, I am listing all the releases of my 
docs in the sidebar by placing this in my index:

.. toctree::
   :maxdepth: 1
   :hidden:
   :caption: Release Versions

   r2022.02 <https://example.org/r2022.02/index.html>
   r2022.01 <https://example.org/r2022.01/index.html>
   r2021.12 <https://example.org/r2021.12/index.html>
   r2021.11 <https://example.org/r2021.11/index.html>

It works as expected but the list has to be updated manually every time we 
do a new release. Is there a way to replace the hardcoding of each release 
using something like RELEASESLIST?

I was hoping that something like this would work:

.. toctree::
   :maxdepth: 1
   :hidden:
   :caption: Release Versions

   RELEASESLIST

Thanks,
Jim.

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sphinx-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/c2b04a95-e6fa-46ce-aea5-1690e6e0a6f5n%40googlegroups.com.

Reply via email to