Skip to main content

Foliant preprocessor that checks the project for missing and unmentioned files.

Project description

CheckSources

CheckSources is a preprocessor that checks the project’s chapters for missing and unmentioned files in the sources directory.

Installation

$ pip install foliantcontrib.checksources

Usage

To enable the preprocessor, add checksources to preprocessors section in the project config:

preprocessors:
    - checksources

You can add a list of unmentioned files that wouldn't throw warnings by not_in_chapters option. To perform a strict check, use the strict_check option:

preprocessors:
    - checksources:
        not_in_chapters:
          - tags.md
        strict_check: true

The not_in_chapters option is useful if you don't need to add some files to the table of contents.

If the strict_check option is enabled, then if a critical error is detected, the build will be aborted after applying the preprocessor.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

foliantcontrib.checksources-1.0.1.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page