WARNING: This is a v2.0 Work In Progress. See the pgedge-docs-sandbox repo for the current docs.
This repository contains the core pgEdge product documentation and infrastructure for generating the docs website. It is based on MkDocs, using the Material theme, along with the multirepo plugin which allows docs from other repositories to be merged into the site.
-
Create a Python virtual environment:
python3 -m venv pgedge-docs-venv
-
Activate the virtual environment:
source pgedge-docs-venv/bin/activate -
Check out the source tree, and install the required Python modules:
git clone https://github.com/pgEdge/pgedge-docs cd pgedge-docs pip install -r requirements.txt -
Run the local MkDocs server for testing:
mkdocs serve INFO - Building documentation... INFO - Multirepo plugin importing docs... INFO - Cleaning site directory INFO - Multirepo plugin is cleaning up temp_dir/ INFO - Documentation built in 0.18 seconds INFO - [14:32:14] Watching paths for changes: 'docs', 'mkdocs.yml' INFO - [14:32:14] Serving on http://127.0.0.1:8000/