Skip to content

docs: Diátaxis documentation site with strict build passing - #67

Merged
PVE-ECTL merged 5 commits into
mainfrom
docs/improve-documentation
Apr 24, 2026
Merged

docs: Diátaxis documentation site with strict build passing#67
PVE-ECTL merged 5 commits into
mainfrom
docs/improve-documentation

Conversation

@JarryGabriel

Copy link
Copy Markdown
Member

Summary

  • New mkdocs site (Diátaxis: tutorials / how-to / reference / explanation)
  • Auto-generated API reference from source docstrings (mkdocstrings + gen-files)
  • mkdocs build --strict passes clean

Test plan

  • make docs-build — 0 warnings, 0 errors
  • Reviewer: make docs-serve and browse

JarryGabriel and others added 5 commits April 23, 2026 14:55
…rence

Rework the documentation site around the Diátaxis model (tutorials, how-to,
reference, explanation), wire up mkdocs-material with auto-generated API
pages from source docstrings, and fix coherence gaps between prose and code.

- Add mkdocs.yml with mkdocs-material, mkdocs-gen-files (API autogen),
  mkdocs-literate-nav, mkdocstrings and htmlproofer
- Add tutorials/quickstart.md, howto/{index,usage}.md,
  reference/{example-scripts,input-format,output-format}.md,
  explanation/{architecture,extending-steps,input-prioritization,mrv-specification}.md,
  glossary.md
- Document SmallFleetRunnerParams, FlightRunner single-flight usage, and
  the step registry / Protocol extension pattern
- Normalise docstrings (Google style) on fleet/parsing/weather/emissions/
  climate runners for mkdocstrings rendering
- Update README/CONTRIBUTING with new doc layout and build commands
- Switch declared license to EUPL 1.2 in pyproject.toml
- Add docs CI workflow and pydocstyle configuration
- Enable --unsafe for check-yaml to allow mkdocs !!python/name: tags
Skip htmlproofer validation on `reference/api/*` pages. mkdocstrings emits
relative cross-refs (e.g. `flight/#pyneats.runners.flight.FlightRunner`)
that resolve correctly at the served URL but htmlproofer's file-based
lookup doesn't follow `use_directory_urls`, producing false 404s.
mkdocstrings already validates symbol cross-refs at build time.

Also normalise `core/views.py` module docstring to Google style.
@PVE-ECTL
PVE-ECTL merged commit 6ae965a into main Apr 24, 2026
6 checks passed
@PVE-ECTL
PVE-ECTL deleted the docs/improve-documentation branch April 24, 2026 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants