@@ -120,7 +120,7 @@ the ``html_theme_options`` dictionary in your ``conf.py`` file.
120
120
121
121
``google_analytics_tracking_id ``
122
122
Google Analytics tracking ID to enable website analytics.
123
-
123
+
124
124
``github_repo ``
125
125
The GitHub organization and repository associated with the documentation. E.g.,
126
126
for a GitHub repository https://github.com/Organization/repo, this should be
@@ -155,21 +155,22 @@ The following options customize the appearance of the navigation bar.
155
155
156
156
``navbar_left_links ``
157
157
Links on the LHS of the navigation bar in the form of a list of dictionaries
158
- with the ``"name" ``, ``"href" ``, and optionally, ``"active" `` keys. In addition,
159
- the ``"img" `` key can be used to specify an image for the navbar link,
160
- alongside ``"img_width" `` to specify the width of the image.
158
+ with the ``"name" ``, ``"href" ``, and optionally, ``"external" `` and
159
+ ``"dropdown" `` keys.
161
160
162
- ``navbar_right_links ``
163
- Links on the RHS of the navigation bar in the form of a list of dictionaries
164
- with the ``"name" `` and ``"href" `` keys.
161
+ The ``"external" `` key only determines if an "external link" icon should be
162
+ displayed next to the name of the link in the navbar. Otherwise, the value
163
+ of the ``"dropdown" `` key is another list of dictionaries of the same form
164
+ (except for the ``"dropdown" `` key) and specifies the links which should be
165
+ displayed in a dropdrown from the current link.
165
166
166
- Footer
167
- ------
168
-
169
- The following options customize the appearance of the footer.
167
+ In addition, the ``"img" `` key can be used to specify an image to replace
168
+ the navbar link, alongside ``"img_width" `` to specify the width of the image.
170
169
171
- ``extra_copyrights ``
172
- List of extra copyright notices to place in the footer.
170
+ ``navbar_right_links ``
171
+ Links on the RHS of the navigation bar in the form of a list of dictionaries
172
+ with the ``"name" ``, ``"href" ``, and optionally, ``"icon" `` keys. If a link
173
+ does not have an ``"icon" `` key, it will be displayed as a solid button.
173
174
174
175
Table of contents
175
176
-----------------
@@ -184,11 +185,6 @@ The following options customize the table of contents.
184
185
Whether to show the global table of contents by default via the left sidebar.
185
186
If ``False ``, then the left sidebar will be disabled.
186
187
187
- ``toc_hover ``
188
- Whether hovering over the active navbar link (or navbar logo if there is
189
- no active navbar link) will show the global table of contents as a dropdown.
190
- Only applies if ``toc_global=False ``.
191
-
192
188
``toc_subset ``
193
189
If set to ``True ``, and the current page has no local table of contents,
194
190
the right-hand table of contents will instead display the current subset
@@ -203,9 +199,25 @@ The following options customize the table of contents.
203
199
Footer
204
200
------
205
201
202
+
203
+ The following options customize the appearance of the footer.
204
+
205
+ ``extra_copyrights ``
206
+ List of extra copyright notices to place in the footer.
207
+
206
208
``footer_about ``
207
- A dictionary of the form ``{"title": ..., "description": ...} `` that specifies
208
- the 'About' section of the footer. Set to an empty dictionary to remove.
209
+ A dictionary of the form
210
+
211
+ .. code-block :: python
212
+
213
+ " footer_about" : {
214
+ " title" : " Title" ,
215
+ " icon" : " https://..." ,
216
+ " href" : " https://..." ,
217
+ " description" : " Description"
218
+ }
219
+
220
+ that specifies the 'About' section of the footer.
209
221
210
222
``footer_links ``
211
223
A list of dictionaries of the form
@@ -235,13 +247,12 @@ Footer
235
247
that specifies footer links. Each top-level dictionary in the list is a
236
248
separate titled column. Set to an empty list to remove.
237
249
238
-
239
- ``footer_socials ``
250
+ ``footer_social_icons ``
240
251
A list of dictionaries of the form
241
252
242
253
.. code-block :: python
243
254
244
- " footer_socials " : [
255
+ " footer_social_icons " : [
245
256
{
246
257
" icon" : " fab fa-twitter" ,
247
258
" href" : " https://twitter.com/xanaduai"
@@ -256,10 +267,45 @@ Footer
256
267
specifying social media icons. ``icon `` should correspond to a FontAwesome5 icon.
257
268
Set to an empty list to remove.
258
269
259
- ``footer_tagline ``
260
- A dictionary of the form ``{"text": "Some text", "href": "https://..."} `` specifying
261
- a tagline hyperlink that appears underneath the social media icons. Set to an
262
- empty dictionary to remove.
270
+ ``footer_taglines ``
271
+ A list of dictionaries of the form
272
+
273
+ .. code-block :: python
274
+
275
+ " footer_taglines" : [
276
+ {
277
+ " text" : " Some text" ,
278
+ " href" : " https://..."
279
+ },
280
+ {
281
+ " icon" : " Some more text" ,
282
+ " href" : " https://..."
283
+ },
284
+ ...
285
+ ]
286
+
287
+ specifying tagline hyperlinks that appear underneath the social media icons.
288
+ Set to an empty list to remove.
289
+
290
+ ``footer_policies ``
291
+ A list of dictionaries of the form
292
+
293
+ .. code-block :: python
294
+
295
+ " footer_policies" : [
296
+ {
297
+ " text" : " Some text" ,
298
+ " href" : " https://..."
299
+ },
300
+ {
301
+ " icon" : " Some more text" ,
302
+ " href" : " https://..."
303
+ },
304
+ ...
305
+ ]
306
+
307
+ specifying policy hyperlinks that appear at the bottom of the footer. Set to
308
+ an empty list to remove.
263
309
264
310
Style Colours
265
311
-------------
@@ -278,6 +324,9 @@ These should be fully qualified CSS color specifiers such as ``#004B6B`` or
278
324
Colours of the "Next" and "Previous" navigation buttons located at the
279
325
bottom of most pages.
280
326
327
+ ``social_icon_colour ``
328
+ Colour of the social icons.
329
+
281
330
``table_header_background_colour ``
282
331
Background colour of table headers.
283
332
@@ -287,6 +336,9 @@ These should be fully qualified CSS color specifiers such as ``#004B6B`` or
287
336
``toc_marker_colour ``
288
337
Colour of the marker beside the current ToC entry.
289
338
339
+ ``toc_mobile_heading_colour `` and ``toc_mobile_heading_background_colour ``
340
+ Text and background colours of the mobile ToC heading.
341
+
290
342
.. configuration-end-inclusion-marker-do-not-remove
291
343
292
344
Directives
0 commit comments