At the console, type the command:
ls -al ~/Projects/doc-publishself
The resulting list will show text documents starting with number 00 through 08. These are source documents for viewed pages of this guide, in sequence. Sequencing document names by number makes the task of editing much easier. Also the index.rst file can assemble a directory of numbered documents in order through a simple glob command such as [0-9]*.
This short guide has 10 topic pages, including the index. In comparison, a book may have multiple sections with a sequence of chapters within each section. Fortunately large publications are easy to manage with Sphinx. Proceed as follows:
Instructions for creating a repository have been given previously.
In the documentation main folder, add a file sections which lists the section subfolders. This is easily done at the command line:
echo "subsection1 subsection2 ... " > sections
echo $(<sections)
In each section subfolder:
Note
Knowing what subsections to create at the start is best. Then adding a sections file to the documentation folder before running either docproject-start.sh or docbranch-add.sh will create sections initialized correctly from the start.
Folder _include contains file _404.html, but this include is blank. Replace this with your favorite lolcat or tumbeast error message to help personalize your publication.