All asciidoc manuals are conserved in the docs directory.
|
Important
|
All directories prefixed with underscore _ are related
to jekyll, a static web generator. Avoid mixing asciidoc files with
these directories.
|
Manual directories are organized by categories as you can see on the main
pages. For each category of book, there is a directory containing a file
list/adoc which list book covers, and a README.adoc for displaying this
list.
This is an example of asciidoc file.
= Page title
// Don't put authors here! (see CONTRIBUTING)
//*******************************************
:page-layout: default
:page-permalink: /toolbox/
:page-root: /
:doctype: book
:docinfo: shared
:imagesdir: /images/
:sources: ../../
// Keep this include header at the end! (see CONTRIBUTING)
link:docs/includes/header.adoc[role=include]
//*******************************************
Here goes the page content ...This are jekyll specific header variables:
-
page-layoutdefine the page template (default,manual) -
page-permalinkdefine the true URL for the website -
page-rootrelative path to the git repository root
|
Important
|
Don’t forget the last / for the permalink.
|
We store generic adoc header in the docs/includes/header.adoc.
|
Important
|
docs/includes/header.adoc should always be present, at the end of the
header.
|
You can have a look to the docs/includes/headers/ directory for sub headers.
We define in these files all generics variables that could/should be use in all
asciidoc pages.
|
Important
|
You should keep this way of writing! Files might be included externally by another books! |