Skip to content

Commit 0cc2324

Browse files
binarykclaude
andcommitted
fix: correct YAML tag format for Mermaid diagram support
Use proper YAML tag URI format for Python name references to ensure MkDocs correctly resolves the superfences format function. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 9b55bae commit 0cc2324

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "aidocs"
3-
version = "0.15.4"
3+
version = "0.15.5"
44
description = "AI-powered documentation generator for web applications. Install docs commands into your Claude Code project."
55
readme = "README.md"
66
license = { text = "MIT" }

src/aidocs_cli/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def __init__(self, name: str):
1515

1616
def python_name_representer(dumper: yaml.Dumper, data: PythonName) -> yaml.Node:
1717
"""Custom YAML representer for Python name references."""
18-
return dumper.represent_scalar("!python/name:" + data.name, "", style="")
18+
return dumper.represent_scalar("tag:yaml.org,2002:python/name:" + data.name, "")
1919

2020

2121
def discover_section(section_dir: Path, docs_root: Path) -> list:

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)