MkDocs is static site generator.
Windows
choco install pythonchoco install pip
set https_proxy=http://localhost:3128
pip install --upgrade pip --userpip install mkdocs
setx PATH "%PATH%;C:\Users\%USERNAME%\AppData\Roaming\Python\Python39\Scripts"
cd git _folder
mkdir docs
notepad mkdocs.yml
site_name: My Docs
nav:
- Home: readme.md
theme: readthedocs
mkdocs build --clean
git commit -a -m "mkdocs updates"
git push
Linux
sudo su
export HTTPS_PROXY=http://localhost:3128
pip3 install mkdocs
pip3 install docker-compose
cd git _folder
mkdir docs
echo -e "
site_name: My Docs
nav:
- Home: readme.md
theme: readthedocs" >mkdocs.yml
echo -e "# test" > docs/readme.md
mkdocs build --clean
git commit -a -m "mkdocs updates"
git push