Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support excluding files #1017

Merged
merged 2 commits into from
Sep 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ mkdocs-git-revision-date-localized-plugin
weasyprint==52.5
mkdocs-with-pdf
qrcode
mkdocs-exclude