Generate Documentation for your Fractor rules
composer require a9f/fractor-doc-generator --dev
To generate documentation from rules, use generate
command with paths that contain the rules:
vendor/bin/fractor-doc-generator generate src/rules
The file will be generated to /docs/rules_overview.md
by default. To change that, use --output-file
:
vendor/bin/fractor-doc-generator generate src/rules --output-file docs/my_rules.md
Happy coding!
Development happens in the Fractor monorepo on GitHub