Skip to content

aprasadd/celadon-documentation

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Documentation Build Instructions

The documentation for the Celadon Project should be written in :abbr:`ReStructuredText (ReST)` AKA .rst, which makes it easy to build parsable, command-line readable, indexed, and search-friendly documentation and APIs with Sphinx.

Requirements

To build documentation with Sphinx, ensure your system has these prerequisites:

The instructions for installing these varies according to OS. On a basic out- of-the-box Ubuntu-like OS (which usually has Python installed by default), check your python version you might need something like:

$ sudo apt-get install python-pip
$ sudo pip install -U sphinx sphinx-autobuild
$ python -c 'print __import__("sphinx").__version__'
  1.3.1

Cloning the documentation repository

We have confirmed Sphinx installed. The next step is to clone Gitlab repository to our local machine.

$ git clone https://github.com/projectceladon/projectceladon-documentation.git

Run make

Finally are we ready to run make. Be sure to :command:`cd` to the :file:`source/` directory where your .rst files are, before running :command:`make html`, or the doc format of your choice.

$ make html
>
sphinx-build -b html -d _build/doctrees   . _build/html
Running Sphinx v1.3.1
making output directory...
.
.
.
build succeeded, 0 warnings.

Build finished. The HTML pages are in _build/html.

Open one of the .html pages in a web browser to view the rendered documentation.

For tips on how to contribute documentation formatted in the .rst style needed to integrate beautifully on the clearlinux.org website, please see

Theming Sphinx.

About

Documentation for project Celadon

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 39.7%
  • Python 23.5%
  • Makefile 17.7%
  • Batchfile 16.5%
  • Shell 2.6%