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.31.tar.gz (26.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.31-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for sphinxcontrib-chapeldomain-0.0.31.tar.gz
Algorithm Hash digest
SHA256 4879f16ccd4a5a4ccb9403c8513b89c79f86e54b46a24c8c4385b2e3b1c5fe9f
MD5 5bebc5a9f92a82ee0059a545aca23fac
BLAKE2b-256 4728e317e705d4e1f71c0ee07ae8311ed33ae4971c038ff6a06bda75ce359fcf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sphinxcontrib_chapeldomain-0.0.31-py3-none-any.whl
Algorithm Hash digest
SHA256 cafc17f57ccf3a4a3d7ac135aa13fe19e21251e122e53c354831ddc5de97b54f
MD5 de225f728e595aea0266b4ba412c0e4f
BLAKE2b-256 c610f9c1fbfeeb6f234eacdf17f674f762fdfc2a312dfa9b5d3ade00efe86db0

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