Сравнить коммиты
3 Коммитов
Автор | SHA1 | Дата | |
---|---|---|---|
7ca10aafc0 | |||
efe8565b81 | |||
6aad21d35f |
2
.gitignore
поставляемый
2
.gitignore
поставляемый
@ -1,4 +1,4 @@
|
|||||||
# files
|
# files
|
||||||
vendor/
|
vendor/
|
||||||
phpunit.xml
|
#phpunit.xml
|
||||||
composer.lock
|
composer.lock
|
||||||
|
@ -2,8 +2,8 @@ PHP TOC Generator
|
|||||||
=================
|
=================
|
||||||
|
|
||||||
Geneates Table of Contents from H1...H6 Tags in HTML Content
|
Geneates Table of Contents from H1...H6 Tags in HTML Content
|
||||||
------------------------------------------------------------
|
|
||||||
|
|
||||||
|
[](https://travis-ci.org/IgorVBelousov/toc)
|
||||||
|
|
||||||
This package provides a simple, framework-agnostic library to build
|
This package provides a simple, framework-agnostic library to build
|
||||||
a Table-of-Contents from HTML markup. It does so by parsing *H1...H6* tags. It can also automatically add appropriate *id* anchor attributes to header tags.
|
a Table-of-Contents from HTML markup. It does so by parsing *H1...H6* tags. It can also automatically add appropriate *id* anchor attributes to header tags.
|
||||||
|
20
phpunit.xml
Обычный файл
20
phpunit.xml
Обычный файл
@ -0,0 +1,20 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<phpunit bootstrap="./tests/bootstrap.php" colors="true">
|
||||||
|
|
||||||
|
<testsuites>
|
||||||
|
<testsuite name="PHP TOC Test Suite">
|
||||||
|
<directory suffix="Test.php">./tests</directory>
|
||||||
|
</testsuite>
|
||||||
|
</testsuites>
|
||||||
|
|
||||||
|
<filter>
|
||||||
|
<whitelist>
|
||||||
|
<directory>./</directory>
|
||||||
|
<exclude>
|
||||||
|
<directory>./tests</directory>
|
||||||
|
<directory>./vendor</directory>
|
||||||
|
</exclude>
|
||||||
|
</whitelist>
|
||||||
|
</filter>
|
||||||
|
</phpunit>
|
Загрузка…
Ссылка в новой задаче
Block a user