Branch: refs/heads/main
Revision: a97990d
Author: arezaii
Link: Unavailable
Log Message:
Merge pull request #63 from arezaii/domain-add-operator
feat: add operator directives and op role
This PR adds two directives for operators
. One of opfunction
or
opmethod
will be chosen depending on if the operator
is defined at the
module level or inside a record/class.
It also adds a single new role for operators, op
, which can be used in the
rst
docs to link to previously defined opfunction
or opmethod
entries.
A few tests were also added to verify the new directives were functioning
as intended.
TESTING:
-
all included
UnitTest
tests pass -
can generate Chapel docs with production
chpldoc
-
can generate Chapel docs with
dyno-chpldoc
reviewed by @lydia-duncan - thanks!
Signed-off-by: arezaii ahmad.rezaii@hpe.com
Modified Files:
M sphinxcontrib/chapeldomain/__init__.py
M test/test_chapeldomain.py
Compare: https://github.com/chapel-lang/sphinxcontrib-chapeldomain/compare/75ed4f746696...a97990da2c5a