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

Python API for determining properties of a Fortran docstring

Open
#405 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
458
Forks
138
PR merge metrics
No merged PRs in 30d

Description

I was wondering if ford has a Python API that one can use to determine if
- a Fortran comment is a valid docstring
- the docstring uses `predocmark`
- the docstring uses `docmark_alt`
- Other docstring info and ford settings

I suspect that internally it must have, but I was hoping to use said API to determine during parsing with [`fortls`](https://github.com/gnikit/fortls) to what AST node should the docstring be attached. Currently the fortls documentation parsing is a bit flimsy.

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.