Website for sharing the knowledge of computer science, built with Material for MkDocs.
docker run --rm -it -p 8010:8000 -v ${PWD}:/docs squidfunk/mkdocs-material
docker run --rm -it -v ${PWD}:/docs squidfunk/mkdocs-material build
mkdocs build
Create file netlify.toml
with the following content.
# netlify.toml
[build]
command = "mkdocs build"
publish = "site"
Create file requirements.txt
to specify the version of MkDocs Material.
mkdocs-material==9.4.1
Create file runtime.txt
to specify the Python version.
3.8
References: Deploy MkDocs to Netlify