]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: do not add suffix for search result links
authorKefu Chai <kchai@redhat.com>
Thu, 20 Feb 2020 06:34:01 +0000 (14:34 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 20 Feb 2020 06:44:11 +0000 (14:44 +0800)
since sphinx 1.5, SOURCELINK_SUFFIX is always added to the source file,
and search page always tries to add it to the highlighted source result.

Signed-off-by: Kefu Chai <kchai@redhat.com>
doc/conf.py

index 9149176bbda495a61ca13eb2692ce2f39373e748..b01e4d9f322034c52db9a292cff4c9133f3a9046 100644 (file)
@@ -33,6 +33,7 @@ else:
 
 pygments_style = 'sphinx'
 
+html_file_suffix = ''
 html_theme = 'ceph'
 html_theme_path = ['_themes']
 html_title = "Ceph Documentation"