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

Generic procedures detection #18

Open
RomuloPBenedetti opened this issue Dec 9, 2018 · 3 comments
Open

Generic procedures detection #18

RomuloPBenedetti opened this issue Dec 9, 2018 · 3 comments

Comments

@RomuloPBenedetti
Copy link

Generic procedures are not detected as functions/subroutines, the same for operator overloading. Any chance it will be implemented? Or maybe I'm doing something wrong?

example:

    module class_instrumentalization
        ...
        private

        interface run
                module procedure run_list, run_obj 
        end interface
    
    public :: run
    ...
    .. automodule:: extensionmodule
       :members:
       :undoc-members:
       :show-inheritance:

current result:

image

@dcaliste
Copy link
Contributor

dcaliste commented Apr 6, 2020

I'm working on this and have a working tree, see https://gitlab.com/l_sim/sphinx-fortran branch lsim. It requires some modification in crackfortran from numpy though, that I'm trying to get merged (numpy/numpy#15006).
As soon as it's going on on Numpy side, I'll submit a MR here with the code introducing support for interfaces.

@khoogveld
Copy link

Dear all, we are facing the same issue while documenting a Fortran code with sphinx-fortran in my team. Any chance the developments of @dcaliste will be merged in the master branch of sphinx-fortran?

@dcaliste
Copy link
Contributor

dcaliste commented Nov 1, 2023

Thanks for pinging. I forgot I commented here about it. Most of the Numpy patches have been adopted upstream. Next week, I'll tidy my things in my lsim branch and see if I can submit a proper PR here.

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

No branches or pull requests

3 participants