Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add/fix/shorten/refresh module index descriptions #25773

Merged
merged 6 commits into from
Aug 26, 2024

Conversation

bradcray
Copy link
Member

@bradcray bradcray commented Aug 16, 2024

This adds and updates module index description comments in support of #25667. Here, I focused on modules I obviously own, key distributions that were lacking a description, and entries that took up multiple lines:

  • BlockCycDist.chpl
  • BlockDist.chpl
  • CyclicDist.chpl
  • PrivateDist.chpl
  • ReplicatedDist.chpl
  • StencilDist.chpl
  • LayoutCS.chpl
  • Math.chpl
  • OS.chpl

In order to add documentation for the block and cyclic distributions, I had to add an explicit module keyword. This flipped it from a prototype module to a production module, popping us into Chapel's stricter error-handling mode. As a result, I had to add some new throws declarations to dsiSerialRead/Write routines to make them pass. Happily, since these are internal routines, it is not a breaking change. (I also removed a commented out and redundant dsiSerialWrite routine in CyclicDist.chpl).

Adding the module keyword (but not doing any other reformatting), I broke our CI's linting of the file and didn't want to wrestle with fixing the indentation here. As a result, I applied the new attribute added by Daniel in #25800 to keep things working for the time being.

Here, I focused on modules I obviously own, key distributions that
were lacking a description, and entries that took up multiple lines.

---
Signed-off-by: Brad Chamberlain <[email protected]>
@lydia-duncan lydia-duncan self-requested a review August 23, 2024 16:27
Copy link
Member

@lydia-duncan lydia-duncan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks for taking it on!

@bradcray bradcray merged commit cb524f6 into chapel-lang:main Aug 26, 2024
7 checks passed
@bradcray bradcray deleted the module-index-fixes branch August 26, 2024 16:41
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