Skip to main content

Chapel domain for Sphinx

Project description

Chapel domain for Sphinx.

https://github.com/chapel-lang/sphinxcontrib-chapeldomain/actions/workflows/CI.yml/badge.svg https://codecov.io/gh/chapel-lang/sphinxcontrib-chapeldomain/branch/main/graph/badge.svg

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

  1. Test and commit changes

  2. Merge your changes

  3. Generate a new PyPI release

Making a Release

  1. Go to main page for repo

  2. Click “Releases” on right side of screen

  3. Click “Draft a new release” button on top of screen

  4. For the tag, make a new tag with the new version number

  5. 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

  6. 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

  7. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sphinxcontrib_chapeldomain-0.0.40.tar.gz (30.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sphinxcontrib_chapeldomain-0.0.40-py3-none-any.whl (23.2 kB view details)

Uploaded Python 3

File details

Details for the file sphinxcontrib_chapeldomain-0.0.40.tar.gz.

File metadata

File hashes

Hashes for sphinxcontrib_chapeldomain-0.0.40.tar.gz
Algorithm Hash digest
SHA256 203d8f61ea83ee21f0194d40a1df803645a4e30e8a407d369bc59fbc07ceec23
MD5 af63049b73862814c2081e650f92abe3
BLAKE2b-256 0fb84624bcf463c7caf46a93b1a06b9cda82f24f57232423dcc33ecca744f957

See more details on using hashes here.

File details

Details for the file sphinxcontrib_chapeldomain-0.0.40-py3-none-any.whl.

File metadata

File hashes

Hashes for sphinxcontrib_chapeldomain-0.0.40-py3-none-any.whl
Algorithm Hash digest
SHA256 e28799cb3bb0a5e63b5b92b6f4e6d0b5723f49e4fc7c5da140228c061638df44
MD5 37cf3ecc03c735b7d2526e9ad09a52fd
BLAKE2b-256 36204297c878e384cb098f60126a2f08a92178580b6576a213927cf6f0b80a45

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page