TechDocs Plugins Overview
Learn about the MkDocs plugins available in TechDocs and how to use them effectively.
TechDocs supports a variety of MkDocs plugins to enhance your documentation. This guide provides an overview of all supported plugins in Harness IDP.
TechDocs core plugin
The techdocs-core plugin is an all-in-one solution that bundles multiple essential plugins for generating high-quality documentation. It eliminates the need to configure individual plugins separately.
Included plugins
The techdocs-core plugin includes:
mkdocs-material: Material Design theme for MkDocsmarkdown_inline_graphviz_extension: Inline Graphviz diagram supportmkdocs-monorepo-plugin: Multi-repository documentation supportplantuml-markdown: PlantUML diagram renderingmdx_truly_sane_lists: Improved list formattingpymdown-extensions: Extended Markdown syntaxpygments: Syntax highlighting for code blocksmkdocs-redirects: URL redirect management
IMPORTANT
Do not configure the above plugins individually in your mkdocs.yml file. Using them separately will result in a "plugin not installed" error. Always use the techdocs-core plugin to access these features.
Configuration:
Additional supported plugins
mkdocs-video
Enables embedding videos directly in your Markdown documentation.
Features:
Embed videos from external sources (YouTube, Vimeo, etc.)
Support for self-hosted videos on custom domains
Simple syntax for video integration
Use Cases:
Tutorial videos and walkthroughs
Product demonstrations
Presentation recordings
Examples:
Self-hosted video:
YouTube video:
mkdocstrings
Auto-generates API documentation directly from docstrings in your source code.
Supported Languages:
Python: Processes Python docstrings for classes, functions, and modules
Crystal: Supports docstring extraction for Crystal projects
VBA: Handles VBA (Visual Basic for Applications) docstrings
Features:
Automatic API documentation generation
Seamless MkDocs integration
Support for multiple programming languages
Preserves existing docstring formatting
Use Cases:
API and library documentation
Projects with well-maintained docstrings
Automated reference documentation
Example:
1. Write docstrings in your code:
2. Reference in Markdown:
The plugin automatically generates formatted documentation from the docstring.
Last updated
Was this helpful?