You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.rst
+26-11Lines changed: 26 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,29 +87,44 @@ file of this repository, and can be defined in your project's ``conf.py`` via
87
87
.. code:: python
88
88
89
89
html_theme_options = {
90
-
'typekit_id': hiw1hhg,
91
-
'canonical_url':
92
-
'analytics_id':
93
-
'collapse_navigation': False
94
-
'sticky_navigation': False
95
-
'navigation_depth': 4
96
-
'includehidden': True
97
-
'logo_only':
98
-
'display_version': True
90
+
'typekit_id': '',
91
+
'canonical_url': '',
92
+
'analytics_id': '',
93
+
'logo_only': False,
94
+
'display_version': True,
99
95
'prev_next_buttons_location': bottom,
100
-
'style_external_links': False
96
+
'style_external_links': False,
97
+
# Toc options
98
+
'collapse_navigation': False,
99
+
'sticky_navigation': True,
100
+
'navigation_depth': 4,
101
+
'includehidden': True,
101
102
}
102
103
103
104
The following options are available:
104
105
106
+
Base options
107
+
~~~~~~~~~~~~
108
+
109
+
* ``typekit_id`` This will let users specify a typekit id to use for displaying nicer fonts.
105
110
* ``canonical_url`` This will specify a `canonical url <https://en.wikipedia.org/wiki/Canonical_link_element>`__
106
111
to let search engines know they should give higher ranking to latest version of the docs.
107
112
The url points to the root of the documentation and requires a trailing slash.
108
-
* ``includehidden`` Specifies if the global toctree includes toctrees marked with the `:hidden:` option
113
+
* ``analytics_id`` Change the Google Analytics ID that is included on pages.
114
+
* ``display_version`` With this disabled, the version number isn't shown at the top of the sidebar.
109
115
* ``prev_next_buttons_location`` can take the value ``bottom``, ``top``, ``both`` , or ``None``
110
116
and will display the "Next" and "Previous" buttons accordingly
111
117
* ``style_external_links`` Add an icon next to external links. Defaults to ``False``.
112
118
119
+
TOC Options
120
+
~~~~~~~~~~~
121
+
122
+
These effect how we display the Table of Contents in the side bar. You can read more about them here: http://www.sphinx-doc.org/en/stable/templating.html#toctree
123
+
124
+
* ``collapse_navigation`` With this enabled, you will lose the `[+]` drop downs next to each section in the sidebar. This is useful for _very large_ documents.
125
+
* ``sticky_navigation`` This causes the sidebar to scroll with the main page content as you scroll the page.
126
+
* ``includehidden`` Specifies if the sidebar includes toctrees marked with the `:hidden:` option
0 commit comments