Fortran-FOSS-Programmers / Fortran-FOSS-Programmers/ford

Including source code for MODULE PROCEDURES when `source: true`

Open
#355 2 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
Python
Stars
458
Forks
138
PR merge metrics
No merged PRs in 30d

Description

I have noticed that, when the implementation of a MODULE FUNCTION or a MODULE SUBROUTINE, whose interface is in MODULE foo, is done in a SUBMODULE of MODULE foo using the statement MODULE PROCEDURE, the source code of the procedure is not included in the documentation, even though `source: true`.

I have tried to use the statement MODULE FUNCTION in the implementation (which forces me to redeclare the arguments and the result of the function, so I would really like to avoid that) and the source code appears in the documentation.

As a feature request, can the source code be included in the documentation even when using MODULE PROCEDURE?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.