Nexus documentation page templates¶
Templates list questions every page must answer. Adapt headings to tasks and reuse standards by inclusion/linking. New/changed prose follows content/diagram standards; metadata alone does not establish content quality. Tutorial code comes from verified fixtures or pinned external examples.
1. Tutorial¶
Goal and expected completed outcome.
Applicable code/SDK version, Board/OS/mode, tools, working directory and equipment prerequisites.
Inputs, configuration and resources; label complete inputs separately from fragments.
One complete path with commands/APIs, expected results and checks for each step.
Diagnosing common rejection/failure while retaining resources.
Shutdown, drain and cleanup; when results/storage may be reused.
Actual validation records and next steps.
Async tutorials link submission/cancellation/drain sequences; external-SDK tutorials link consumer flows. Without equipment, describe software validation/HIL preparation only rather than claiming hardware steps succeeded.
2. How-to¶
One task and its applicable scope.
Legal Task/IRQ/privilege context, inputs and resource owners.
Shortest complete steps with explicit defaults/exceptions.
Normal results, rejection, timeout/cancel and failure recovery.
Resources returned and responsibilities still retained afterward.
Limitations and authoritative contracts.
Link explanations instead of repeating fundamentals, but never omit lifecycle/concurrency conditions affecting correctness.
3. Reference¶
Item |
Required content |
|---|---|
Field/symbol |
Exact name, type and authority. |
Value |
Units, range, defaults and activation conditions. |
Combination |
Valid/invalid modes, platforms and ABIs. |
Call |
Context, deadlines and input/output ownership. |
Failure |
Rejection conditions, state changes, effects and remaining responsibility. |
Qualification |
Maintained/software/physical scope and evidence entry. |
Generate API declarations; manuals never hand-copy competing signatures. Reference complete configurations or explain fragments. Complex controller/endpoint, resource and memory relationships link structural/exact-reference diagrams.
4. Explanation¶
Problem and constraints.
Current/target structure with diagram identity/sources.
Layer responsibilities, state and resource owners.
Build/runtime stages and distinctions between dependencies, calls and data flow.
Main flows/failure responsibilities; concurrent flows link sequences/state diagrams.
Performance/space costs, tradeoffs and conditions.
Limitations and actual validation scope.
Related contracts, source and how-to guides.
Architecture explanations must include corresponding diagrams; simple facts may reference existing diagrams. Do not redraw equivalent diagrams only to change colors/names. Never merge implementation and target proposals in one unlabeled diagram.
5. Status¶
Separate identities of described code, documentation and qualified source.
Exact configuration/scope/tools and actual execution.
Retrievable evidence, archives/members and verification.
Implemented, executed, unexecuted, failed or blocked items.
Support/qualification boundaries and next exit conditions.
Never aggregate table numbers across scopes; implemented does not replace software/physical passes. Evidence flows acquire software and HIL independently before joining; software never automatically becomes physical qualification.
6. 每页审查清单¶
Readers, goals, versions and scope are explicit.
Steps/rules are actionable/checkable with command prerequisites and expected results.
Objects, units, contexts, borrowing, failures and recovery are explicit.
Current/target/reference and implementation/software/HIL identities stay distinct.
Every diagram entity/edge is explainable and matches source/contracts.
Code/configuration examples have actual validation or explicit fragment rationale.
Prose, diagrams and translations create no competing standards.
References, offline resources, alt/captions and legacy URLs are correct.
Findings/fixes bind actual pages/diagrams and source identities.