foliantcontrib.checksources-1.0.0
توضیحات
Foliant preprocessor that checks the project for missing and unmentioned files.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | foliantcontrib.checksources-1.0.0 |
| نام | foliantcontrib.checksources |
| نسخه کتابخانه | 1.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | foliant-docs |
| ایمیل نویسنده | foliant-shared@yandex.ru |
| آدرس صفحه اصلی | https://github.com/foliant-docs/foliantcontrib.checksources |
| آدرس اینترنتی | https://pypi.org/project/foliantcontrib.checksources/ |
| مجوز | MIT |
# CheckSources
CheckSources is a preprocessor that checks the project’s `chapters` for missing and unmentioned files in the sources directory.
## Installation
```bash
$ pip install foliantcontrib.checksources
```
## Usage
To enable the preprocessor, add `checksources` to `preprocessors` section in the project config:
```yaml
preprocessors:
- checksources
```
You can add a list of unmentioned files that wouldn't throw warnings by `not_in_chapters` option:
```yaml
preprocessors:
- checksources:
not_in_chapters:
- tags.md
```
It is useful if you don't need to add some files to the table of contents.
نیازمندی
| مقدار | نام |
|---|---|
| >=1.0.8 | foliant |
| ==1.0.3 | foliantcontrib.utils |
نحوه نصب
نصب پکیج whl foliantcontrib.checksources-1.0.0:
pip install foliantcontrib.checksources-1.0.0.whl
نصب پکیج tar.gz foliantcontrib.checksources-1.0.0:
pip install foliantcontrib.checksources-1.0.0.tar.gz