3. Creating a documentation
3.2. settings.ini file
3.1. Directory structure
« Previous
3.3. Chapters
Next »

3.2. settings.ini file

This is the main configuration file with an option list. The syntax looks like below:

option1 = "value 1"
option2 = "value 2"
option3 = "value 3"

The semicolon begins a new comment, which ends at the end of the line.

The base options are:
title
the project name you are going to describe.
version
project version.
copyright
copyrights to the documentation.
license
documentation license name.
Additional options:
copyrightLink
an URL to the copyright holder website.
licenseLink
an URL to the license text.
Project technical options:
outputs
the output list you are going to use in the project. They must be separated with commas.
baseLanguage
each documentation must choose its base language, which the original content is written in. It is important that the identifier of the language must be the same, as the language directory name.
navigation

defines the way, how to generate "Previous" and "Next" links. Available values are:

tree
"Previous" and "Next" always point to the neighbours of the current chapter. If such a neighbour does not exist, the link is not displayed. This is the default value.
book
the "Previous" and "Next" links allow to travell across the whole documentation (like a book).
showNumbers
whether to display chapter numbers (values are true or false).

Below, we can see a sample file. It is used to generate TypeFriendly manual:

; Base options

title = "TypeFriendly"
version = "0.1.0"
copyright = "Invenzzia Group 2008"
copyrightLink = "http://www.invenzzia.org/"
license = "GNU Free Documentation License 2.1"
licenseLink = "http://www.gnu.org/licenses/fdl.html"

; Project options

outputs = "xhtml, xhtml_single"
baseLanguage = "pl"
navigation = "book"
showNumbers = true

3.2. settings.ini file
3. Creating a documentation
« Previous
3.1. Directory structure
Next »
3.3. Chapters