Skip to main content

Chapel domain for Sphinx

Project description

Chapel domain for Sphinx.

https://travis-ci.org/chapel-lang/sphinxcontrib-chapeldomain.svg?branch=master https://coveralls.io/repos/chapel-lang/sphinxcontrib-chapeldomain/badge.svg?branch=master

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.19.tar.gz (25.0 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.19-py3-none-any.whl (19.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sphinxcontrib-chapeldomain-0.0.19.tar.gz
  • Upload date:
  • Size: 25.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.7

File hashes

Hashes for sphinxcontrib-chapeldomain-0.0.19.tar.gz
Algorithm Hash digest
SHA256 493a7fb029a3ef5cbbd31c7ee92b9e410059aa23f0c55320f04e21999270a856
MD5 4234eddde097e7707ddddabc883a20bc
BLAKE2b-256 901bf3adc2466d5b07f290305c53516a989b03b805424862e33c6ed1d85fd902

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sphinxcontrib_chapeldomain-0.0.19-py3-none-any.whl
  • Upload date:
  • Size: 19.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.7

File hashes

Hashes for sphinxcontrib_chapeldomain-0.0.19-py3-none-any.whl
Algorithm Hash digest
SHA256 96f4ccc7f4b3876c6d26d41c9ab09096abf791edf0d26646e71e61e248a2448e
MD5 1def5c68a5c8aaaafa44e27c816087cc
BLAKE2b-256 6768149c2312c5b62514778c936b1d64b8e69d83da798eb44db2dc7854e2b484

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