ProperDocs
ProperDocs is a fast, simple, and extensible static site generator geared towards building project documentation using Markdown source files and a single YAML configuration file. It is a direct continuation of MkDocs 1.x, aiming for full compatibility with existing MkDocs themes and plugins while addressing maintenance concerns of the original project. The current version is 1.6.7, with an active release cadence.
Warnings
- breaking ProperDocs was forked from MkDocs 1.x. Configuration files now prefer `properdocs.yml` over `mkdocs.yml`, though `mkdocs.yml` is still supported as a fallback. Plugins and themes developed for MkDocs 1.x are generally compatible but ensure no direct `mkdocs` package dependencies.
- breaking The previously built-in 'mkdocs' and 'readthedocs' themes are no longer included by default to make the package lightweight. Installing ProperDocs alone will result in no default theme, and a warning will be issued if no theme is specified.
- gotcha The environment variable used to suppress the warning about 'MkDocs 2.0' incompatibilities has changed.
- breaking ProperDocs is a continuation of MkDocs 1.x due to concerns about backward-incompatible changes in an anticipated 'MkDocs 2.0'. Relying on `pip install mkdocs` for future projects may lead to unexpected breakages with existing themes, plugins, and configurations.
Install
-
pip install properdocs -
pip install properdocs mkdocs-themes readthedocs-themes
Imports
- build
from properdocs.commands import build
- serve
from properdocs.commands import serve
Quickstart
# Create a new ProperDocs project properdocs new my-docs # Change into the project directory cd my-docs # Start the development server and preview your site properdocs serve