MkDocs TechDocs Core

1.6.1 · active · verified Sat Apr 11

The `mkdocs-techdocs-core` library is the core MkDocs plugin used by Backstage's TechDocs. It acts as a wrapper, bundling multiple essential MkDocs plugins and Python Markdown extensions to provide a consistent and opinionated set of features for technical documentation. As of version 1.6.1, it primarily focuses on simplifying the setup for Backstage users. Releases are typically driven by updates to underlying dependencies like `mkdocs-material` and new features for TechDocs, often leveraging Python Semantic Release.

Warnings

Install

Imports

Quickstart

This quickstart demonstrates how to set up a basic MkDocs project using `mkdocs-techdocs-core`. It involves creating a project structure, configuring `mkdocs.yml` to enable the plugin, and adding a simple Markdown file, then serving the documentation locally. Make sure you have `mkdocs` installed globally or in your environment (`pip install mkdocs`).

# 1. Create a project directory (e.g., 'my-techdocs-site')
# 2. Inside 'my-techdocs-site', create an 'mkdocs.yml' file:
#    ---
#    site_name: My TechDocs Project
#    nav:
#      - Home: index.md
#    plugins:
#      - techdocs-core
#    ---
# 3. Inside 'my-techdocs-site', create a 'docs' directory.
# 4. Inside 'docs', create an 'index.md' file:
#    ---
#    # Welcome to My TechDocs Project!
#
#    This is your documentation generated with MkDocs TechDocs Core.
#    ---
# 5. Run MkDocs serve from the 'my-techdocs-site' directory:
#    mkdocs serve

view raw JSON →