Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
# further. For a list of options available for each theme, see the
# documentation.
#
if os.environ.get("READTHEDOCS_VERSION_NAME", "trunk") != "trunk":
if os.environ.get("READTHEDOCS_VERSION_NAME", "trunk") not in ("trunk", "latest"):
# Remove the "Edit on GitHub" link for non-trunk versions of the docs
html_theme_options = {"top_of_page_buttons": []}

Expand Down
1 change: 1 addition & 0 deletions src/towncrier/newsfragments/597.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix readthedocs to keep the edit link for ``latest`` in addition to ``trunk``.