From d7c670d3446e5aee09882cc049b7188f8fc64396 Mon Sep 17 00:00:00 2001 From: Pim Nelissen Date: Wed, 28 Jan 2026 13:39:38 +0100 Subject: [PATCH] Update README.md --- README.md | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ad53715..67286e2 100644 --- a/README.md +++ b/README.md @@ -23,13 +23,26 @@ With Python verion `>=3.12.4` and `<3.13`, create a virtual environment and inst ``` python3 -m venv .venv source .venv/bin/activate -(venv) pip install -e .[dev] + +With the virtual environment activated, run: + +``` +pip install -e .[dev] ``` ## Tests -Tests can be run with `pytest` from the root directory of the repository. +Tests can be run with `pytest` from the root directory of the repository. With the virtual environment activated, run: ``` -(venv) pytest -``` \ No newline at end of file +pytest +``` + +## Local viewing of documentation + +PG-RAD uses [Material for MkDocs](https://squidfunk.github.io/mkdocs-material/) for generating documentation. It can be locally viewed by (in the venv) running: +``` +mkdocs serve +``` + +where you can add the `--livereload` flag to automatically update the documentation as you write to the Markdown files.