Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vacumm/sphinx-fortran
Fortran domain and autodoc extensions to Sphinx
https://github.com/vacumm/sphinx-fortran
documentation fortran numpy sphinx-doc sphinx-extension
Last synced: 4 days ago
JSON representation
Fortran domain and autodoc extensions to Sphinx
- Host: GitHub
- URL: https://github.com/vacumm/sphinx-fortran
- Owner: VACUMM
- License: other
- Created: 2015-10-02T08:39:04.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-12-05T13:46:02.000Z (almost 2 years ago)
- Last Synced: 2024-11-09T19:19:43.582Z (5 days ago)
- Topics: documentation, fortran, numpy, sphinx-doc, sphinx-extension
- Language: Python
- Homepage:
- Size: 189 KB
- Stars: 45
- Watchers: 17
- Forks: 28
- Open Issues: 27
-
Metadata Files:
- Readme: README.rst
- License: LICENSE.txt
Awesome Lists containing this project
README
Sphinx-Fortran extensions
=========================.. image:: https://badge.fury.io/py/sphinx-fortran.svg
:target: https://badge.fury.io/py/sphinx-fortran.. image:: https://travis-ci.org/VACUMM/sphinx-fortran.svg?branch=master
:target: https://travis-ci.org/VACUMM/sphinx-fortran.. image:: https://readthedocs.org/projects/sphinx-fortran/badge/?version=latest
:target: http://sphinx-fortran.readthedocs.org/en/latest/?badge=latestPurpose
-------This package provides two Sphinx (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
------------With ``pip``::
pip install sphinx-fortran
With ``conda``::
conda install -c vacumm -c conda-forge sphinx-fortran
From sources::
git clone https://github.com/VACUMM/sphinx-fortran.git
cd sphinx-fortran
python setup.py installQuick start
-----------1. Add this extension to your 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
Bugs and requests
-----------------Please go to this GitHub page:
https://github.com/VACUMM/sphinx-fortran/issuesAuthors
-------Stephane Raynaud (stephane.raynaud(at)gmail.com)
Thanks: Thomas Gastine and other pull request contributors.
Documentation
-------------Website: http://sphinx-fortran.readthedocs.org