Chapel domain for Sphinx
Project description
Package documentation is available on readthedocs.org.
Installation
To install:
python3 -m pip install sphinxcontrib-chapeldomain
To install from source on github:
git clone https://github.com/chapel-lang/sphinxcontrib-chapeldomain cd sphinxcontrib-chapeldomain python setup.py install
Making Changes
Test and commit changes
Merge your changes
Generate a new PyPI release
Making a Release
Go to main page for repo
Click “Releases” on right side of screen
Click “Draft a new release” button on top of screen
For the tag, make a new tag with the new version number
You can generate the release notes via the “generate release notes” button, comparing against the most recent release. This will autofill in the details for you
- Click “Publish release”
This will trigger the workflow to push a new release to PyPI, assuming no problems have snuck into our release procedure since the last time it was run
Open a PR bumping the version to the next version number so that we’re ready for the next change. This should always be the first PR in a new release (otherwise we’ll have build issues). This can be done by running the ‘bump-version’ GitHub Action, which will create the PR for you.
In case of issues, the release pushing job is in .github/workflows/python-publish.yml
You can modify it to try and get things to work. If the issue has something to do with what was pushed to PyPI, you can adjust it to send to https://test.pypi.org/ instead and download from there. You’ll want to remove the bad version from PyPI in that case, which will require access to a user account associated with the repository on PyPI.
Getting Started
This is an example that covers several features of the Chapel domain:
.. chpl:module:: GMP
:synopsis: multiple precision integer library
.. chpl:record:: BigNum
multiple precision instances
.. chpl:method:: proc add(a:BigNum, b:BigNum)
Add two big ints, ``a`` and ``b``, and store the result in ``this``
instance.
:arg a: BigNum to be added
:type a: BigNum
:arg BigNum b: BigNum to be added
:returns: nothing, result is stored in current instance
.. chpl:itermethod:: iter these() ref
Arbitrary iterator that returns individual digits of this instance.
:ytype: reference
:yields: reference to each individual digit of BigNum
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sphinxcontrib_chapeldomain-0.0.40.tar.gz.
File metadata
- Download URL: sphinxcontrib_chapeldomain-0.0.40.tar.gz
- Upload date:
- Size: 30.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
203d8f61ea83ee21f0194d40a1df803645a4e30e8a407d369bc59fbc07ceec23
|
|
| MD5 |
af63049b73862814c2081e650f92abe3
|
|
| BLAKE2b-256 |
0fb84624bcf463c7caf46a93b1a06b9cda82f24f57232423dcc33ecca744f957
|
File details
Details for the file sphinxcontrib_chapeldomain-0.0.40-py3-none-any.whl.
File metadata
- Download URL: sphinxcontrib_chapeldomain-0.0.40-py3-none-any.whl
- Upload date:
- Size: 23.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e28799cb3bb0a5e63b5b92b6f4e6d0b5723f49e4fc7c5da140228c061638df44
|
|
| MD5 |
37cf3ecc03c735b7d2526e9ad09a52fd
|
|
| BLAKE2b-256 |
36204297c878e384cb098f60126a2f08a92178580b6576a213927cf6f0b80a45
|