inire/plans/documentation-improvements.md
Jan Petykiewicz eac083a37d Refine routing geometry checks and streamline documentation
Report coincident terminals and unusable seeds per net, update custom bend handling and verification, and cover the revised behavior with regression tests.

Shorten the user and developer guides around reader tasks and keep the illustrated routing walkthrough and reference links easy to find.
2026-11-29 23:12:28 -08:00

5.3 KiB

Documentation editing plan

Treat familiarity with Python and layout geometry as the starting point for users. Contributors also know how to call Inire and read a result. Explain Inire-specific inputs and decisions where they first affect a task.

Reader knowledge by section

Use these notes during edits. When a heading has inbound links, check the starting knowledge for a reader who opens that heading directly. Name any earlier example whose variables or setup it uses.

Page or section Starting knowledge New information or action
README quick start Python and two port coordinates Install, route one net, recognize success
User and developer guide indexes The task at hand Pick the right reference, workflow, example, or check
Layout guide / Define the inputs Ports, widths, and keepouts in an existing layout Integer port positions, travel headings, and concrete Inire inputs
Layout guide / Route between placed crossings How to describe a net and a keepout Transform the device ports and leave room for the route to reach them
Layout guide / Save a placement recipe How to obtain a routing result Keep the resolved net, moves, geometry settings, and coordinate unit
Layout guide / Reuse an existing route A verified result or imported polygons Choose movable seeds or fixed geometry and replay with the resolved net
Troubleshooting / Read the result A run and a net ID Interpret the outcome and find the next check
Troubleshooting / Why a net stopped short An unresolved route Check the capacity bound, turn room, and search budget
Troubleshooting / Modes and settings The observed symptom or desired route behavior Choose a mode or change one setting and compare results
Fabrication / Ports and length Placed-cell port data or a known authored length Position a taper or apply a circuit length tolerance
Fabrication / Layers and coplanar envelopes A process layer map or CPW cross-section Route by collision plane and bend profile, or route a gap envelope
API / Call and inputs The public call or input type to look up Signatures, units, accepted values, and callback behavior
API / Seeds and results A proposed move sequence or a returned run Replay requirements and the fields to inspect
API / Options The setting to change Its default, effect, and range
Architecture / Automatic routing An Inire run and its outcome Coverage target, candidate order, fallback, and stopping rules
Architecture / Detailed search and congestion What the worker is being asked to route Move proposals, pruning, installed-path checks, and pair repair
Architecture / Geometry and refinement A seed or a candidate path How physical polygons are checked and when a detour is accepted
Architecture / Validate a change The affected subsystem The relevant entry point and local check
Walkthrough / Load the board Ports and keepouts See how track capacity sets the target
Walkthrough / Assign lanes The initial board and target Read waypoint lanes and see where the first plan ends
Walkthrough / Turnaround The westbound initial arrival See what moves to make the arrival eastbound
Walkthrough / Verify and refine A candidate seed set Compare installed polygons and the refined route
Walkthrough / Inspect the result The verified layout Find the selected stage and search effort
Walkthrough / Compare modes and guide search The observed automatic run Compare all modes and read an actual mesh and partial path
Topological routing / Corridor planning Guide or seed mode and the layout Space, triangle crossings, lanes, and physical path realization
Topological routing / Diagnose and reproduce An unresolved route or a comparison to repeat Interpret corridor evidence and find the benchmark scenario
Diagnostics / Reports and metrics A change in coverage, route, or time Locate the stage and pick the counters to compare
Diagnostics / Traces and comparison A run or change to investigate Collect the right trace and read its geometry or parity output
Benchmarks / Cases and profiles A behavior to measure Choose a workload, budget, and comparison command
Benchmark fixtures and results The selected workload or policy change Find provenance, reproduce input, or interpret prior measurements
Examples and gallery A routing task or feature to try Choose a runnable case and identify what its figure demonstrates

Editing and review

  • Start with the layout guide, architecture, and complex-routing walkthrough. Apply the same reader check to the remaining active pages.
  • Use prose for reasoning, steps for procedures, tables for lookups, and short link lists for navigation and code entry points. Link terms directly when it helps readers identify what they can open.
  • Read each section for repeated context, unexplained terms, and text that duplicates a nearby example or caption. Keep figures that reveal intermediate geometry.
  • Walk through layout setup, partial-route diagnosis, placement, and a developer change. Run edited examples and confirm their stated results.
  • Check local links and images, preserve existing anchors, and keep every active page within two links of the user or developer guide. Archive and planning pages are exempt.