From 2745732cfd01cdaacc57320c870df34ebee9c9c9 Mon Sep 17 00:00:00 2001 From: George Melikov Date: Fri, 22 May 2020 09:41:31 +0300 Subject: [PATCH] Change link `View page source` to open file in github Signed-off-by: George Melikov --- docs/conf.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index ec2fb46..abec185 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -108,6 +108,10 @@ html_context = { 'css_files': [ '_static/css/theme_overrides.css', # override wide tables in RTD theme ], + 'display_github': True, + 'github_user': 'openzfs', + 'github_repo': 'openzfs-docs', + 'github_version': 'master/docs/' } # Custom sidebar templates, must be a dictionary that maps document names