Skip to content

Latest commit

 

History

History
55 lines (42 loc) · 2.01 KB

README.rst

File metadata and controls

55 lines (42 loc) · 2.01 KB

Enigmabox Handbook

Setup Instructions

The Enigmabox Handbook uses Sphinx to manage the documentation and output it to various formats. Pages are written in human-readable ReStructured Text format.

Prerequisites

Sphinx requires Python, which is already installed if you are running OS X. You can confirm in a Terminal window by executing the python command without any parameters. It should load up and tell you which version you have installed. If you're not on 2.7+, go ahead and install 2.7.2 from http://python.org/download/releases/2.7.2/

Installation

Assuming you want to generate the german (de) manual:

  1. Install easy_install
  2. easy_install "sphinx==1.2.3"
  3. cd de
  4. make html

Editing and Creating Documentation

All of the source files exist under source/ in the corresponding language directory and is where you will add new documentation or modify existing documentation.

So where's the HTML?

Obviously, the HTML documentation is what we care most about, as it is the primary documentation that our users encounter. Since revisions to the built files are not of value, they are not under source control. This also allows you to regenerate as necessary if you want to "preview" your work. Generating the HTML is very simple. From the root directory of your user guide repo fork issue the command you used at the end of the installation instructions:

make html

You will see it do a whiz-bang compilation, at which point the fully rendered user guide and images will be in build/html/. After the HTML has been built, each successive build will only rebuild files that have changed, saving considerable time. If for any reason you want to "reset" your build files, simply delete the build folder's contents and rebuild.