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.36.tar.gz (27.2 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.36-py3-none-any.whl (20.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for sphinxcontrib_chapeldomain-0.0.36.tar.gz
Algorithm Hash digest
SHA256 a35677589b27f8b52deabc0754538d5866c3d59a317f50208ff07981be41b655
MD5 06e1038f0c156583eafc5f636e53ed93
BLAKE2b-256 45a676b2558a0da6217adb22c59b332c74323b7e814a066a34c2cef5b5ef645f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sphinxcontrib_chapeldomain-0.0.36-py3-none-any.whl
Algorithm Hash digest
SHA256 badbab30cb3f16d7948992f863cb24c1a870dfe02f0753e5a6ba5580f6ed0c65
MD5 8086ffe4156356103382d981f197b327
BLAKE2b-256 c6a07673c1956e9e520897b5f447ec4f76264c28eafeb5642a5883cf60ce3f06

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