aboutsummaryrefslogtreecommitdiff
path: root/docs/source
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-11-21 20:06:17 +0100
committerEven Rouault <even.rouault@spatialys.com>2019-11-22 13:30:00 +0100
commit8fd80245180edd4652d8db70ae5b3437c5fee3e1 (patch)
treef566b3e5e9a8f7a89146b1d85153497cdf307275 /docs/source
parente4045d66ec97bc010aff757e708f55e738a13c50 (diff)
downloadPROJ-8fd80245180edd4652d8db70ae5b3437c5fee3e1.tar.gz
PROJ-8fd80245180edd4652d8db70ae5b3437c5fee3e1.zip
Doc: configure the 'Edit on GitHub' button
Diffstat (limited to 'docs/source')
-rw-r--r--docs/source/conf.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/source/conf.py b/docs/source/conf.py
index 2978293d..1008b79e 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -171,6 +171,12 @@ html_logo = '../images/logo.png'
html_static_path = ['_static']
html_context = {
+ 'display_github': True,
+ 'theme_vcs_pageview_mode': 'edit',
+ 'github_user': 'OSGeo',
+ 'github_repo': 'PROJ',
+ # TODO: edit when switching active branch
+ 'github_version': '/6.2/docs/source/',
'css_files': [
'_static/theme_overrides.css', # override wide tables in RTD theme
],