mirror of https://github.com/scrapy/scrapy.git
docs: Add Edit on GitHub (#7058)
This commit is contained in:
parent
393d715205
commit
f2531808f3
|
|
@ -68,6 +68,14 @@ html_css_files = [
|
|||
"custom.css",
|
||||
]
|
||||
|
||||
html_context = {
|
||||
"display_github": True,
|
||||
"github_user": "scrapy",
|
||||
"github_repo": "scrapy",
|
||||
"github_version": "master",
|
||||
"conf_py_path": "/docs/",
|
||||
}
|
||||
|
||||
# Set canonical URL from the Read the Docs Domain
|
||||
html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue