-
-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
Situation
The following mkdocs.yml:
site_name: test
theme:
name: "material"
plugins:
- search
- print-site:
add_table_of_contents: false
still renders the table of contents on the print_page.html. This is using Python 3.11, as well as:
mkdocs 1.6.1
mkdocs-get-deps 0.2.0
mkdocs-material 9.6.14
mkdocs-material-extensions 1.3.1
mkdocs-print-site-plugin 2.7.3
Expectation
By setting add_table_of_contents: false the table of contents should disappear.
My guess
I clicked around a bit and it seems that the HTML element md-sidebar--secondary is to blame. According to this issue the toc is always enabled and can only through a hack be disable globally.
Metadata
Metadata
Assignees
Labels
No labels