mkdocs-common-issues
À propos
Cette compétence fournit des solutions pour les problèmes courants de MkDocs tels que les échecs de compilation, le rendu des diagrammes Mermaid et les dysfonctionnements de la recherche. Elle propose des extraits de configuration prêts à l'emploi et des étapes de dépannage pour les développeurs. Utilisez cette référence lorsque vous rencontrez des problèmes typiques de déploiement ou de rendu avec MkDocs.
Installation rapide
Claude Code
Recommandénpx skills add vamseeachanta/workspace-hub/plugin add https://github.com/vamseeachanta/workspace-hubgit clone https://github.com/vamseeachanta/workspace-hub.git ~/.claude/skills/mkdocs-common-issuesCopiez et collez cette commande dans Claude Code pour installer cette compétence
Documentation
Common Issues (+1)
Common Issues
Build Fails with "Page not in nav"
# mkdocs.yml - Allow pages not in nav
validation:
nav:
omitted_files: info
not_found: warn
absolute_links: info
Mermaid Diagrams Not Rendering
# Ensure superfences is configured correctly
markdown_extensions:
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
Search Not Working
# Check search configuration
plugins:
- search:
lang: en
prebuild_index: true # Build search index at build time
Git Revision Plugin Fails
# Ensure git history is available
git fetch --unshallow # In CI environments
# Or disable in mkdocs.yml for local testing
plugins:
- git-revision-date-localized:
fallback_to_build_date: true
Social Cards Generation Fails
# Install required dependencies
pip install pillow cairosvg
# On Ubuntu
apt-get install libcairo2-dev libffi-dev
# On macOS
brew install cairo
Debug Mode
# Verbose build output
mkdocs build --verbose
# Serve with debug info
mkdocs serve --verbose --dev-addr 0.0.0.0:8000
# Strict mode catches warnings as errors
mkdocs build --strict
Dépôt GitHub
Compétences associées
algorithmic-art
MétaThis Claude Skill creates original algorithmic art using p5.js with seeded randomness and interactive parameters. It generates .md files for algorithmic philosophies, plus .html and .js files for interactive generative art implementations. Use it when developers need to create flow fields, particle systems, or other computational art while avoiding copyright issues.
subagent-driven-development
DéveloppementThis skill executes implementation plans by dispatching a fresh subagent for each independent task, with code review between tasks. It enables fast iteration while maintaining quality gates through this review process. Use it when working on mostly independent tasks within the same session to ensure continuous progress with built-in quality checks.
executing-plans
DesignUse the executing-plans skill when you have a complete implementation plan to execute in controlled batches with review checkpoints. It loads and critically reviews the plan, then executes tasks in small batches (default 3 tasks) while reporting progress between each batch for architect review. This ensures systematic implementation with built-in quality control checkpoints.
cost-optimization
AutreThis Claude Skill helps developers optimize cloud costs through resource rightsizing, tagging strategies, and spending analysis. It provides a framework for reducing cloud expenses and implementing cost governance across AWS, Azure, and GCP. Use it when you need to analyze infrastructure costs, right-size resources, or meet budget constraints.
