poetry install
poetry run pre-commit install
cp .env.example .env # edit the .env file with your own valuesset -a
source .env
set +a
poetry run mkdocs servepoetry run pre-commit run --all-filespoetry run mkdocs gh-deploy- edit
docs/CNAMEto point to your own domain if you have one - github actions
- set the
GLOBAL_PASSWORDenvironment variable in GitHub secrets for github actions to use - give workflow "read & write permisions" in repository settings
- set the
- password protection is done with mkdocs-encryptcontent plugin
- default password is
pwd - change the password by setting the
GLOBAL_PASSWORDenvironment variable in GitHub secrets
- default password is
- embedded github discussions is done with gicus
- enable discussions on the repo. install giscus app on the repo
- create config & update
overrides/partials/comments.html - header in markdown file used for fetching relavant discussions. like here