Browse Source

[docs] Set theme (sidebar) options

Part of an effort to standardize the appearance of the sidebar in subprojects. Settings chosen based on docs.nextstrain.org.
master
james hadfield 1 year ago
parent
commit
6d47ae1069
  1. 8
      docs/conf.py
  2. 3
      docs/index.rst

8
docs/conf.py

@ -57,12 +57,12 @@ html_theme = 'nextstrain-sphinx-theme'
html_static_path = ['_static']
html_theme_options = {
'display_version': False,
'logo_only': True,
'collapse_navigation': False,
'titles_only': True,
'logo_only': False, # if True, don't display project name at top of the sidebar
'collapse_navigation': False, # if True, no [+] icons in sidebar
'titles_only': True, # if True, page subheadings not included in nav
}
# -- Cross-project references ------------------------------------------------
intersphinx_mapping = {

3
docs/index.rst

@ -57,8 +57,9 @@ Source code to Nextstrain is made available under the terms of the `GNU Affero G
.. toctree::
:hidden:
:maxdepth: 2
:caption: Table of contents
:name: mastertoc
:titlesonly:
:caption: Auspice
self
introduction/index

Loading…
Cancel
Save