Update docs vars to work with RTD changes (#6410)

This commit is contained in:
Jakub Kuczys
2024-09-11 05:32:36 +02:00
committed by GitHub
parent d304da7a16
commit 005b8af10a
2 changed files with 4 additions and 1 deletions

View File

@@ -139,6 +139,9 @@ html_context = {
"github_user": "Cog-Creators",
"github_repo": "Red-DiscordBot",
"github_version": "V3/develop",
"version_slug": os.environ.get("READTHEDOCS_VERSION", ""),
"rtd_language": os.environ.get("READTHEDOCS_LANGUAGE", ""),
"READTHEDOCS": os.environ.get("READTHEDOCS", "") == "True",
}
# Add any paths that contain custom static files (such as style sheets) here,