Serve and Deploy Mkdocs
How to serve Mkdocs
- Once your site/files are ready to be served, run the following command:
mkdocs build
- The 'site' folder will be created/updated.
- Connect to the server via FTP and copy the contents of the 'site' folder to the /var/www directory
How to deploy Mkdocs with GitHub Pages
- Once your site/files are ready to be deployed, run the following command:
mkdocs gh-deploy --force