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

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.37.tar.gz (27.9 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.37-py3-none-any.whl (20.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for sphinxcontrib_chapeldomain-0.0.37.tar.gz
Algorithm Hash digest
SHA256 f4bb8f7fea74bbb12ad79e415c81e31221b7317f133333f71dbab7d7cabb3ad1
MD5 46c28f6701429a02d552f9b524386c5d
BLAKE2b-256 d0df50f12410f180c5f22bfebff39c35c7f9980f933a1fee1ccf6dea9fcb74ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sphinxcontrib_chapeldomain-0.0.37-py3-none-any.whl
Algorithm Hash digest
SHA256 7fe1a13364975c19e1539ce7f9f004adb1108965dd65e93fa263de9efa3a0d35
MD5 477c5de1089665da3c18f6ae9c7b374e
BLAKE2b-256 e41637133b0035e62ce3a14c4da07e2f7b1ed43da9c6d9a3eb647567ba8e7412

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