|
29 | 29 |
|
30 | 30 | # Add any Sphinx extension module names here, as strings. They can be extensions |
31 | 31 | # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. |
32 | | -extensions = ['sphinx.ext.intersphinx', 'sphinx.ext.todo'] |
| 32 | +extensions = ['sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx_copybutton'] |
33 | 33 | intersphinx_mapping = {'python': ('https://docs.python.org/3', None)} |
34 | 34 | todo_include_todos = True |
35 | 35 |
|
|
93 | 93 | # -- Options for HTML output --------------------------------------------------- |
94 | 94 |
|
95 | 95 | # Use the upstream python-docs-theme |
96 | | -html_theme = 'python_docs_theme' |
97 | | -html_theme_options = { |
98 | | - 'collapsiblesidebar': True, |
99 | | - 'issues_url': 'https://github.com/python/devguide/issues/new', |
100 | | -} |
| 96 | +html_theme = 'furo' |
| 97 | +html_theme_options = {} |
101 | 98 |
|
102 | 99 |
|
103 | 100 | # The name for this set of Sphinx documents. If None, it defaults to |
|
107 | 104 | # Path to find HTML templates. |
108 | 105 | templates_path = ['tools/templates'] |
109 | 106 |
|
110 | | -# Custom sidebar templates, filenames relative to this file. |
111 | | -html_sidebars = { |
112 | | - # Defaults taken from http://www.sphinx-doc.org/en/stable/config.html#confval-html_sidebars |
113 | | - # Removes the quick search block |
114 | | - '**': ['localtoc.html', 'globaltoc.html', 'relations.html', 'customsourcelink.html'], |
115 | | -} |
116 | | - |
117 | 107 | # Additional static files. |
118 | 108 | html_static_path = ['tools/static'] |
119 | 109 |
|
|
122 | 112 |
|
123 | 113 | # The name of an image file (relative to this directory) to place at the top |
124 | 114 | # of the sidebar. |
125 | | -#html_logo = None |
| 115 | +html_logo = "python-logo.png" |
126 | 116 |
|
127 | 117 | # The name of an image file (within the static path) to use as favicon of the |
128 | 118 | # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 |
|
0 commit comments