{"schemaVersion":"1.0","record":{"label":"MkDocs","description":"Python documentation generator using Markdown source and YAML configuration.","aliases":[],"kind":"software","website":"https://www.mkdocs.org/","overview":"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.","license":"BSD-2-Clause","lifecycle":"active","example":false,"features":[{"name":"Static documentation publication","status":"supported","detail":"Markdown and YAML generate independently hostable documentation.","useCase":"Project manuals and reference guides","platforms":["Web","Local or hosted build environment"],"region":"Hosting and external-service availability apply","evidence":[{"url":"https://www.mkdocs.org/","locator":"Markdown, YAML, Python and static hosting","retrievedAt":"2026-10-07T00:24:20Z","kind":"vendor"},{"url":"https://www.mkdocs.org/user-guide/writing-your-docs/","locator":"Markdown pages, navigation, linking and assets","retrievedAt":"2026-10-07T00:25:31Z","kind":"vendor"}]},{"name":"Built-in search configuration","status":"limited","detail":"Search is enabled by default but must be re-listed when overriding plugins; language choices affect client resources.","useCase":"Maintaining documentation search","platforms":["Web","Local or hosted build environment"],"region":"Hosting and external-service availability apply","evidence":[{"url":"https://www.mkdocs.org/user-guide/configuration/","locator":"Search defaults, plugins and localization","retrievedAt":"2026-10-07T00:25:08Z","kind":"vendor"}]}],"alternatives":[],"slug":"mkdocs","draftAlternatives":[{"targetSlug":"docusaurus","status":"limited","detail":"Can replace the publishing workflow where React/MDX components are unnecessary; versioning and extensions require separate mapping.","useCase":"Markdown-focused project documentation","platforms":["Web","Local or hosted build environment"],"region":"Hosting and external-service availability apply","evidence":[{"url":"https://www.mkdocs.org/","locator":"Markdown, YAML, Python and static hosting","retrievedAt":"2026-10-07T00:24:20Z","kind":"vendor"},{"url":"https://www.mkdocs.org/user-guide/writing-your-docs/","locator":"Markdown pages, navigation, linking and assets","retrievedAt":"2026-10-07T00:25:31Z","kind":"vendor"},{"url":"https://docusaurus.io/docs","locator":"React, MDX, prerendered pages and comparison scope","retrievedAt":"2026-10-07T00:24:20Z","kind":"vendor"}]}],"evidence":[{"url":"https://www.mkdocs.org/","locator":"Markdown, YAML, Python and static hosting","retrievedAt":"2026-10-07T00:24:20Z","kind":"vendor"}],"document":{"version":1,"references":[{"url":"https://github.com/mkdocs/mkdocs/blob/master/LICENSE","locator":"Repository license text","retrievedAt":"2026-10-07T00:24:44Z","id":"mkdocs-license","title":"mkdocs/mkdocs license","kind":"vendor"},{"url":"https://www.mkdocs.org/","locator":"Markdown, YAML, Python and static hosting","retrievedAt":"2026-10-07T00:24:20Z","id":"mkdocs-home","title":"MkDocs overview","kind":"vendor"},{"url":"https://www.mkdocs.org/user-guide/writing-your-docs/","locator":"Markdown pages, navigation, linking and assets","retrievedAt":"2026-10-07T00:25:31Z","id":"mkdocs-writing","title":"Writing MkDocs documentation","kind":"vendor"},{"url":"https://www.mkdocs.org/user-guide/configuration/","locator":"Search defaults, plugins and localization","retrievedAt":"2026-10-07T00:25:08Z","id":"mkdocs-config","title":"MkDocs configuration","kind":"vendor"},{"url":"https://www.mkdocs.org/user-guide/deploying-your-docs/","locator":"Generated files and gh-deploy overwrite and uncommitted-content warnings","retrievedAt":"2026-10-07T00:25:08Z","id":"mkdocs-deploy","title":"Deploying MkDocs documentation","kind":"vendor"},{"url":"https://docusaurus.io/docs","locator":"React, MDX, prerendered pages and comparison scope","retrievedAt":"2026-10-07T00:24:20Z","id":"docusaurus-home","title":"Docusaurus introduction","kind":"vendor"},{"url":"https://docusaurus.io/docs/versioning","locator":"Version snapshots, current versus latest and maintenance tradeoffs","retrievedAt":"2026-10-07T00:25:08Z","id":"docusaurus-version","title":"Docusaurus versioning","kind":"vendor"}],"overviewCitations":["mkdocs-home"],"licenseCitations":["mkdocs-license"],"sections":[{"id":"authoring","heading":"Source, navigation and themes","paragraphs":[{"id":"structure","content":[{"text":"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."}],"citations":["mkdocs-writing","mkdocs-config"]},{"id":"search","content":[{"text":"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."}],"citations":["mkdocs-config"]}]},{"id":"publishing","heading":"Deployment and source preservation","paragraphs":[{"id":"deploy","content":[{"text":"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."}],"citations":["mkdocs-deploy"]},{"id":"license","content":[{"text":"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."}],"citations":["mkdocs-license","mkdocs-home","mkdocs-deploy"]}]},{"id":"substitution","heading":"Substitution scope","paragraphs":[{"id":"fit","content":[{"text":"MkDocs can substitute for "},{"text":"Docusaurus","targetSlug":"docusaurus"},{"text":" 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."}],"citations":["mkdocs-home","mkdocs-writing","docusaurus-home","docusaurus-version"]}]}]},"id":"Q1356","revision":1404,"updatedAt":"2026-10-14T12:21:44Z","sourceUrl":"https://substitutefor.net/entities/Q1356?revision=1404"}}