-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add attribute support (via 'annotation' directive) (#97)
This PR adds an 'annotation' directive to our Sphinx integration which enables documenting attributes. In Sphinx, attributes are an existing concepts, which refer to what Chapel would call fields. As a result, the `attr` directive was taken, and `attribute` on top of that seemed confusing. @lydia-duncan suggested 'annotation' (perhaps in jest), but I think it's a pretty decent fallback. Another PR to chpldoc will be necessary to actually emit 'annotation' directives; it will not be part of this. Reviewed by @lydia-duncan -- thanks!
- Loading branch information
Showing
2 changed files
with
12 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters