fix(mkdocs): rebase cross-kind wiki links under directory URLs
All checks were successful
continuous-integration/drone/tag Build is passing

Wiki pages linking to a sibling kind (for example ../lib/...) were emitted verbatim by MkDocs and, with use_directory_urls, resolved into a non-existent <kind>/<kind>/ path. Add a docforge-linkfix plugin (doc-forge 0.0.8) that rebases those links to the repository root.
This commit is contained in:
2026-10-17 17:22:23 +05:30
parent c9e6945c26
commit 09118115a4
7 changed files with 167 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "doc-forge"
version = "0.0.7"
version = "0.0.8"
description = "A renderer-agnostic Python documentation compiler"
readme = "README.md"
requires-python = ">=3.10"
@@ -56,6 +56,9 @@ dependencies = [
[project.scripts]
doc-forge = "docforge.cli.main:main"
[project.entry-points."mkdocs.plugins"]
docforge-linkfix = "docforge.mkdocs_links:LinkFixPlugin"
[project.optional-dependencies]
mkdocs = [
"mkdocs==1.6.1",