Markdown Docs with Material Theme.
pip install -IU -r requirements.txt
mkdocs serve --dev-addr=0.0.0.0:8000
docker build -f Dockerfile.dev -t mydocs-dev .
docker run --name mydocs-dev -it --rm -p 8000:8000 -v $(pwd):/usr/src/app mydocs-dev
docker build -f Dockerfile.public -t mydocs .
docker run --name mydocs -it --rm -p 8000:8000 mydocs
docker build -t mydocs .
docker run --name mydocs -e "USER_admin=secret" -it --rm -p 8000:8000 mydocs
- Check this to add microsoft login to your mkdocs
Install nodejs >= 12
npm install
mkdocs build
Add these variables in the formar USER_name=password
:
export USER_jane=changeme
export USER_nasly=supersecret
npm run start
- https://squidfunk.github.io/mkdocs-material/getting-started/
- https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#navigation-tabs
- mkdocs/mkdocs#81
- https://github.com/artemv/authenticated-docs
JRichardsz |