diff --git a/mkdocs.yml b/mkdocs.yml index 0e26571c2a..24976e9965 100755 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -470,6 +470,18 @@ plugins: - macros: include_dir: docs-2.0/reuse/ - git-revision-date-localized + + - exclude: +# Exclude files with unix-style wildcards (globs) + glob: +# Exclude all files in a directory. The path starts with the directory name in docs-2.0, such as `20.appendix/*`. + - 7.data-security/2.backup-restore/* +# Exclude the file with the following file name. +# - abc.md +# Exclude files with regular expressions (regexes) +# regex: +# - '.*\.(tmp|bin|tar)$' + - with-pdf: copyright: 2021 Vesoft Inc. cover_subtitle: master since master diff --git a/requirements.txt b/requirements.txt index e994d097ea..e09a155f4c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,3 +8,4 @@ mkdocs-git-revision-date-localized-plugin weasyprint==52.5 mkdocs-with-pdf qrcode +mkdocs-exclude