|
69 | 69 |
|
70 | 70 | # The suffix(es) of source filenames. |
71 | 71 | # You can specify multiple suffix as a list of string: |
72 | | -source_suffix = { |
73 | | - '.rst': None, |
74 | | - '.md': None, |
75 | | -} |
| 72 | +source_suffix = ['.rst', '.md'] |
76 | 73 |
|
77 | 74 | # The master toctree document. |
78 | 75 | master_doc = 'index' |
|
135 | 132 | # The theme to use for HTML and HTML Help pages. See the documentation for |
136 | 133 | # a list of builtin themes. |
137 | 134 | # |
138 | | -html_theme = 'sphinx_rtd_theme' |
| 135 | +html_theme = 'furo' |
139 | 136 |
|
140 | 137 | # Theme options are theme-specific and customize the look and feel of a theme |
141 | 138 | # further. For a list of options available for each theme, see the |
142 | 139 | # documentation. |
143 | 140 | # |
144 | | -# html_theme_options = {} |
| 141 | +html_theme_options = { |
| 142 | + "sidebar_hide_name": True, |
| 143 | + "light_css_variables": { |
| 144 | + "color-brand-primary": "#2563eb", |
| 145 | + "color-brand-content": "#2563eb", |
| 146 | + }, |
| 147 | + "dark_css_variables": { |
| 148 | + "color-brand-primary": "#3b82f6", |
| 149 | + "color-brand-content": "#3b82f6", |
| 150 | + }, |
| 151 | +} |
145 | 152 |
|
146 | 153 | # Add any paths that contain custom static files (such as style sheets) here, |
147 | 154 | # relative to this directory. They are copied after the builtin static files, |
148 | 155 | # so a file named "default.css" will overwrite the builtin "default.css". |
149 | 156 | html_static_path = ['_static'] |
150 | 157 |
|
151 | | -# Custom sidebar templates, must be a dictionary that maps document names |
152 | | -# to template names. |
153 | | -# |
154 | | -# This is required for the alabaster theme |
155 | | -# refs: http://alabaster.readthedocs.io/en/latest/installation.html#sidebars |
156 | | -html_sidebars = { |
157 | | - '**': [ |
158 | | - 'about.html', |
159 | | - 'navigation.html', |
160 | | - 'relations.html', # needs 'show_related': True theme option to display |
161 | | - 'searchbox.html', |
162 | | - 'donate.html', |
163 | | - ] |
164 | | -} |
| 158 | +# Furo doesn't need custom sidebar configuration |
| 159 | +# html_sidebars = {} |
165 | 160 |
|
166 | 161 |
|
167 | 162 | # -- Options for HTMLHelp output ------------------------------------------ |
|
0 commit comments