Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Links to SUBMODULES #499

Closed
francescotorsello opened this issue Mar 31, 2023 · 1 comment · Fixed by #645
Closed

Links to SUBMODULES #499

francescotorsello opened this issue Mar 31, 2023 · 1 comment · Fixed by #645

Comments

@francescotorsello
Copy link

francescotorsello commented Mar 31, 2023

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.

@ZedThree
Copy link
Member

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:

ford/ford/utils.py

Lines 189 to 190 in 21d98e5

LINK_TYPES = {
"module": "modules",

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants