2017 © Pedro Peláez
 

library docbot

A linter tool for documentations.

image

wouterj/docbot

A linter tool for documentations.

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 6 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

DocBot (CAUTION: very unstable!)

Welcome to DocBot! This bot will lint your documentation files according to the Symfony Doc Standards., (*1)

Install

$ composer global require wouterj/docbot

Lint

# linting a directory
$ docbot lint some_directory/

# linting a file
$ docbot lint path/to/file.rst

# ignoring files (like backup files)
$ docbot lint --ignore *~ some_directory/
# or
$ docbot lint -i *~ some_directory/

# specifying a reviewer type (available types: rst, doc, symfony)
$ docbot lint --types rst ...
# or
$ docbot lint -t rst ...

# or multiple types
$ docbot lint -t rst -t doc ...

Contribute

You started reading this section? You're my hero! Feel free to submit PRs, issues or do any other thing that benefits Docbot., (*2)

Internals

The DocBot is written as a big validator, each reviewer being a ConstraintValidator for a class constraint of Gnugat\Redaktilo\Text., (*3)

License

This project is created under the BSD license., (*4)

The Versions