@@ -46,9 +46,8 @@ The options are:
4646
4747* `'google_analytics' ` : str, your Google analytics ID, if any.
4848* `'nav_links' ` : tuple list, a list of ('Link display name', 'local.file'), contains the links to the local documentation, in the top navigation bar.
49- * `'external_nav_links' ` : same as above but contains external links.
50- * `'external_nav_links_dropdown' ` : same as above but contains multiple links in a dropdown.
51- In that case, `'external_nav_links_dropdown_title' ` indicates the text of the dropdown button.
49+ if the link starts with 'http', it will be considered as an external link.
50+ * `'nav_dropdowns' ` : same as above but contains multiple links in a dropdown.
5251
5352
5453**Example: **
@@ -58,13 +57,13 @@ The options are:
5857 html_theme_options = {
5958 'google_analytics' : 'YOUR_GOOGLE_ANALYTICS_ID',
6059 'nav_links' : [('Install', 'installation'),
61- ('User Guide', 'user_guide/index')]
62- 'external_nav_links' : [ ('TensorLy', 'https://github.com/tensorly/tensorly'),
63- ('TensorLy-Torch', 'https://github.com/tensorly/torch')],
64- 'external_nav_links_dropdown_title ': 'LinksInDropdown',
65- 'external_nav_links_dropdown' : [ ('TensorLy', 'http://tensorly.org/dev '),
66- ('TensorLy-Viz ', 'http://tensorly.org/viz'),
67- ('TensorLy-Quantum', 'http://tensorly.org/quantum' )],
60+ ('User Guide', 'user_guide/index'),
61+ ('TensorLy', 'https://github.com/tensorly/tensorly'),
62+ ('TensorLy-Torch', 'https://github.com/tensorly/torch')],
63+ 'nav_dropdowns ': [( 'LinksInDropdown', [('TensorLy', 'http://tensorly.org/dev') ,
64+ ('TensorLy-Viz ', 'http://tensorly.org/viz '),
65+ ('TensorLy-Quantum ', 'http://tensorly.org/quantum')]
66+ )],
6867 }
6968
7069
0 commit comments