mkdocs-documentation

Automate MkDocs Material documentation management with validation and testing.

Updated May 19, 2024
One-click install
npx skills add https://github.com/kettleofketchup/dotfiles --skill mkdocs-documentation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mkdocs-documentation
Source: https://github.com/kettleofketchup/dotfiles/tree/main/.claude/skills/mkdocs-documentation
Command: npx skills add https://github.com/kettleofketchup/dotfiles --skill mkdocs-documentation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill helps teams write, format, and validate documentation in the docs/ directory using MkDocs Material. It streamlines the creation of structured navigation, admonitions, diagrams, code blocks with annotations, and content tabs, ensuring consistent, ready-to-publish docs across projects.

Core Features & Use Cases

  • Admonitions, diagrams, and code blocks with annotations to improve readability.
  • Content tabs, navigation setup, and testing for reliable documentation builds.
  • Quick checks and project-specific Claude documentation references located at docs/dev/ai/skills/ and docs/dev/ai/agents/.

Quick Start

  • Create or update the docs/ directory with a valid MkDocs Material configuration.
  • Run mkdocs serve to preview locally, and use mkdocs build --strict to validate the site.
  • Review project-specific Claude documentation under docs/dev/ai/skills/ and docs/dev/ai/agents/ for overrides.

Frequently Asked Questions about mkdocs-documentation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create and validate MkDocs Material documentation with admonitions and diagrams?

To create and validate MkDocs Material documentation, structure your Markdown files in the docs/ directory using admonitions, diagrams, and content tabs, then run mkdocs build --strict to validate the site. This ensures consistent, ready-to-publish docs.

What is the best way to set up coherent navigation structure for a MkDocs project?

Setting up coherent navigation for a MkDocs project involves configuring the mkdocs.yml file and organizing your Markdown files logically within the docs/ directory. This skill automates navigation setup and testing to ensure reliable documentation builds.

How do I add code blocks with annotations and content tabs in Markdown for MkDocs?

You add code blocks with annotations and content tabs by using MkDocs Material specific Markdown extensions within your docs/ files. This skill streamlines the formatting of these elements to improve readability across project documentation.

Do I need standard Python tooling to render Markdown and run mkdocs serve?

Yes, you need standard Python tooling and MkDocs Material installed to render Markdown, run mkdocs serve for local previews, and execute mkdocs build. The skill relies on this environment to validate and test documentation.

Why does mkdocs build fail when validating frontmatter in SKILL.md?

MkDocs build validation may fail if frontmatter in SKILL.md lacks required name and description fields. This skill requires valid frontmatter to ensure documentation builds correctly and respects project-specific overrides.

Can I use project-specific Claude documentation references with MkDocs?

Yes, you can use project-specific Claude documentation references by placing them in docs/dev/ai/skills/ and docs/dev/ai/agents/. This skill performs quick checks against these paths to apply project overrides.