@@ -233,12 +233,12 @@ By default, the following configuration is used:
233
233
.. code-block :: python
234
234
235
235
html_theme_options = {
236
- ...
236
+ # ...
237
237
" navbar_start" : [" navbar-logo" ],
238
238
" navbar_center" : [" navbar-nav" ],
239
239
" navbar_end" : [" navbar-icon-links" ],
240
240
" navbar_persistent" : [" search-button" ]
241
- ...
241
+ # ...
242
242
}
243
243
244
244
.. warning ::
@@ -254,9 +254,9 @@ page. This equals the following default configuration:
254
254
.. code-block :: python
255
255
256
256
html_theme_options = {
257
- ...
257
+ # ...
258
258
" navbar_align" : " content"
259
- ...
259
+ # ...
260
260
}
261
261
262
262
If instead you'd like these items to snap to the left (closer to the logo), use this
@@ -265,19 +265,19 @@ configuration:
265
265
.. code-block :: python
266
266
267
267
html_theme_options = {
268
- ...
268
+ # ...
269
269
" navbar_align" : " left"
270
- ...
270
+ # ...
271
271
}
272
272
273
273
If you'd like these items to snap to the right of the page, use this configuration:
274
274
275
275
.. code-block :: python
276
276
277
277
html_theme_options = {
278
- ...
278
+ # ...
279
279
" navbar_align" : " right"
280
- ...
280
+ # ...
281
281
}
282
282
283
283
@@ -350,9 +350,9 @@ By default, it has the following templates:
350
350
.. code-block :: python
351
351
352
352
html_theme_options = {
353
- ...
353
+ # ...
354
354
" primary_sidebar_end" : [" sidebar-ethical-ads" ],
355
- ...
355
+ # ...
356
356
}
357
357
358
358
Remove the primary sidebar from pages
@@ -410,9 +410,9 @@ By default, it has the following templates:
410
410
.. code-block :: python
411
411
412
412
html_theme_options = {
413
- ...
413
+ # ...
414
414
" secondary_sidebar_items" : [" page-toc" , " edit-this-page" , " sourcelink" ],
415
- ...
415
+ # ...
416
416
}
417
417
418
418
To learn how to further customize or remove the secondary sidebar, please check :doc: `page-toc `.
@@ -430,9 +430,9 @@ By default, it has the following templates:
430
430
.. code-block :: python
431
431
432
432
html_theme_options = {
433
- ...
433
+ # ...
434
434
" article_footer_items" : [" prev-next.html" ],
435
- ...
435
+ # ...
436
436
}
437
437
438
438
Hide the previous and next buttons
@@ -459,9 +459,9 @@ By default it is empty, but you can add templates to it with the following confi
459
459
.. code-block :: python
460
460
461
461
html_theme_options = {
462
- ...
462
+ # ...
463
463
" content_footer_items" : [" your-template.html" ],
464
- ...
464
+ # ...
465
465
}
466
466
467
467
.. _layout-footer :
@@ -479,9 +479,10 @@ By default, ``footer_end`` is empty, and ``footer_start`` has the following temp
479
479
.. code-block :: python
480
480
481
481
html_theme_options = {
482
- ...
483
- " footer_start" : [" copyright" , " sphinx-version" , " theme-version" ],
484
- ...
482
+ # ...
483
+ " footer_start" : [" copyright" , " sphinx-version" ],
484
+ " footer_end" : [" theme-version" ]
485
+ # ...
485
486
}
486
487
487
488
Within each subsection, components will stack **vertically **.
@@ -546,7 +547,7 @@ could do so with the following steps:
546
547
.. code-block :: python
547
548
548
549
html_theme_options = {
549
- ...
550
+ # ...
550
551
" navbar_start" : [" navbar-logo" , " version" ],
551
- ...
552
+ # ...
552
553
}
0 commit comments