Shellmiao 9279d1873b Add projects пре 1 година
..
Dockerfile 9279d1873b Add projects пре 1 година
README.md 9279d1873b Add projects пре 1 година

README.md

Image for build FATE's documents

This image is modified from mkdocs-meterial with some plugins embeded.

Usage

Mount the folder where your mkdocs.yml resides as a volume into /docs:

docker run --rm -it -p 8000:8000 -v ${PWD}:/docs sagewei0/mkdocs
  • Build documentation
docker run --rm -it -v ${PWD}:/docs sagewei/mkdocs build
  • Deploy documentation to GitHub Pages
docker run --rm -it -v ~/.ssh:/root/.ssh -v ${PWD}:/docs sagewei0/mkdocs gh-deploy