Skip to content

Commit c51abf3

Browse files
authored
Make furo more content-full (wemake-services#3534)
1 parent 09ac1bb commit c51abf3

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

docs/conf.py

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -109,22 +109,11 @@ def _get_project_meta():
109109
# a list of builtin themes.
110110
html_theme = 'furo'
111111

112-
# Theme options are theme-specific and customize the look and feel of a theme
113-
# further. For a list of options available for each theme, see the
114-
# documentation.
115-
html_theme_options = {}
116-
117-
# Add any paths that contain custom static files (such as style sheets) here,
118-
# relative to this directory. They are copied after the builtin static files,
119-
# so a file named "default.css" will overwrite the builtin "default.css".
120-
html_static_path = ['_static']
121-
122-
# Custom sidebar templates, must be a dictionary that maps document names
123-
# to template names.
124-
#
125-
# This is required for the alabaster theme
126-
# refs: http://alabaster.readthedocs.io/en/latest/installation.html#sidebars
127-
html_sidebars = {}
112+
html_theme_options = {
113+
'source_repository': str(pkg_meta['urls']['Repository']),
114+
'source_branch': 'master',
115+
'source_directory': 'docs/',
116+
}
128117

129118
# -- Extension configuration -------------------------------------------------
130119

0 commit comments

Comments
 (0)