@@ -37,49 +37,49 @@ documentation navigation.
3737
3838.. confval :: collapse_navigation
3939
40+ With this enabled, navigation entries are not expandable -- the ``[+] ``
41+ icons next to each entry are removed.
42+
4043 :type: boolean
4144 :default: ``True ``
4245
43- With this enabled, navigation entries are not expandable -- the ``[+] ``
44- icons next to each entry are removed.
46+ .. note ::
47+ Setting :confval: `collapse_navigation ` to ``False `` and using a high value
48+ for :confval: `navigation_depth ` on projects with many files and a deep file
49+ structure can cause long compilation times and can result in HTML files that
50+ are significantly larger in file size.
4551
4652.. confval :: sticky_navigation
4753
54+ Scroll the navigation with the main page content as you scroll the page.
55+
4856 :type: boolean
4957 :default: ``True ``
5058
51- Scroll the navigation with the main page content as you scroll the page.
52-
5359.. confval :: navigation_depth
5460
55- :type: integer
56- :default: ``4 ``
57-
5861 The maximum depth of the table of contents tree. Set
5962 this to ``-1 `` to allow unlimited depth.
6063
61- .. confval :: includehidden
64+ :type: integer
65+ :default: ``4 ``
6266
63- :type: boolean
64- :default: ``True ``
67+ .. confval :: includehidden
6568
6669 Specifies if the navigation includes hidden table(s) of contents -- that is,
6770 any :rst:dir: `sphinx:toctree ` directive that is marked with the ``:hidden: ``
6871 option.
6972
70- .. confval :: titles_only
71-
7273 :type: boolean
73- :default: False
74+ :default: ``True ``
75+
76+ .. confval :: titles_only
7477
7578 When enabled, page subheadings are not included in the
7679 navigation.
7780
78- .. note ::
79- Setting :confval: `collapse_navigation ` to ``False `` and using a high value
80- for :confval: `navigation_depth ` on projects with many files and a deep file
81- structure can cause long compilation times and can result in HTML files that
82- are significantly larger in file size.
81+ :type: boolean
82+ :default: False
8383
8484.. _table of contents configuration options : http://www.sphinx-doc.org/en/stable/templating.html#toctree
8585
@@ -96,28 +96,28 @@ Miscellaneous options
9696
9797.. confval :: analytics_id
9898
99- :type: string
100-
10199 If specified, Google Analytics' javascript is included in your pages.
102100 Set the value to the ID provided to you by google (like ``UA-XXXXXXX ``).
103101
102+ :type: string
103+
104104.. confval :: analytics_anonymize_ip
105105
106+ Anonymize visitor IP addresses in Google Analytics.
107+
106108 :type: boolean
107109 :default: ``False ``
108110
109- Anonymize visitor IP addresses in Google Analytics.
110-
111111.. confval :: canonical_url
112112
113- :type: URL
114-
115113 This will specify a `canonical URL `_ meta link element to tell search
116114 engines which URL should be ranked as the primary URL for your
117115 documentation. This is important if you have multiple URLs that your
118116 documentation is available through. The URL points to the root path of the
119117 documentation and requires a trailing slash.
120118
119+ :type: URL
120+
121121 .. deprecated :: 0.6.0
122122
123123 Use :confval: `sphinx:html_baseurl ` instead.
@@ -126,51 +126,52 @@ Miscellaneous options
126126
127127.. confval :: display_version
128128
129+ If ``True ``, the version number is shown at the top of the sidebar.
130+
129131 :type: boolean
130132 :default: ``True ``
131133
132- If ``True ``, the version number is shown at the top of the sidebar.
133-
134134.. confval :: logo_only
135135
136- :type: boolean
137- :default: ``False ``
138-
139136 Only display the logo image, do not display the project name at the top of
140137 the sidebar
141138
142- .. confval :: prev_next_buttons_location
139+ :type: boolean
140+ :default: ``False ``
143141
144- :type: string
145- :default: ``bottom ``
142+ .. confval :: prev_next_buttons_location
146143
147144 Location to display :guilabel: `Next ` and :guilabel: `Previous ` buttons. This
148145 can be either ``bottom ``, ``top ``, ``both `` , or ``None ``.
149146
147+ :type: string
148+ :default: ``bottom ``
149+
150150.. confval :: style_external_links
151151
152+ Add an icon next to external links.
153+
152154 :type: boolean
153155 :default: ``False ``
154156
155- Add an icon next to external links.
156-
157157.. confval :: vcs_pageview_mode
158158
159- :type: string
160- :default: ``blob `` or ``view ``
161-
162159 Changes how to view files when using ``display_github ``, ``display_gitlab ``,
163160 etc. When using GitHub or GitLab this can be: ``blob `` (default), ``edit ``,
164161 or ``raw ``. On Bitbucket, this can be either: ``view `` (default) or
165162 ``edit ``.
166163
164+ :type: string
165+ :default: ``blob `` or ``view ``
166+
167167.. confval :: style_nav_header_background
168168
169+ Changes the background of the search area in the navigation bar. The value
170+ can be anything valid in a CSS `background ` property.
171+
169172 :type: string
170173 :default: ``#2980B9 ``
171174
172- Changes the background of the search area in the navigation bar. The value
173- can be anything valid in a CSS `background ` property.
174175
175176File-wide metadata
176177==================
@@ -190,7 +191,6 @@ The following options can be used as :ref:`file-wide metadata
190191
191192 Force the :guilabel: `Edit on GitLab ` button to use the configured URL.
192193
193-
194194Other configuration
195195===================
196196
0 commit comments