moai-docs-generation

Solid

Documentation generation patterns for technical specs, API docs, user guides, and knowledge bases using real tools like Sphinx, MkDocs, TypeDoc, and Nextra. Use when creating docs from code, building doc sites, or automating documentation workflows.

AI & Automation 1,050 stars 192 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Documentation Generation Patterns ## Quick Reference (30 seconds) Purpose: Generate professional documentation using established tools and frameworks. Core Documentation Tools: - Python: Sphinx with autodoc, MkDocs with Material theme, pydoc - TypeScript/JavaScript: TypeDoc, JSDoc, TSDoc - API Documentation: OpenAPI/Swagger from FastAPI/Express, Redoc, Stoplight - Static Sites: Nextra (Next.js), Docusaurus (React), VitePress (Vue) - Universal: Markdown, MDX, reStructuredText When to Use This Skill: - Generating API documentation from code annotations - Building documentation sites with search and navigation - Creating user guides and technical specifications - Automating documentation updates in CI/CD pipelines - Converting between documentation formats --- ## Implementation Guide (5 minutes) ### Python Documentation with Sphinx Sphinx Setup and Configuration: Install Sphinx and extensions with pip install sphinx sphinx-autodoc-typehints sphinx-rtd-theme myst-parser Initialize a Sphinx project by running sphinx-quickstart docs which creates the basic structure. Configure conf.py with the following key settings: - Set extensions to include autodoc, napoleon, typehints, and myst_parser - Configure html_theme to sphinx_rtd_theme for a professional look - Add autodoc_typehints set to description for inline type hints Generate API documentation by running sphinx-apidoc with the source directory, outputting to docs/api, then run make html in the docs directory. ### P...

Details

Author
modu-ai
Repository
modu-ai/moai-adk
Created
8 months ago
Last Updated
today
Language
Go
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category