Skip to content

Commit b1911ee

Browse files
author
Damian Rouson
authored
Merge pull request #12 from sourceryinstitute/update-docs
doc: update README.md & ford project file
2 parents 8603221 + 18854b3 commit b1911ee

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,13 @@ Classes
4747

4848
Prerequisites
4949
-------------
50-
The following are the versions or commits currently employed in
51-
developing and testing. Earlier versions or commits might work also.
50+
The following are the prerequisite package versions/commits currently
51+
employed in developing and testing (_earlier versions/commits might work also_):
5252

5353
* Compiler: [GNU Fortran] (gfortran) 10.2.0
54-
* Parallel runtime library: [OpenCoarrays] 2.9.0
54+
* Parallel runtime library: [OpenCoarrays] 2.9.2
5555
* Fortran package manager: [fpm] 7d320295c6fe56cc767b352bd26f0466aa29ac5c
56+
* _Optional_: [FORD] 6.0.0 for producing HTML documentation.
5657

5758
This library also uses the [vegetables] unit testing framework, which
5859
the [fpm] build system will install automatically.
@@ -75,13 +76,16 @@ emulated instrinsic procedures, which are intended for use with
7576
compiler versions that lack support for the named features. Delete
7677
those flags with compilers that support these features.
7778

78-
Build documentation
79-
-------------------
79+
Building the documentation
80+
--------------------------
81+
After installing python and `ford` (via `pip install ford`), execute
8082
```zsh
8183
ford doc/ford-documentation.md
8284
```
85+
after which opening subdirectory `doc/html/index.html` in a browser.
8386

8487
[GNU Fortran]: https://gcc.gnu.org
8588
[OpenCoarrays]: https://github.com/sourceryinstitute/opencoarrays
8689
[fpm]: https://github.com/fortran-lang/fpm
8790
[vegetables]: https://gitlab.com/everythingfunctional/vegetables
91+
[FORD]: https://github.com/Fortran-FOSS-Programmers/ford

doc/ford-documentation.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
project:
22
summary: A Fortran 2018 utility library.
33
src_dir: ../src
4+
src_dir: ../tests
45
output_dir: html
56
preprocess: true
67
macro: FORD

0 commit comments

Comments
 (0)