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:

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.14.tar.gz (23.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.14-py3.6.egg (26.1 kB view details)

Uploaded Egg

File details

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

File metadata

File hashes

Hashes for sphinxcontrib-chapeldomain-0.0.14.tar.gz
Algorithm Hash digest
SHA256 90a220a2019bb24205ac4780a6f9ee4956092836ead3a40d1b6024b7a46a79a1
MD5 74eb316f17b488ba5793101501756cc0
BLAKE2b-256 5e8d653ce0c6f7cc3f73492a7c31c9123e0331e51e00562d193a77bf02aa008c

See more details on using hashes here.

File details

Details for the file sphinxcontrib_chapeldomain-0.0.14-py3.6.egg.

File metadata

  • Download URL: sphinxcontrib_chapeldomain-0.0.14-py3.6.egg
  • Upload date:
  • Size: 26.1 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.6.5

File hashes

Hashes for sphinxcontrib_chapeldomain-0.0.14-py3.6.egg
Algorithm Hash digest
SHA256 3a84d43d79b62d9968ffbfab352f7b8d6967e6bc2883db96766aac57b56a4165
MD5 118c72df713f557ebf1b12f619ff7728
BLAKE2b-256 09f90ae054ced42e01efba8ed47497e75862c9f436c2d8ee1e10310537ea746e

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