-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Toc inclusion not fully documented #97
Comments
Hi Anico2, Happy to hear the plugin is useful for you. The table of contents is auto-generated, if you have it enabled in the options (which is default):
So hit CTRL + P on the print site page to see the print preview of your table of contents |
Thank you very much for your reply. Yeah, i read that docs section. I left all the default configuration but I ended up with an empty page at the beginning of the pdf with only the 'TOC' header at the top. Since my project is only at the beginning, some pages in mkdocs raise 404 because they are still empty. Could this be the cause of the empty toc? Thank u |
I'm not sure how to help you. I recommend creating a new, small site ( |
It seems that the issue reported is related to a misunderstanding of the default configuration. According to my understanding, the items related to the numbering of titles and the creation of the index are in the following items: add_table_of_contents: true # add table of contents
toc_title: 'Index' # title of table of contents
toc_depth: 5 # depth of table of contents
enumerate_headings: true # enumerate headings h1-h5
add_cover_page: false # remove cover page from print site (first page) if true, a tpl and a path to cover_page_template option are needed
cover_page_template: "path_to_cover_page_template" # use in case add_cover_page is true |
Hi there,
thank you for this great plugin. I am experiencing some difficulties while trying to put the TOC in the pdf. Do I need to put it into an external file and load it? If yes, under which path and where to put the path? And in which format?
Sorry about this but I haven't found any example in the documentation. Could you please provide an example?
Thanks
The text was updated successfully, but these errors were encountered: