Skip to content

Document the public API and organize the docs pages#188

Merged
mtfishman merged 5 commits into
mainfrom
mf/core-docstrings
Jun 26, 2026
Merged

Document the public API and organize the docs pages#188
mtfishman merged 5 commits into
mainfrom
mf/core-docstrings

Conversation

@mtfishman

Copy link
Copy Markdown
Member

Summary

Documents the public API and organizes the docs into curated pages. The exported and @compat public names now carry docstrings with examples, and the index and tensor accessors and operator helpers that ITensorNetworksNext already relies on are now exported. The docs gain a User Interface page (the stable index, tensor, constructor, algebra, and broadcasting API, organized by topic) and a Developer Interface page (the named-array types and operations for implementing a tensor type, plus the experimental operator API), alongside the auto-generated Reference. Also adds aligneddims, the view counterpart of aligndims, and drops the unused to_inds from the public list.

Bumps the version to 0.8.4.

Documents the public API and organizes the docs into curated pages. The exported and `@compat public` names now carry docstrings with examples, and the index and tensor accessors and operator helpers that ITensorNetworksNext already relies on are now exported. The docs gain a User Interface page (the stable index, tensor, constructor, algebra, and broadcasting API, organized by topic) and a Developer Interface page (the named-array types and operations for implementing a tensor type, plus the experimental operator API), alongside the auto-generated Reference. Also adds `aligneddims`, the view counterpart of `aligndims`, and drops the unused `to_inds` from the public list.

Bumps the version to 0.8.4.
@codecov

codecov Bot commented Jun 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.77%. Comparing base (5e4619d) to head (0b3650e).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #188      +/-   ##
==========================================
+ Coverage   72.22%   72.77%   +0.54%     
==========================================
  Files          28       28              
  Lines        1480     1480              
==========================================
+ Hits         1069     1077       +8     
+ Misses        411      403       -8     
Flag Coverage Δ
docs 21.98% <ø> (+3.48%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

The tensor show method qualifies the element type relative to the active module, so
`using ITensorBase: ITensorBase` left the doctests and `@example` outputs rendering
`ITensorBase.ITensor` instead of `ITensor`, which failed the doctest comparison.
@mtfishman mtfishman merged commit 652a483 into main Jun 26, 2026
18 checks passed
@mtfishman mtfishman deleted the mf/core-docstrings branch June 26, 2026 18:54
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.

1 participant