aboutsummaryrefslogtreecommitdiffhomepage
path: root/mkdocs.yml
diff options
context:
space:
mode:
authornodiscc <nodiscc@gmail.com>2018-08-30 19:36:22 +0200
committernodiscc <nodiscc@gmail.com>2018-09-09 16:21:03 +0200
commit2b4f391559586af734d5d5cb5886aa78c4f9557d (patch)
treed5a01fc5fa08a08b7f5082205751cc14c97205fc /mkdocs.yml
parentf28b73b21f705102f8536cd16ea28122aa870e49 (diff)
downloadShaarli-2b4f391559586af734d5d5cb5886aa78c4f9557d.tar.gz
Shaarli-2b4f391559586af734d5d5cb5886aa78c4f9557d.tar.zst
Shaarli-2b4f391559586af734d5d5cb5886aa78c4f9557d.zip
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 '<meta name="robots" content="noindex, nofollow">' HTML tag on each page - Do not include robots directive on readthedocs.org, only in local builds
Diffstat (limited to 'mkdocs.yml')
-rw-r--r--mkdocs.yml4
1 files changed, 3 insertions, 1 deletions
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
2repo_url: https://github.com/shaarli/Shaarli 2repo_url: https://github.com/shaarli/Shaarli
3edit_uri: edit/master/doc/md 3edit_uri: edit/master/doc/md
4site_description: The personal, minimalist, super-fast, database free, bookmarking service 4site_description: The personal, minimalist, super-fast, database free, bookmarking service
5theme: readthedocs 5theme:
6 name: readthedocs
7 custom_dir: doc/custom_theme/
6docs_dir: doc/md 8docs_dir: doc/md
7site_dir: doc/html 9site_dir: doc/html
8# Disable strict mode until ReadTheDocs provides up-to-date MkDocs settings: 10# Disable strict mode until ReadTheDocs provides up-to-date MkDocs settings: