Dynamically generates the table of contents
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
_config
docs
src
templates/eNTiDi/Autotoc
tests
.editorconfig
.gitattributes
.scrutinizer.yml
.travis.yml
CHANGELOG.md
CONTRIBUTING.md
LICENSE.md
README.md
composer.json
phpcs.xml.dist
phpunit.xml.dist

README.md

silverstripe-autotoc

License Build Status Code Quality Code Coverage Latest Stable Version

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

Other documentation