This repository contains the Open Water Foundation (OWF) MkDocs training materials, which provides guidance for implementing MkDocs projects for software and other documentation. The documentation is written for the layperson in order to encourage use of MkDocs.
See the deployed OWF / Learn MkDocs documentation.
The repository contains the following:
.github/ Files specific to GitHub such as issue template.
.gitattributes Typical Git configuration file.
.gitignore Typical Git configuration file.
README.md This file.
build-util/ Useful scripts to view, build, and deploy documentation.
mkdocs-project/ Typical MkDocs project for this documentation.
mkdocs.yml MkDocs configuration file for website.
docs/ Folder containing source Markdown and other files for website.
site/ Folder created by MkDocs containing the static website - ignored using .gitignore.
The development environment for contributing to this project requires installation of Python, MkDocs, and Material MkDocs theme.
Python 3 has been used for development. See the mkdocs-project/docs/install.md
file for information about installing these tools.
If the development environment is properly configured, edit and view content as follows:
- Edit content in the
mkdocs-project/docs
folder and updatemkdocs-project/mkdocs.yml
as appropriate. - Run the
build-util/run-mkdocs-serve-8000.sh
script (Cygwin/Linux) or equivalent. - View content in a web browser using URL
http://localhost:8000
.
The OWF Learn MkDocs website content and examples are licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Contribute to the documentation as follows:
- Use GitHub repository issues to report minor issues.
- Use GitHub pull requests.
The following release notes indicate the update history for documentation, with GitHub repository issue indicated, if applicable (links to issues via README.md are not cleanly supported by GitHub so use the repository issues page to find).
- 2019-01-22 [7] - update documentation to focus on Python 3 and MkDocs 1+
- 2017-11-29 [6] - add examples for formatting Markdown literally and controlling table column width
- 2017-10-21 [2,3,4] - cleanup theme documentation, add issue template.
- 2017-10-20 [1] - switch to Material theme, update documentation based on experience.
- 2017-08-07 - switch to Cosmo theme, update documentation based on experience.