Skip to content

Installing MkDocs

In order to work with MkDocs to generate and preview documentation you will need the following:

  • Python 3
  • pip3 (Package Installer for Python, included with Python)

The best practice is to use a python virtual environment, so the tools required for GeoServer documentation are provided their own environment.

  1. From the root of your GeoServer checkout:

    python3 -m venv venv
    
  2. Activate virtual environment and install (or update) requirements:

    source venv/bin/activate
    pip install -r requirements.txt
    
  3. Confirm MkDocs is available:

    mkdocs --version