|
128 | 128 | # output. They are ignored by default.
|
129 | 129 | # show_authors = False
|
130 | 130 |
|
131 |
| -# The name of the Pygments (syntax highlighting) style to use. |
132 |
| -pygments_style = 'sphinx' |
133 |
| - |
134 | 131 | # A list of ignored prefixes for module index sorting.
|
135 | 132 | # modindex_common_prefix = []
|
136 | 133 |
|
|
147 | 144 |
|
148 | 145 | # The theme to use for HTML and HTML Help pages. Major themes that come with
|
149 | 146 | # Sphinx are currently 'default' and 'sphinxdoc'.
|
150 |
| -html_theme = "pypa_theme" |
| 147 | +html_theme = "furo" |
151 | 148 |
|
152 | 149 | # Theme options are theme-specific and customize the look and feel of a theme
|
153 | 150 | # further. For a list of options available for each theme, see the
|
154 | 151 | # documentation.
|
155 |
| -html_theme_options = { |
156 |
| - 'collapsiblesidebar': True, |
157 |
| - 'externalrefs': True, |
158 |
| - 'navigation_depth': 3, |
159 |
| - 'issues_url': 'https://github.com/pypa/pip/issues', |
160 |
| - 'codebgcolor': '#eeffcc', |
161 |
| - 'codetextcolor': '#333333', |
162 |
| -} |
| 152 | +html_theme_options = {} |
163 | 153 |
|
164 | 154 | # Add any paths that contain custom themes here, relative to this directory.
|
165 | 155 |
|
166 | 156 | # The name for this set of Sphinx documents. If None, it defaults to
|
167 | 157 | # "<project> v<release> documentation".
|
168 |
| -# html_title = None |
| 158 | +html_title = f"{project} documentation v{release}" |
169 | 159 |
|
170 | 160 | # A shorter title for the navigation bar. Default is the same as html_title.
|
171 | 161 | # html_short_title = None
|
|
182 | 172 | # Add any paths that contain custom static files (such as style sheets) here,
|
183 | 173 | # relative to this directory. They are copied after the builtin static files,
|
184 | 174 | # so a file named "default.css" will overwrite the builtin "default.css".
|
185 |
| -html_static_path = ['_static'] |
| 175 | +html_static_path = [] |
186 | 176 |
|
187 | 177 | # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
|
188 | 178 | # using the given strftime format.
|
|
205 | 195 | smartquotes_action = "qe"
|
206 | 196 |
|
207 | 197 | # Custom sidebar templates, maps document names to template names.
|
208 |
| -html_sidebars = { |
209 |
| - '**': ['localtoc.html', 'relations.html'], |
210 |
| - 'index': ['localtoc.html'] |
211 |
| -} |
| 198 | +html_sidebars = {} |
212 | 199 |
|
213 | 200 | # Additional templates that should be rendered to pages, maps page names to
|
214 | 201 | # template names.
|
@@ -322,7 +309,7 @@ def to_document_name(path, base_dir):
|
322 | 309 | docs_feedback_big_doc_lines = 50 # bigger docs will have a banner on top
|
323 | 310 | docs_feedback_email = 'Docs UX Team <docs-feedback+ux/[email protected]>'
|
324 | 311 | docs_feedback_excluded_documents = { # these won't have any banners
|
325 |
| - 'news', |
| 312 | + 'news', 'reference/index', |
326 | 313 | }
|
327 | 314 | docs_feedback_questions_list = (
|
328 | 315 | 'What problem were you trying to solve when you came to this page?',
|
|
0 commit comments