# MkDocs

Python documentation generator using Markdown source and YAML configuration\.

ID: Q1356 · Revision: 1404

Type: software · License: BSD\-2\-Clause[^mkdocs-license] · Status: active

Website: https://www.mkdocs.org/



MkDocs is an open\-source static site generator focused on project documentation\. It uses Markdown source and a YAML configuration file to build a documentation website, with themes controlling presentation\. The resulting HTML can be hosted independently of the Python build environment, supporting a documentation\-as\-source workflow rather than requiring a permanently running editorial application\.[^mkdocs-home]

## Source, navigation and themes

Documentation files live in the project's source directory, with navigation either inferred or explicitly arranged in configuration\. Links and images should follow the documented source conventions so they resolve in the generated site\. Themes and Markdown extensions affect rendering, which means sharing the Markdown format alone does not guarantee identical output in another generator\.[^mkdocs-writing][^mkdocs-config]

MkDocs includes a search plugin using Lunr\. Defining a custom plugins list replaces the default list, so search must be explicitly retained if it is still wanted\. Search\-language configuration also affects browser bandwidth and resource use; enabling several languages is a deployment choice rather than a cost\-free way to improve every query\.[^mkdocs-config]

## Deployment and source preservation

The documented GitHub Pages deployment command builds and pushes generated files\. The guide warns that manual edits to those generated files will be overwritten by later deployments\. It also warns that uncommitted or untracked local material can be included in the deployed pages, making review of the actual build content important before publication\.[^mkdocs-deploy]

MkDocs uses the BSD two\-clause license\. Its permission to use and modify the generator does not determine the licenses of a selected theme, plugin or documentation content\. Keeping the Markdown, configuration and build dependencies allows continued authoring; retaining only the static website preserves the delivered result rather than the complete project\.[^mkdocs-license][^mkdocs-home][^mkdocs-deploy]

## Substitution scope

MkDocs can substitute for [Docusaurus](/docusaurus) for a documentation site when Markdown, themes and plugins meet the requirements without React\-specific components\. This is an assessment of the publishing workflow, not MDX compatibility\. Docusaurus version snapshots, interactive components and navigation need separate treatment during migration, and a chosen MkDocs extension must be evaluated on its own capabilities\.[^mkdocs-home][^mkdocs-writing][^docusaurus-home][^docusaurus-version]

## Capabilities and substitutions

### Static documentation publication — supported

Markdown and YAML generate independently hostable documentation\.[^mkdocs-home][^mkdocs-writing]

Use case: Project manuals and reference guides · Platforms: Web, Local or hosted build environment · Region: Hosting and external\-service availability apply

### Built\-in search configuration — limited

Search is enabled by default but must be re\-listed when overriding plugins; language choices affect client resources\.[^mkdocs-config]

Use case: Maintaining documentation search · Platforms: Web, Local or hosted build environment · Region: Hosting and external\-service availability apply

### [Substitute for Docusaurus](/docusaurus) — limited

Can replace the publishing workflow where React/MDX components are unnecessary; versioning and extensions require separate mapping\.[^mkdocs-home][^mkdocs-writing][^docusaurus-home]

Use case: Markdown\-focused project documentation · Platforms: Web, Local or hosted build environment · Region: Hosting and external\-service availability apply

## References

[^mkdocs-license]: [mkdocs/mkdocs license](<https://github.com/mkdocs/mkdocs/blob/master/LICENSE>) — Repository license text (vendor; retrieved 2026-10-07T00:24:44Z)

[^mkdocs-home]: [MkDocs overview](<https://www.mkdocs.org/>) — Markdown, YAML, Python and static hosting (vendor; retrieved 2026-10-07T00:24:20Z)

[^mkdocs-writing]: [Writing MkDocs documentation](<https://www.mkdocs.org/user-guide/writing-your-docs/>) — Markdown pages, navigation, linking and assets (vendor; retrieved 2026-10-07T00:25:31Z)

[^mkdocs-config]: [MkDocs configuration](<https://www.mkdocs.org/user-guide/configuration/>) — Search defaults, plugins and localization (vendor; retrieved 2026-10-07T00:25:08Z)

[^mkdocs-deploy]: [Deploying MkDocs documentation](<https://www.mkdocs.org/user-guide/deploying-your-docs/>) — Generated files and gh\-deploy overwrite and uncommitted\-content warnings (vendor; retrieved 2026-10-07T00:25:08Z)

[^docusaurus-home]: [Docusaurus introduction](<https://docusaurus.io/docs>) — React, MDX, prerendered pages and comparison scope (vendor; retrieved 2026-10-07T00:24:20Z)

[^docusaurus-version]: [Docusaurus versioning](<https://docusaurus.io/docs/versioning>) — Version snapshots, current versus latest and maintenance tradeoffs (vendor; retrieved 2026-10-07T00:25:08Z)

Source revision: https://substitutefor.net/entities/Q1356?revision=1404
