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.29.tar.gz (26.7 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.29-py3-none-any.whl (19.9 kB view details)

Uploaded Python 3

File details

Details for the file sphinxcontrib-chapeldomain-0.0.29.tar.gz.

File metadata

File hashes

Hashes for sphinxcontrib-chapeldomain-0.0.29.tar.gz
Algorithm Hash digest
SHA256 1c8156038910f1c64c00420f4ab0d72d4cef7a6128bed4cc7ea52d8fb3374c6a
MD5 7679dfb5fa5332134573f12aa3d656f6
BLAKE2b-256 6df0e459ceac2e16c41a5769d4eb21d8b7eccde0f011c01233b989c0a17f0ade

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sphinxcontrib_chapeldomain-0.0.29-py3-none-any.whl
Algorithm Hash digest
SHA256 fd3cb34b6e4300ffaf36d9845505f8a0924ad45b0f86c557c9c694a325d64210
MD5 735b42b2f1ea9c4cc21863457686f971
BLAKE2b-256 b99f65b3f973c71bf3559995860f01aac2fc98841b70fc5cc4de9c9b2d3a00b5

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