mkdocs cli

This commit is contained in:
2026-01-20 21:40:18 +05:30
parent 726e7ca6d2
commit a8ba02c57b
13 changed files with 356 additions and 12 deletions

View File

@@ -1,4 +1,5 @@
from typing import Dict, List, Any
from pathlib import Path
from docforge.nav.resolver import ResolvedNav
@@ -25,3 +26,9 @@ class MkDocsNavEmitter:
]
"""
...
def _to_relative(self, path: Path) -> str:
"""
Convert a filesystem path to a docs-relative path.
"""
...