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.22.tar.gz (25.4 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.22-py3-none-any.whl (19.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sphinxcontrib-chapeldomain-0.0.22.tar.gz
  • Upload date:
  • Size: 25.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12

File hashes

Hashes for sphinxcontrib-chapeldomain-0.0.22.tar.gz
Algorithm Hash digest
SHA256 5161effeb91e124e41f4293dd8b6a04e11245ddb6135257c3eb885b00b413386
MD5 30d67029a047ce709f0b19155a9007aa
BLAKE2b-256 114b720fca049c94dbfdd81494e9d7aafa5642c705c364a3b5032a26e71757ec

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sphinxcontrib_chapeldomain-0.0.22-py3-none-any.whl
  • Upload date:
  • Size: 19.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12

File hashes

Hashes for sphinxcontrib_chapeldomain-0.0.22-py3-none-any.whl
Algorithm Hash digest
SHA256 fb1d4ea1d4d126b7d2711f6c1a4bc261507dfc2d7d762b9aeaf58e375fb46383
MD5 1fb608f0231ec80aa0db5c8b2475724d
BLAKE2b-256 4c2a7a66b336758e419a7d88b4e7b5b2333bf5705537c10579a071d92937ca75

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