| 1 |
Source: libhtml-gentoc-perl |
| 2 |
Maintainer: Debian Perl Group <[email protected]> |
| 3 |
Section: perl |
| 4 |
Testsuite: autopkgtest-pkg-perl |
| 5 |
Priority: optional |
| 6 |
Build-Depends: debhelper-compat (= 13), |
| 7 |
libmodule-build-perl |
| 8 |
Build-Depends-Indep: libhtml-linklist-perl, |
| 9 |
libhtml-parser-perl, |
| 10 |
libhtml-simpleparse-perl, |
| 11 |
libgetopt-argvfile-perl |
| 12 |
Standards-Version: 3.9.6 |
| 13 |
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libhtml-gentoc-perl |
| 14 |
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libhtml-gentoc-perl.git |
| 15 |
Homepage: https://metacpan.org/release/HTML-GenToc |
| 16 |
|
| 17 |
Package: libhtml-gentoc-perl |
| 18 |
Architecture: all |
| 19 |
Depends: ${misc:Depends}, |
| 20 |
${perl:Depends}, |
| 21 |
libhtml-linklist-perl, |
| 22 |
libhtml-parser-perl, |
| 23 |
libhtml-simpleparse-perl, |
| 24 |
libgetopt-argvfile-perl |
| 25 |
Description: module that generates a Table of Contents for HTML documents |
| 26 |
HTML::GenToc generates anchors and a table of contents for HTML documents. |
| 27 |
Depending on the arguments, it will insert the information it generates, or |
| 28 |
output to a string, a separate file or STDOUT. |
| 29 |
. |
| 30 |
While it defaults to taking H1 and H2 elements as the significant elements to |
| 31 |
put into the table of contents, any tag can be defined as a significant |
| 32 |
element. Also, it doesn't matter if the input HTML code is complete, pure |
| 33 |
HTML, one can input pseudo-html or page-fragments, which makes it suitable |
| 34 |
for using on templates and HTML meta-languages such as WML. |
| 35 |
. |
| 36 |
Also included in the distribution is hypertoc, a script which uses the module |
| 37 |
so that one can process files on the command-line in a user-friendly manner. |