Files
mkdocs-quickstart/docs/deploy.md
2020-05-02 22:33:19 +02:00

737 B

Deploy

How to deploy a MkDocs site

See Deploying Your Docs on the Mkdocs site for more details.

Github Pages

Note this is for a Project Page and not Organization and User Pages.

How to deploy to Github Pages.

Run this to build to site directory, push to gh-pages branch and enable Github Pages (if it was not yet enabled). The default option is to clean the site directory first.

mkdocs gh-deploy

Then go to your repo on Github, see the environment tab and click View deployment.

e.g.

See deploy options:

mkdocs gh-deploy --help