Skip to content

Commit

Permalink
Let Readthedocs feed versions in the header
Browse files Browse the repository at this point in the history
  • Loading branch information
danirus committed Nov 26, 2024
1 parent ae89f88 commit b8c66af
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
author = 'Daniela Rus Morales'

release_pattern_url = (
"https://sphinx-colorschemed-images.readthedocs.io/en/{release}/"
"https://sphinx-colorschemed-images.readthedocs.io/{release}/"
)

release = sphinx_colorschemed_images.__version__
Expand Down Expand Up @@ -65,11 +65,11 @@
"repository_url": "https://github.com/danirus/sphinx-colorschemed-images",
"repository_name": "sphinx-colorschemed-images",

"current_version": f"v{release}",
"versions": [
("v%s" % item, release_pattern_url.format(release=item))
for item in releases
],
# "current_version": f"v{release}",
# "versions": [
# ("v%s" % item, release_pattern_url.format(release=item))
# for item in releases
# ],

"header_links": [
{
Expand Down

0 comments on commit b8c66af

Please sign in to comment.