Skip to content
bentayloruk edited this page Nov 30, 2012 · 19 revisions

Books

  • A Cantos book is a sub-section of the site that has pages (text files) organised in chapters (directories).
  • Chapters and pages are ordered on the file system using number-wanging (patent pending).
  • Cantos builds a table of contents for the book in the same order as the chapter directories and files in each book.
  • Your can create multiple books.
  • A table of contents is built for each book and is merged into the the page meta for all pages in the book.
  • You specify the book sub-folders by dot delimiting the book folder name.

Book Example

|-- _books
|-- tech.fsharp
|-- 0010-Introduction
|-- 0010-blah.md
|-- 0020-amazing.md
|-- 0020-TheEnd
|-- 0010-that-was.md
|-- 0020-quick.md
|-- _site
|-- tech
|-- fsharp
|-- Introduction
|-- amazing.html
|-- blah.html
|-- TheEnd
|-- quick.html
|-- that-was.html

Hacker Stuff

Clone this wiki locally