Skip to main content

Fortran domain and autodoc extensions to Sphinx

Project description

Purpose

This package provides two Sphinx (http://www.http://sphinx.pocoo.org/) extensions to the Fortran (90) language:

  • sphinxfortran.fortran_domain: Sphinx domain for fortran.

  • sphinxfortran.fortran_autodoc: Auto-documenting fortran code.

License

This package has the same license as VACUMM (http://www.ifremer.fr/vacumm) from which it originates: CeciLL-A (http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.html), which is compatible with the GPL.

Prerequisites

The sphinx and numpy packages.

Installation

Using pip:

pip install sphinx-fortran

From sources:

git clone https://github.com/VACUMM/sphinx-fortran.git
cd sphinx-fortran
python setup.py install

Quick start

  1. Add this extension to you sphinx conf.py.

  2. List you fortran source files in the variable fortran_src of your conf.py.

  3. Generate their documentation in rst files using directives like:

    .. f:automodule:: mymodule

Authors

Stephane Raynaud

Thanks: Thomas Gastine

Documentation

Website: http://sphinx-fortran.readthedocs.org

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

sphinx-fortran-1.0.0.tar.gz (34.2 kB view details)

Uploaded Source

File details

Details for the file sphinx-fortran-1.0.0.tar.gz.

File metadata

File hashes

Hashes for sphinx-fortran-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b48491dde4f5f997c866472bbfbca385e30619d823dc9809cac88a66ed1c6b4b
MD5 bab8936916cfb619629e6219384eb9d0
BLAKE2b-256 a47a795b4a004c8c744e91fdafb6c10238c051f209479579a980219fb1b53bca

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page