|
88 | 88 | # |
89 | 89 | # This is also used if you do content translation via gettext catalogs. |
90 | 90 | # Usually you set "language" from the command line for these cases. |
91 | | -language = None |
| 91 | +language = 'en' |
92 | 92 |
|
93 | 93 | locale_dirs = ['../locales'] |
94 | 94 |
|
|
133 | 133 | # show_authors = False |
134 | 134 |
|
135 | 135 | # The name of the Pygments (syntax highlighting) style to use. |
136 | | -pygments_style = 'sphinx' |
| 136 | +#pygments_style = 'sphinx' |
137 | 137 |
|
138 | 138 | # A list of ignored prefixes for module index sorting. |
139 | 139 | # modindex_common_prefix = [] |
|
150 | 150 | # The theme to use for HTML and HTML Help pages. See the documentation for |
151 | 151 | # a list of builtin themes. |
152 | 152 | # |
153 | | -html_theme = 'pypa_theme' |
| 153 | +html_theme = 'furo' |
154 | 154 |
|
155 | 155 | # Theme options are theme-specific and customize the look and feel of a theme |
156 | 156 | # further. For a list of options available for each theme, see the |
157 | 157 | # documentation. |
158 | 158 | html_theme_options = { |
159 | | - 'collapsiblesidebar': True, |
160 | | - 'externalrefs': True, |
161 | | - 'navigation_depth': 2, |
162 | | - 'issues_url': github_repo_issues_url, |
| 159 | + "sidebar_hide_name": True, |
| 160 | + # 'issues_url': github_repo_issues_url, # FIXME: support this in furo? |
163 | 161 | } |
164 | 162 |
|
165 | 163 | # Add any paths that contain custom themes here, relative to this directory. |
|
183 | 181 | # the docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 |
184 | 182 | # pixels large. |
185 | 183 | # |
186 | | -# html_favicon = None |
| 184 | +html_favicon = 'assets/py.png' |
187 | 185 |
|
188 | 186 | # Add any paths that contain custom static files (such as style sheets) here, |
189 | 187 | # relative to this directory. They are copied after the builtin static files, |
|
211 | 209 | # |
212 | 210 |
|
213 | 211 | # Custom sidebar templates, filenames relative to this file. |
214 | | -html_sidebars = { |
215 | | - '**': ['globaltoc.html', 'relations.html'], |
216 | | - 'index': ['globaltoc.html'] |
217 | | -} |
| 212 | +# html_sidebars = { |
| 213 | +# '**': ['globaltoc.html', 'relations.html'], |
| 214 | +# 'index': ['globaltoc.html'] |
| 215 | +# } |
218 | 216 |
|
219 | 217 | # Additional templates that should be rendered to pages, maps page names to |
220 | 218 | # template names. |
|
379 | 377 |
|
380 | 378 | # -- Options for extlinks extension --------------------------------------- |
381 | 379 | extlinks = { |
382 | | - 'issue': (f'{github_repo_issues_url}/%s', '#'), # noqa: WPS323 |
383 | | - 'pr': (f'{github_repo_url}/pull/%s', 'PR #'), # noqa: WPS323 |
384 | | - 'commit': (f'{github_repo_url}/commit/%s', ''), # noqa: WPS323 |
385 | | - 'gh': (f'{github_url}/%s', 'GitHub: '), # noqa: WPS323 |
386 | | - 'user': (f'{github_sponsors_url}/%s', '@'), # noqa: WPS323 |
| 380 | + 'issue': (f'{github_repo_issues_url}/%s', '#%s'), # noqa: WPS323 |
| 381 | + 'pr': (f'{github_repo_url}/pull/%s', 'PR #%s'), # noqa: WPS323 |
| 382 | + 'commit': (f'{github_repo_url}/commit/%s', '%s'), # noqa: WPS323 |
| 383 | + 'gh': (f'{github_url}/%s', 'GitHub: %s'), # noqa: WPS323 |
| 384 | + 'user': (f'{github_sponsors_url}/%s', '@%s'), # noqa: WPS323 |
387 | 385 | } |
388 | 386 |
|
389 | 387 | linkcheck_ignore = [ |
|
0 commit comments