Contributor Tools

The OpenIndiana Docs website uses 2 principal technologies and several ancillary technologies:

Principal technologies:

Both technologies leverage the Python programming language.

Ancillary technologies:

Why use GIT distributed version control for docs?

Why a text markup based docs framework?

The primary advantage of using a text markup language is:

The raw code for your authored content is simple plain text. No need for special tools such as WYSIWYG XML editors, etc.

What is MkDocs?

MkDocs is a modern, flexible, and feature rich content authoring framework and static website generator. The python based MkDocs framework publishes content as HTML5. In conjunction with the MkDocs-Pandoc module, content may also be published in the PDF and EPUB formats.

Unlike a CMS system where you are restricted to the confines of an integral editor, the OpenIndiana Docs website has no such restriction. Here content is authored using a simple text based markup. Because you are working with plain text files, content may be authored using Atom, EMACS, Gedit, Nano, VIM, or any other text editor. The choice is yours; Use your favorite editor.

MkDocs system characteristics

URL Description MkDocs Content Authoring Framework Python implementation of Markdown The CommonMark Markdown Spec Markdown Lint Continuous Integration (similar to Jenkins, etc.) Publish from your github repo

The OpenIndiana Docs GitHub repository

The OpenIndiana Docs repository: consists of 2 branches:

Development occurs in the master branch. The gh-pages branch is used to publish the site to GitHub pages.

Docs site publishing

Following the best practices of continuous integration, the OpenIndiana Docs website is fully automated using Travis-CI. Upon a commit to the site GitHub repository, Travis-CI immediately performs a series of validation tests. If the validation tests pass, then the website is automatically published to Github Pages.