Files
mkdocs-quickstart/docs/tutorial/usage.md
Michael Currin 5e8b217c8d docs: Update docs
2020-10-17 16:23:20 +02:00

726 B

Usage

Build and preview a site locally

Note: If using VS Code, you can use the command palette instead to run the configured tasks - these are setup in .vscode/tasks.json. However, using a Makefile allows more control locally and on for a remote build.

Serve docs

This will build the docs in memory (not to disk) and serve an auto-reloading server.

$ make serve

That will use make to run the following:

$ mkdocs serve --strict

Then open in your browser:

Build docs

Build docs site to site directory. This is useful for a CI flow.

$ make docs

That will use make to run the following:

$ mkdocs build --strict