This is the static mkdocs documentation for myself
- just
cargo install just brew install just
- Python toolchain uv
curl -LsSf https://astral.sh/uv/install.sh | sh - Create venv with
uvandjustjust venv-create
just --list
Available recipes:
build # Build HTML static site
changelog # create the changelog of the project
changelog-release version=git-tag # create a release version of the project
clean
clean-build # Delete build folder
clean-venv # Delete venv
deploy # Deploy on gh-pages
info # Information about the environment
serve # Build HTML static site and serve it locally
uv-create requirements=env_export_file # Create new uv environment from old requirements.txt
venv-create # Create virtual environment
venv-export # Export the build environment to {{env_export_file}}
venv-lockincremental build of the documentation and watching for file changes. Served locally
just serveall the outputs will be in site folder. Open the webpagehttp://localhost:8000
just buildall the outputs will be in site folder.
The CI is done with Github Actions with the file action-mkdocs.yml will run on each master commit and create a site/ folder which will be pushed onto the branch gh-pages and consequently be used by github to displayed static html pages.