From 2b4f391559586af734d5d5cb5886aa78c4f9557d Mon Sep 17 00:00:00 2001 From: nodiscc Date: Thu, 30 Aug 2018 19:36:22 +0200 Subject: add "noindex, nofollow" HTML robots meta-tag to documentation pages - Customize the "readthedocs" mkdocs theme: https://www.mkdocs.org/user-guide/styling-your-docs/#customizing-a-theme - Adds a '' HTML tag on each page - Do not include robots directive on readthedocs.org, only in local builds --- mkdocs.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mkdocs.yml') diff --git a/mkdocs.yml b/mkdocs.yml index 941fce3a..248fdbfe 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -2,7 +2,9 @@ site_name: Shaarli Documentation repo_url: https://github.com/shaarli/Shaarli edit_uri: edit/master/doc/md site_description: The personal, minimalist, super-fast, database free, bookmarking service -theme: readthedocs +theme: + name: readthedocs + custom_dir: doc/custom_theme/ docs_dir: doc/md site_dir: doc/html # Disable strict mode until ReadTheDocs provides up-to-date MkDocs settings: -- cgit v1.2.3