Skip to content

Development Environment / MkDocs

MkDocs is required if editing the developer or user documentation.

MkDocs is a Python add-on package that creates static website content from Markdown input. This documentation was created with MkDocs. Although the latest published version of this documentation can be viewed on the web, MkDocs must be installed and run locally if the documentation is to be viewed locally and changes to documentation are made by developers. See the installation instructions on the MkDocs website, which are summarized below. MkDocs installation can be skipped if the developer will never look at the developer documentation locally or make edits to the documentation.

This documentation includes the following sections:


Prerequisites

Before installing MkDocs, it is necessary that Python and pip are installed.

Install MkDocs

Linux Linux

This section will be completed when resources are available for Linux development and testing.

Windows Windows

To install MkDocs, open a Windows Command Shell and run the following. This assumes that Python was installed and Python environment variables were set.

To check whether MkDocs is installed:

py -m mkdocs

If not installed, install with the Python 3 version (actually no need to specify -3 but do to illustrate installing for specific Python version):

py -3 -m pip install mkdocs

Check whether installed by running:

py -m mkdocs 

or simply:

mkdocs

If installed, the usage will be shown, similar to:

Usage: mkdocs [OPTIONS] COMMAND [ARGS]...

MkDocs - Project documentation with Markdown.

Options:
    -V, --version  Show the version and exit.
    -q, --quiet    Silence warnings
    -v, --verbose  Enable verbose output
    -h, --help     Show this message and exit.

Commands:
  build      Build the MkDocs documentation
  gh-deploy  Deploy your documentation to GitHub Pages
  json       Build the MkDocs documentation to JSON files...
  new        Create a new MkDocs project
  serve      Run the builtin development server

See the Development Tasks / Documenting documentation for instructions on using MkDocs.