ford icon indicating copy to clipboard operation
ford copied to clipboard

Links to SUBMODULES

Open francescotorsello opened this issue 2 years ago • 1 comments
trafficstars

Hello,

Does FORD support links to SUBMODULES?

Referencing a SUBMODULE (mod) subm of MODULE mod with [[subm]] , [[mod:subm]] or [[mod@subm]] does not work.

francescotorsello avatar Mar 31 '23 06:03 francescotorsello

This is indeed missing I'm afraid. I think #410 looked at implementing links differently, which would be really nice to finish off and get in at some point.

For the time being, I think it might be as simple as expanding the dict of link types: https://github.com/Fortran-FOSS-Programmers/ford/blob/21d98e5349c048d53eda7a228147ada57755b855/ford/utils.py#L189-L190

to include "submodule": "submodules",. PRs welcome! :smile:

ZedThree avatar Mar 31 '23 13:03 ZedThree