🛠️ Local development
The site is built with Material for MkDocs.
To serve the site locally, you need a couple of prerequisites
(python >= 3.11 < 3.13
,pipx
and poetry
)
Note: This project currently supports Python 3.11 and 3.12 only. While older versions may work, they haven't been tested. We plan to add Python 3.13 support once
mkdocs
extends compatibility to that version.
pipx
lets you install and run Python
applications in isolated environments.
We'll use it to install a package manager (poetry
) later on.
-
To set it up:
python -m pip install --user pipx
-
After installation, you'll see a warning that
pipx
is not in your system PATH. Copy the path shown in the warning message (this path varies by user). -
Navigate to the copied path.
cd your_path_from_warning
-
Set
pipx
to your PATH environment variable..\pipx.exe ensurepath
The project uses the package manager
poetry
. In a new terminal window,
install poetry
with:
pipx install poetry
To install all project dependencies, clone this repository and within the project directory, run:
poetry install
Lastly, build and serve the site locally with:
.\serve-local.bat
The script disables the
git-committers
plugin for faster local builds. Visitlocalhost:8000
in your browser to view the site. 🎉
If you properly set up the project, you can now start writing content. While the site is served locally, any changes you make to the content will automatically trigger a reload of the site in your browser.
The sites content is housed in the \docs
directory and is written in Markdown.
For formatting reference, check out the
Material for MkDocs documentation.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License