-
Notifications
You must be signed in to change notification settings - Fork 3
DocsReadme
This Tools wiki is the source of the Governance Tools documents. We convert the asciidoc into an intermediate Docbook format, which then is used to create HTML and PDF versions. If you want to build these yourself you need to install asciidoc on your machine and check out the repository locally using:
git clone git@github.com:Governance/tools.wiki.git
Then go to the root folder and run:
mvn clean install
This will build HTML and PDF versions in the <guide>/target/docbook/publish/en-US directory, where <guide> is the document being built (e.g. UserGuide).
-
I spotted a typo, can I fix it?
Yes please help us maintain the documentation. Simply update the appropriate page right on github. Our nightly build will distribute the changes to docbook and the html and pdf versions.
-
How do I add an image?
Images cannot be uploaded through the github UI. Instead you need to add them to the
images
directory in the root of the tools.wiki repo and then push it up to github. You can then reference your image on the page usingimage::images/<myimage>.ext
. NOTE: Make sure to add an empty line before and after this image reference. -
How do add a numbering and references?
You should add a label -we use the convention <type>-<chapter>-<label>, i.e.
[[figure-gs-screenshot-of-the-ui]]
- , a title i.e..Welcome screen of the goverance ui.
and then the thing itself -for an image use something likeimage::images/tools.png[Screenshot of the Governance UI]
. The labelfigure-gs-screenshot-of-the-ui
can be used to link to this figure using<<figure-gs-screenshot-of-the-ui>>
. -
How do I add a chapter to the book in docbook?
We add chapters as different files, and then include them in the top level document, e.g.
UserGuide.asciidoc
file. At docbook generation time it will pull in the chapter into theUserGuide.xml
file. Also we add a link in the_Sidebar.asciidoc
page to have a link when looking at it at Github in wiki style.