A personal website built with MkDocs Material, managed with uv.
Clone the repository and sync dependencies:
git clone https://github.com/canavandl/canavandl.github.io.git
cd canavandl.github.io
uv sync
Preview the site locally:
uv run mkdocs serve
Build the site:
uv run mkdocs build
Deploy to GitHub Pages:
uv run mkdocs gh-deploy
If you have just installed:
just serve # Preview locally at http://127.0.0.1:8000
just build # Build the site
just deploy # Deploy to GitHub Pages
just clean # Clean the site directory
.
├── docs/ # Markdown content
│ ├── index.md # Homepage
│ └── about.md # About page
├── mkdocs.yml # MkDocs configuration
├── pyproject.toml # uv project configuration
├── uv.lock # Locked dependencies
└── justfile # Command shortcuts
docs/ directorynav section in mkdocs.yml to add them to navigationuv run mkdocs serveuv run mkdocs gh-deployDependencies are managed by uv and defined in pyproject.toml:
uv add <package-name>
uv lock --upgrade
The site is deployed to GitHub Pages using the gh-pages branch:
uv run mkdocs gh-deploy
This command:
gh-pages branchmaster - Source files (docs, mkdocs.yml, etc.)gh-pages - Built site (auto-generated, don’t edit directly)archive - Previous site version (for reference)