html_page_splitter

Designed to split apart a large html file created using asciidoc. Each <h2> section is used to create a subpage, with each <h3> section a subpage off that. An index page links to each <h2> section, and each <h2> section is linked to the <h3> subpages. Some options provided to change the name of the <h2> and <h3> sections.


Licenses
OML/ISC
Install
gem install html_page_splitter -v 1.0.0

Documentation

html-page-splitter

Takes the single html file created by asciidoc or asciidoctor and converts it into a set of pages with navigation links.

The program is designed to split apart a large html file created using asciidoc. Each <h2> section is used to create a subpage, with each <h3> section a subpage off that. An index page links to each <h2> section, and each <h2> section is linked to the <h3> subpages. Some options provided to change the name of the <h2> and <h3> sections.

Copyright © 2013, Peter Lane. Licensed under Open Works License

Features

  • Takes a single large html document output by asciidoc and subdivides it into separate pages based on headings, with a table of contents providing links.

  • Style sheet copied into a separate file.

  • Option to split at one level only (e.g. book into chapters) or two.

  • Navigation links at the top of each page to move forward/backward or up the hierarchy of pages.

  • Copies any images (including from asciidoc/icons) into images/ folder