entidi / silverstripe-autotoc
Dynamically generate the table of contents from $Content
Package info
github.com/ntd/silverstripe-autotoc
Type:silverstripe-vendormodule
pkg:composer/entidi/silverstripe-autotoc
2.0.1
2017-12-30 11:32 UTC
Requires
- silverstripe/framework: ^4.0
Requires (Dev)
- phpunit/phpunit: ^5.7
- squizlabs/php_codesniffer: ^3.0
Suggests
- entidi/silverstrap: A theme that supports silverstripe-autotoc out of the box
README
Automatically generate the table of contents from the Content of a page or, more generally, from any HTML field.
This module can be used without the CMS.
Installation
composer require entidi/silverstripe-autotoc
Manual installation is probably possible but not really tested.
Testing
Basically it boils down to the following commands:
composer update
vendor/bin/phpunit