Skip to main content

FORD

This is an automatic documentation generator for modern Fortran programs. FORD stands for FORtran Documenter. As you may know, “to ford” refers to crossing a river (or other body of water). It does not, in this context, refer to any company or individual associated with cars.

Ford was written due to Doxygen’s poor handling of Fortran and the lack of comparable alternatives. ROBODoc can’t actually extract any information from the source code and just about any other automatic documentation software I found was either proprietary, didn’t work very well for Fortran, or was limited in terms of how it produced its output. f90doc is quite good and I managed to modify it so that it could handle most of Fortran 2003, but it produces rather ugly documentation, can’t provide as many links between different parts of the documentation as I’d like, and is written in Perl (which I’m not that familiar with and which lacks the sort of libraries found in Python for producing HTML content).

The goal of FORD is to be able to reliably produce documentation for modern Fortran software which is informative and nice to look at. The documentation should be easy to write and non-obtrusive within the code. While it will never be as feature-rich as Doxygen, hopefully FORD will be able to provide a good alternative for documenting Fortran projects.

Capabilities

Current features include:

  • the ability to extract information about variables, procedures, procedure arguments, derived types, programs, and modules from the source code.

  • the ability to extract documentation from comments in the source code.

  • LaTeX support in documentation using MathJax.

  • searchable documentation, using Tipue Search.

  • author description and social media (including Github!) links.

  • links to download the source code.

  • links to individual files, both in their raw form or in HTML with syntax highlighting.

  • use of Markdown to type-set documentation.

  • links between related parts of the software.

  • Bootstrap CSS for the documentation, making it both functional and pretty.

  • configurable settings.

Installation

The simplest way to install FORD is using pip. This can be done with the command

sudo pip install ford

Pip will automatically handle all dependencies for you. If you do not have administrative rights on the computer where you want to produce documentation, pip will allow you to install FORD and its dependencies in a virtualenv located somewhere in your home directory.

Usage

See the documentation in the README on Github. A sample of FORD’s output can be found here.

Metadata

Release files for FORD 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for FORD 1.0.1
File Size Uploaded Provenance Actions
FORD-1.0.1.tar.gz 568.4 kB Without provenance Details for FORD-1.0.1.tar.gz

Release files / FORD-1.0.1.tar.gz

Download URL FORD-1.0.1.tar.gz
Size 568.4 kB
Tags Source
SHA-256 checksum
How to use checksums
258b0ca4ad1d8fd5a3789f536d5842d9d3afd0569bea6be486e12808ccfa564a
BLAKE2b-256 checksum
How to use checksums
ab5db4a3365c8cd1c5eba17ed4ab096882e54c05300d605c88c99fca7dab64ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for FORD 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page