Skip to content

Docs/api documentation update for release-3.1.0#202

Open
jeipollack wants to merge 135 commits intodevelopfrom
docs/api-documentation-update
Open

Docs/api documentation update for release-3.1.0#202
jeipollack wants to merge 135 commits intodevelopfrom
docs/api-documentation-update

Conversation

@jeipollack
Copy link
Contributor

@jeipollack jeipollack commented Feb 13, 2026

Summary

Updates API documentation for the v3.1.0 release, adding documentation for new inference and instrument packages, restructuring configuration documentation for clarity, and documenting tensorflow-addons as an optional dependency.

What's changed

  • Added API documentation for new inference and instrument packages in api.rst
  • Restructured configuration documentation (configuration.md):
    • Split workflows into "CLI Tasks" vs "Additional Components" sections
    • Added configuration file dependency table showing required vs optional files per task
    • Added new Inference Configuration section documenting inference_config.yaml
    • Clarified that configuration filenames are flexible (only internal structure is fixed)
    • Standardized section titles across all configuration types
    • Fixed markdown formatting and broken anchor links
  • Updated dependencies.md to document tensorflow-addons as optional dependency with manual installation instructions
  • Fixed bullet point rendering issues in data_handler.py and data_zernike_utils.py docstrings
  • Updated example configuration files with clearer inline comments
  • Updated manual CD workflow to correct pip install command and artifact upload path

How to test / verify

  • Build documentation locally and verify all sections render correctly:
  cd docs
  make clean
  make html
  • Check that new inference and instrument packages appear in API documentation
  • Verify configuration section renders properly with tables and markdown links
  • Confirm docstring bullet points render correctly in data_handler and data_zernike_utils API pages
  • Verify documentation deployment via GitHub Pages (already tested in fork)

Scope

  • Documentation / process change

This PR is part of the v3.1.0 release milestone.

Changelog

  • Changelog fragment added (changelog.d/20260213_143539_jennifer.pollack_api_documentation_update.md)

Reviewer Checklist

  • The PR targets the correct base branch (develop, or main for release PRs)
  • The PR is assigned to the developer
  • Appropriate labels are applied
  • The PR is included in relevant projects and/or milestones
  • Description clearly explains what has changed
  • Issue references included, if applicable
  • Code and documentation adhere to current standards (ruff)
  • Documentation updates included, if relevant
  • CI tests are passing
  • All reviewer comments have been addressed

Next Steps / Notes (if applicable)

Documentation has been verified to build and deploy correctly in a fork. The manual CD workflow improvements ensure proper artifact handling for future documentation deployments.

Jennifer Pollack and others added 30 commits February 2, 2026 16:32
…ean up submodule docs, update conf.py, and update pyproject.toml version
- Removed old auto-generated wf_psf.rst from _autosummary
- Updated toc.rst (fixed tab issues, reference api.rst)
- Added api.rst with :recursive: directive and wf_psf.run entrypoint
- Refined __init__.py docstrings for all subpackages for clarity and consistency
- Updated module-level docstrings (purpose, authors, TensorFlow notes, etc.)
- Shorten sections to make developer-friendly
- Added new structure for each section: Purppose, Key Fields, Notes, General Notes, etc, where applicable
- Partial completion - new PR is required to verify optional versus required settings
…odels and tf_modules, add/rm modules, update import statements and tests
…les, update import statements and unit tests
jeipollack and others added 23 commits February 2, 2026 16:47
- Updated classes and methods with complete doc strings
- Added two cache clearing methods to PSFInference and PSFInferenceEngine classes
Rebase dropped commits that removed weights_path from the metrics interface.
Cleaning up remaining references in docstrings and tests.
Use f-strings instead of %-formatting to properly display percent symbols
in metric output.
- Remove tensorflow-addons from environment.yml file
- Remove simulation parameters from example data_config.yaml file
- Naming consistency - rename inference configuration YAML file
- Improve inline comments in example metrics, plotting and training configuration files
- Update pyproject.toml with setup tools to ensure all packages are found by sphinx autosummary
- Remove tensorflow from autodoc_mock_imports list
- Add docstring to conf.py
- Add scriv fragment describing internal changes
- Add API documentation for new inference and instrument packages
- Restructure configuration documentation:
  * Split workflows into CLI tasks vs standalone components
  * Add configuration file dependency table
  * Document inference_config.yaml
  * Clarify filename flexibility and standardize section structure
- Document tensorflow-addons as optional dependency
- Fix bullet point rendering and ruff errors in data_handler.py and data_zernike_utils.py docstrings
- Update example configuration files with clearer inline comments
@jeipollack jeipollack changed the title Docs/api documentation update Docs/api documentation update for release-3.1.0 Feb 13, 2026
@jeipollack jeipollack self-assigned this Feb 13, 2026
@jeipollack jeipollack added the documentation Improvements or additions to documentation label Feb 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

Development

Successfully merging this pull request may close these issues.

2 participants