Skip to content

Commit 97bdd5e

Browse files
petercorkeclaude
andcommitted
Fix broken autoclass:: references on matrices/planning doc pages
Both docs/source/matrices.rst and docs/source/planning.rst referenced pgraph.PGraph.PGraph, a class that no longer exists post-rename (it's now _BaseGraph) -- and in fact never existed at that dotted path even before the rename, since the src/pgraph/ layout migration changed the real import path without these two files being updated to match (the same bug already fixed for every other doc page in the type-hints pass, but missed here). autodoc silently failed to import the class on both pages, so "Convert graph to matrix form" and "Path planning" rendered as bare headings with zero API content -- in both the HTML and PDF (verified with a real latexmk run) builds. Caught during final pre-1.0.0 review of a built PDF. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 55c4a0c commit 97bdd5e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎docs/source/matrices.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ Convert graph to matrix form
33

44
These methods convert a graph to a matrix representation .
55

6-
.. autoclass:: pgraph.PGraph.PGraph
6+
.. autoclass:: pgraph.PGraph._BaseGraph
77
:members: distance, adjacency, degree, incidence, Laplacian

‎docs/source/planning.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ Path planning
33

44
These methods find optimal paths from a start vertex to a goal vertex.
55

6-
.. autoclass:: pgraph.PGraph.PGraph
6+
.. autoclass:: pgraph.PGraph._BaseGraph
77
:members: path_BFS, path_UCS, path_Astar

0 commit comments

Comments
 (0)