Skip to content

bwarden/clear-linux-documentation

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Documentation Build Instructions

The website documentation for Clear Linux* OS for Intel Architecture 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/clearlinux/clear-linux-documentation

Run make

Finally are we ready to run :command:`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

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 54.3%
  • JavaScript 20.5%
  • Python 10.4%
  • Makefile 5.3%
  • Batchfile 4.8%
  • CSS 4.7%