Documentation Conventions
The documentation site is meant to function as both a user manual and a public API reference. That only works if documentation changes follow consistent conventions.
Content Rules
Document public surfaces by user intent first, then by module structure.
Keep a clear separation between
Stable,Advanced, andExperimental / partialcapabilities.Explain the thermodynamic decision question before explaining the API call.
Keep each guide on the standard structure: purpose, prerequisites, sample case or asset, runnable workflow, expected output, interpretation, and next steps.
Prefer one practical workflow example per guide over long enumerations of loosely related features.
When a new public method or CLI command is added, update both the curated narrative page and the exhaustive reference appendix.
Do not present removed solver, graph-export, or validation command surfaces as supported CLI workflows.
Page Categories
OverviewWhat the package does, when to use it, and how to choose a workflow.
FundamentalsThermodynamic and architectural grounding in package terms.
GuidesTask-oriented walkthroughs that answer one practical question.
APICurated public reference first, exhaustive module appendix second.
ExamplesPackaged notebooks, sample cases, and decision-workflow mapping.
Writing Style
Use the same terminology as the code and the result tables.
Write core OpenPinch concepts in spaced title case in prose, for example
Total Site,Total Process,Heat Pump,Problem Table, andComposite Curve. Reserve hyphenated forms for literal file names, page paths, CLI commands, graph IDs, and other API values.Avoid marketing language and generic claims about optimization.
State package boundaries explicitly when a feature is partial or intentionally lower level.
Link examples, guides, and API pages together so readers can move from concept to execution without guessing.
Docs Maintenance Expectations
Public API changes should ship with docs updates in the same change.
Stable public API changes must update both a task-oriented page and the curated API page for that contract.
New packaged notebooks or sample cases should be added to the examples pages.
New packaged notebooks or sample cases should update docs consistency tests that compare examples docs with
OpenPinch.resources.If a surface is intentionally experimental, keep it out of the stable guides and mark it clearly in the support matrix.
Legacy pages under
docs/user-guideand moveddocs/referenceentry points should remain as orphan transition pages unless a deliberate redirect strategy replaces them.