Open rhdtownsend opened 2 years ago
How can I document a type-bound procedure with sphinx-fortran? Suppose I had the code
module mymod
type foo real :: a contains subroutine do_stuff end type foo
contains
subroutine do_stuff(self) class(foo) :: self print *,self%a end subroutine do_stuff
end module mymod
...then what syntax do I need to use with sphinx-fortran to indicate that the do_stuff subroutine is bound to the foo type?
How can I document a type-bound procedure with sphinx-fortran? Suppose I had the code
module mymod
type foo real :: a contains subroutine do_stuff end type foo
contains
subroutine do_stuff(self) class(foo) :: self print *,self%a end subroutine do_stuff
end module mymod
...then what syntax do I need to use with sphinx-fortran to indicate that the do_stuff subroutine is bound to the foo type?