Skip to content

Commit

Permalink
Update conf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Lulalaby committed Jun 9, 2022
1 parent 3738672 commit 2d16471
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
release = version

# This assumes a tag is available for final releases
branch = "master" if "a" in version or "b" in version else f"v{version}"
branch = "master" if "a" in version or "b" in version or "rc" in version else f"v{version}"

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down Expand Up @@ -174,7 +174,7 @@
"discord": "https://pycord.dev/discord",
"issues": "https://github.com/Pycord-Development/pycord/issues",
"discussions": "https://github.com/Pycord-Development/pycord/discussions",
"examples": f"https://github.com/Pycord-Development/pycord/tree/master/examples",
"examples": f"https://github.com/Pycord-Development/pycord/tree/{branch}/examples",
"guide": "https://guide.pycord.dev/",
}

Expand Down

0 comments on commit 2d16471

Please sign in to comment.