Skip to content

Commit

Permalink
replace view source with edit button
Browse files Browse the repository at this point in the history
  • Loading branch information
devbence committed May 4, 2024
1 parent ade63db commit 2da0aee
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
langs = ["en"]
langs += os.listdir("../locales")

html_show_sourcelink = False

# get the environment variable build_all_docs and pages_root
build_all_docs = os.environ.get("build_all_docs", str(True))
pages_root = os.environ.get("pages_root", "https://docs.stayintarkov.com")
Expand All @@ -48,6 +50,11 @@
'languages' : [],
'current_version' : current_version,
'versions' : [],
"display_github": True,
"github_user": "StayInTarkov",
"github_repo": "SIT.Documentation",
"conf_py_path": "/docs/source/",
"github_version": "main"
}

# Checks if we are currently building the latest version, and if so, appends only the lang identifier to the language redirects from all avalible locales
Expand Down

0 comments on commit 2da0aee

Please sign in to comment.