mkdocs-include-exclude-files-0.1.0
توضیحات
Modify which files MkDocs includes or excludes.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | mkdocs-include-exclude-files-0.1.0 |
| نام | mkdocs-include-exclude-files |
| نسخه کتابخانه | 0.1.0 |
| نگهدارنده | ['Patrick Kidger'] |
| ایمیل نگهدارنده | ['contact@kidger.site'] |
| نویسنده | Patrick Kidger |
| ایمیل نویسنده | contact@kidger.site |
| آدرس صفحه اصلی | https://github.com/patrick-kidger/mkdocs_include_exclude_files |
| آدرس اینترنتی | https://pypi.org/project/mkdocs-include-exclude-files/ |
| مجوز | Apache-2.0 |
# mkdocs_include_exclude_files
By default, mkdocs copies everything it can find in the `docs_dir` directory that doesn't start with a `.`
This plugin allows for customising that.
## Installation
```bash
pip install mkdocs_include_exclude_files
```
Requires MkDocs 1.2.3+ and Python 3.8+
## Usage
In `mkdocs.yml`:
```
plugins:
- search # default plugin, need to re-enable when using manual plugins
- include_exclude_files:
- include:
- ".some_file"
- ".anotherfile"
- exclude
- "some_folder"
- "anotherfolder"
```
Every file exactly matching those in `include` will be included. Any file whose location *starts with* anything in `exclude` will be excluded.
نیازمندی
| مقدار | نام |
|---|---|
| - | mkdocs>=1.2.3 |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| ~=3.8 | Python |
نحوه نصب
نصب پکیج whl mkdocs-include-exclude-files-0.1.0:
pip install mkdocs-include-exclude-files-0.1.0.whl
نصب پکیج tar.gz mkdocs-include-exclude-files-0.1.0:
pip install mkdocs-include-exclude-files-0.1.0.tar.gz