foliantcontrib.removeexcess-1.0.0
توضیحات
Preprocessor for Foliant to remove excessive Markdown files before build.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | foliantcontrib.removeexcess-1.0.0 |
| نام | foliantcontrib.removeexcess |
| نسخه کتابخانه | 1.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Artemy Lomov |
| ایمیل نویسنده | artemy@lomov.ru |
| آدرس صفحه اصلی | https://github.com/foliant-docs/foliantcontrib.removeexcess |
| آدرس اینترنتی | https://pypi.org/project/foliantcontrib.removeexcess/ |
| مجوز | MIT |
# RemoveExcess
RemoveExcess is a preprocessor that removes unnecessary Markdown files that are not mentioned in the project’s `chapters`, from the temporary working directory.
## Installation
```bash
$ pip install foliantcontrib.removeexcess
```
## Config
To enable the preprocessor, add `removeexcess` to `preprocessors` section in the project config:
```yaml
preprocessors:
- removeexcess
```
The preprocessor has no options.
## Usage
By default, all preprocessors are applied to each Markdown source file copied into the temporary working directory.
Often it’s needed not to include some files to the project’s `chapters`. But anyway, preprocessors will be applied to all source files, that will take extra time and may cause extra errors. Also, extra files may pass to backends that might be undesirable for security reasons.
When RemoveExcess preprocessor is enabled, unnecessary files will be deleted. Decide at your discretion to which place in the preprocessor queue to put it.
نیازمندی
| مقدار | نام |
|---|---|
| >=1.0.8 | foliant |
نحوه نصب
نصب پکیج whl foliantcontrib.removeexcess-1.0.0:
pip install foliantcontrib.removeexcess-1.0.0.whl
نصب پکیج tar.gz foliantcontrib.removeexcess-1.0.0:
pip install foliantcontrib.removeexcess-1.0.0.tar.gz