Skip to content

Commit ae6a5e9

Browse files
committed
feat(docs): docstrings to mkdocs
1 parent 28f26e2 commit ae6a5e9

63 files changed

Lines changed: 4542 additions & 67 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.readthedocs.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Read the Docs configuration file
2+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3+
4+
# Required
5+
version: 2
6+
7+
# Set the OS, Python version, and other tools you might need
8+
build:
9+
os: ubuntu-24.04
10+
tools:
11+
python: "3.9"
12+
13+
python:
14+
install:
15+
- requirements: requirements-dev.txt
16+
17+
# Build documentation with Mkdocs
18+
mkdocs:
19+
configuration: mkdocs.yml
20+
21+
# Optionally, but recommended,
22+
# declare the Python requirements required to build your documentation
23+
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
24+
# python:
25+
# install:
26+
# - requirements: docs/requirements.txt

build_docs.sh

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
mkdocs.yml#!/bin/bash
2+
set -e
3+
4+
if ! command -v uv &> /dev/null
5+
then
6+
echo "UV is not installed. Please follow the documentation on the contributing page to install UV."
7+
exit 1
8+
fi
9+
10+
cd "$(dirname "$0")"
11+
12+
uv venv
13+
uv sync
14+
15+
uv run mkdocs build --strict
16+
17+
echo "Documentation built successfully in the 'site' directory."
18+
echo "To preview, run: uv run mkdocs serve"

docs/.markdownlint.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
"default": true
2+
"MD002": false # First heading should be a top level heading
3+
"MD007": # Unordered list indentation
4+
indent: 4
5+
"MD009": false # Trailing spaces
6+
"MD013": false # Line length
7+
"MD025": false # Multiple top level headings in the same document
8+
"MD026": false # Trailing punctuation in heading
9+
"MD033": false # Inline HTML
10+
"MD041": false # First line in file should be a top level heading
11+
"MD045": false # OK not to have a description for an image
12+
"MD046": false # Code block style [Expected: fenced; Actual: indented]

docs/API/cli/stack_cli.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# StackCLI
2+
3+
!!! note "Scope"
4+
This page documents the **programmatic** CLI class — handy if you embed the CLI or generate help programmatically.
5+
For end-user command help, see the **CLI** section of the docs.
6+
7+
::: MCPStack.cli.StackCLI
8+
options:
9+
show_root_heading: true
10+
show_source: true
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Claude (ClaudeDesktop) Config Generator
2+
3+
::: MCPStack.core.mcp_config_generator.mcp_config_generators.claude_mcp_config.ClaudeConfigGenerator
4+
options:
5+
show_root_heading: true
6+
show_source: true
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# FastMCP Config Generator
2+
3+
::: MCPStack.core.mcp_config_generator.mcp_config_generators.fast_mcp_config.FastMCPConfigGenerator
4+
options:
5+
show_root_heading: true
6+
show_source: true
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# MCP Config Generators — Registry
2+
3+
::: MCPStack.core.mcp_config_generator.registry
4+
options:
5+
show_root_heading: true
6+
show_source: true
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Universal Config Generator
2+
3+
::: MCPStack.core.mcp_config_generator.mcp_config_generators.universal_mcp_config.UniversalConfigGenerator
4+
options:
5+
show_root_heading: true
6+
show_source: true

docs/API/mcpstackcore.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# MCPStackCore
2+
3+
::: MCPStack.stack.MCPStackCore
4+
options:
5+
show_root_heading: true
6+
show_source: true

docs/API/presets/base.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Preset Base
2+
3+
::: MCPStack.core.preset.base.Preset
4+
options:
5+
show_root_heading: true
6+
show_source: true

0 commit comments

Comments
 (0)