docmgr_detect_platform
Detects the documentation platform (MkDocs, Sphinx, Hugo, etc.) by analyzing project config files, or recommends one based on project language and structure.
Instructions
Auto-detect documentation platform (MkDocs, Sphinx, Hugo, etc.) or recommend one.
Use when: Setting up doc-manager for first time and unsure which platform is in use Result: Returns detected platform or recommendations based on project language and structure Mode: Read-only (analyzes project files only)
Detects by checking for platform-specific config files (mkdocs.yml, conf.py, config.toml, docusaurus.config.js).
Typical workflow: Run before docmgr_init to determine correct platform value for configuration
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |