Skip to content

Commit ec370d0

Browse files
authored
Docs: recover "Edit on GitHub" links (#11681)
1 parent 16ee577 commit ec370d0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,10 @@
173173
# TODO: remove once we support different rtd config
174174
# files per project.
175175
"conf_py_path": f"/docs/{docset}/",
176+
"display_github": True,
177+
"github_user": "readthedocs",
178+
"github_repo": "readthedocs.org",
179+
"github_version": "main",
176180
# Use to generate the Plausible "data-domain" attribute from the template
177181
"plausible_domain": f"{os.environ.get('READTHEDOCS_PROJECT')}.readthedocs.io",
178182
}

0 commit comments

Comments
 (0)