This repository contains the MkDocs-powered documentation site for Chat.cz.
- Create a virtual environment and activate it:
python -m venv .venv
source .venv/bin/activate- Install dependencies:
pip install -r requirements.txt- Serve locally with live reload:
python -m mkdocs serve -w ./ --livereloadOpen http://127.0.0.1:8000 in your browser.
python -m mkdocs buildThe static site will be generated into the site/ folder.
The repository includes a .vscode/launch.json configuration that runs MkDocs using the workspace virtualenv and enables live reload. To use it:
- Open this folder in VS Code.
- Select the Python interpreter
.venv/bin/python(bottom-right selector). - Open Run and Debug (Ctrl+Shift+D) and run "MkDocs: serve (venv)".
A GitHub Actions workflow is provided to validate that mkdocs build succeeds on pushes and PRs to main.
requirements.txtcurrently containsmkdocsandmkdocs[i18n]. Consider pinning exact versions for reproducible installs.- Custom theme overrides live in
custom_theme/.