diff --git a/docs/options.md b/docs/options.md index eeadb6f..7e6118a 100644 --- a/docs/options.md +++ b/docs/options.md @@ -36,7 +36,7 @@ plugins: : Default is `'Table of Contents'`. When `add_table_of_contents` is set to `true` this setting controls the name of the table of contents. This setting is ignored when `add_table_of_contents` is set to `false`. `toc_depth` -: Default is `6`. When `add_table_of_contents` is set to `true` this setting controls the depth of the table of contents. This setting is ignored when `add_table_of_contents` is set to `false`. +: Default is `3`. When `add_table_of_contents` is set to `true` this setting controls the depth of the table of contents. This setting is ignored when `add_table_of_contents` is set to `false`. `add_full_urls` : Default is `false`. When printing a page, you cannot see the target of a link. This option adds the target url in parenthesis behind a link. diff --git a/mkdocs_print_site_plugin/plugin.py b/mkdocs_print_site_plugin/plugin.py index 77b4671..d9105aa 100644 --- a/mkdocs_print_site_plugin/plugin.py +++ b/mkdocs_print_site_plugin/plugin.py @@ -27,7 +27,7 @@ class PrintSitePlugin(BasePlugin): ("print_page_title", config_options.Type(str, default="Print Site")), ("add_table_of_contents", config_options.Type(bool, default=True)), ("toc_title", config_options.Type(str, default="Table of Contents")), - ("toc_depth", config_options.Type(int, default=6)), + ("toc_depth", config_options.Type(int, default=3)), ("add_full_urls", config_options.Type(bool, default=False)), ("enumerate_headings", config_options.Type(bool, default=False)), ("enumerate_figures", config_options.Type(bool, default=False)),