Skip to content

Add Doxygen-to-Python docstring generation and update module documentation - #260

Open
jaycedowell wants to merge 12 commits into
masterfrom
docs_update
Open

Add Doxygen-to-Python docstring generation and update module documentation#260
jaycedowell wants to merge 12 commits into
masterfrom
docs_update

Conversation

@jaycedowell

Copy link
Copy Markdown
Member

This adds a build step that extracts documentation from C header Doxygen comments and generates Python docstrings for the ctypes function wrappers. The docstrings are applied at runtime when bifrost.libbifrost is imported, making help() useful for the low-level API functions.

Also updates docstrings across Python modules and blocks, and adds Doxygen documentation to C headers.

…ation.

This adds a build step that extracts documentation from C header Doxygen
comments and generates Python docstrings for the ctypes function wrappers.
The docstrings are applied at runtime when bifrost.libbifrost is imported,
making help() useful for the low-level API functions.

Also updates docstrings across Python modules and blocks, and adds Doxygen
documentation to C headers.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@codecov-commenter

codecov-commenter commented Jan 27, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 35.71429% with 9 lines in your changes missing coverage. Please review.
✅ Project coverage is 67.03%. Comparing base (1489275) to head (03653a6).

Files with missing lines Patch % Lines
python/bifrost/libbifrost.py 27.27% 8 Missing ⚠️
python/bifrost/portaudio.py 50.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #260      +/-   ##
==========================================
- Coverage   67.10%   67.03%   -0.08%     
==========================================
  Files          67       67              
  Lines        6001     6012      +11     
==========================================
+ Hits         4027     4030       +3     
- Misses       1974     1982       +8     
Files with missing lines Coverage Δ
python/bifrost/address.py 96.96% <ø> (ø)
python/bifrost/blocks/__init__.py 93.54% <ø> (ø)
python/bifrost/blocks/accumulate.py 94.59% <ø> (ø)
python/bifrost/blocks/binary_io.py 93.33% <ø> (ø)
python/bifrost/blocks/copy.py 100.00% <ø> (ø)
python/bifrost/blocks/correlate.py 98.11% <ø> (ø)
python/bifrost/blocks/detect.py 19.40% <ø> (ø)
python/bifrost/blocks/fdmt.py 83.33% <ø> (ø)
python/bifrost/blocks/fft.py 16.25% <ø> (ø)
python/bifrost/blocks/fftshift.py 24.44% <ø> (ø)
... and 25 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

jaycedowell and others added 11 commits January 27, 2026 14:32
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add bifrost-config script that reports build configuration for external
extensions, including compiler flags, include/library paths, and CUDA
settings. Update tutorial 8 to document the external extension workflow
as the recommended approach for C/C++ extensions.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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