This directory contains that builds the VIC website (http://vic.readthedocs.io). Below is a bit of information on how to edit, test, and serve the documentation.
The VIC documentation source files are written in Markdown, and configured with a single YAML configuration file (mkdocs.yml
). Mardown also supports some html so that is an option if pure markdown can't get the job done.
To edit the documentation, all you need is a text editor.
To build the documentation, there are two requirements:
After editing the VIC documentation, and before committing it to the git repository, you'll want to build and serve the docs on your local machine.
from the top level of the VIC repository, run:
mkdocs build
from the top level of the VIC repository, run:
mkdocs serve
For more information on how to interact with the built docs, check out the mkdocs
documentation.
The VIC documentation is served by Read the Docs at http://vic.readthedocs.io. This allows us to provide multiple versions of the VIC documentation, served simultaneously from the same location.
Currently, there are three builds (versions) scheduled for the VIC documentation: