About MkDocs
MkDocs is a BSD-2-Clause static site generator in Python. Pages are Markdown files, navigation lives in mkdocs.yml, and mkdocs build writes plain HTML that any web server can host.
Check the project's state first: 1.6.1 (August 2024) is the latest stable release, Material for MkDocs is in maintenance mode, and the 2.0 pre-releases drop plugins and switch to TOML. Pin mkdocs<2; for new sites, Docusaurus or VitePress have active upstreams.
The CloudSat server arrives with Python and MkDocs installed, ready to build sites in place or to act as a preview host for your team.
What you get with MkDocs
- Navigation defined in one YAML file
- Live-reloading preview with
mkdocs serve - Built-in themes plus third-party ones like Material
- Client-side search out of the box
mkdocs gh-deployfor GitHub Pages
MkDocs use cases
- Publish runbooks or API docs as static files
- Preview documentation changes before merging
- Keep a 1.x site building while you plan a migration
After you deploy MkDocs
- Once the server is Running, SSH in as root (deploy key or Access tab password) and run
mkdocs --version. - Scaffold a project with
mkdocs new docs-site, then editdocs/index.mdand thenavlist inmkdocs.yml. - Preview at
http://<server IP>:8000withmkdocs serve -a 0.0.0.0:8000; the dev server is not meant to stay public. - Run
mkdocs buildand serve thesite/folder from a web server on your domain with HTTPS.
MkDocs ports
Open these in your firewall if you use one: 22/tcp SSH, 8000/tcp `mkdocs serve` preview (while it runs).
MkDocs FAQ
Is MkDocs still maintained?
Barely. No 1.x release has shipped since 1.6.1, and the 2.0 pre-releases break plugins, themes and YAML configs. Existing sites keep building; pin the version and plan ahead.
Can I use the Material theme?
Yes, on MkDocs 1.x: pip install mkdocs-material, then set name: material under theme. Its releases cap MkDocs below 2, so builds stay on 1.x.
Disclaimer. The MkDocs project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.