From 860beac64c3741234e548f177ee7e2d45b132de1 Mon Sep 17 00:00:00 2001 From: Tim Vink Date: Mon, 21 Sep 2020 21:34:47 +0200 Subject: [PATCH] Set default add_cover_page to False --- docs/options.md | 2 +- mkdocs_print_site_plugin/plugin.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/options.md b/docs/options.md index b0f86e1..ab32335 100644 --- a/docs/options.md +++ b/docs/options.md @@ -41,7 +41,7 @@ Default `false`. This will add numbering to all figure captions (for example "Fi ## `add_cover_page` -Default `true`. When enabled, a cover page is added to the print page, displaying the `site_title` and other information from the `mkdocs.yml` file. See also [Customizing the cover page](cover_page.md) +Default `false`. When enabled, a cover page is added to the print page, displaying the `site_title` and other information from the `mkdocs.yml` file. See also [Customizing the cover page](cover_page.md) ## `cover_page_template` diff --git a/mkdocs_print_site_plugin/plugin.py b/mkdocs_print_site_plugin/plugin.py index e79b74d..3a6dc41 100644 --- a/mkdocs_print_site_plugin/plugin.py +++ b/mkdocs_print_site_plugin/plugin.py @@ -26,7 +26,7 @@ class PrintSitePlugin(BasePlugin): ("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)), - ("add_cover_page", config_options.Type(bool, default=True)), + ("add_cover_page", config_options.Type(bool, default=False)), ("cover_page_template", config_options.Type(str, default="")), )