Skip to content

Commit

Permalink
DOC: fix the inclusion of the custom css file
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisvandenbossche authored and kbevers committed Sep 17, 2021
1 parent a0de673 commit 15a619c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/source/conf.py
Expand Up @@ -196,16 +196,17 @@ def setup(app):
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']

htm_css_files = [
'theme_overrides.css', # override wide tables in RTD theme
]

html_context = {
'display_github': True,
'theme_vcs_pageview_mode': 'edit',
'github_user': 'OSGeo',
'github_repo': 'PROJ',
# TODO: edit when switching active branch
'github_version': '/8.1/docs/source/',
'css_files': [
'_static/theme_overrides.css', # override wide tables in RTD theme
],
}

# Add any extra paths that contain custom files (such as robots.txt or
Expand Down

0 comments on commit 15a619c

Please sign in to comment.