Difference between revisions of "Doxygen"
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
| − | Doxygen now supports FORTRAN 90 | + | Doxygen now supports FORTRAN 90 using !> and !< for special comments and !> or !! for special comment continuation. For example |
<pre> | <pre> | ||
!> This is documentation of the | !> This is documentation of the | ||
!! subroutine test. | !! subroutine test. | ||
| − | !! @param | + | !! @param B doc for second argument |
!! @todo Handle special case | !! @todo Handle special case | ||
subroutine test(A,B,C) | subroutine test(A,B,C) | ||
implicit none | implicit none | ||
| − | Type(mytype), intent(in) :: A !< | + | Type(mytype), intent(in) :: A !< doc for first arg |
Type(other), intent(in) :: B | Type(other), intent(in) :: B | ||
| − | Type(another), intent(out) :: C !< | + | Type(another), intent(out) :: C !< doc for thrid arg |
</pre> | </pre> | ||
| + | Examples of projects documented using this system are [http://www.dougdevel.org/doug/docs/ DOUG] and | ||
| + | [http://titus.phy.qub.ac.uk/Programs/TDTB_UJ/ TDTB+UJ ] | ||
Revision as of 08:48, 27 March 2008
Doxygen now supports FORTRAN 90 using !> and !< for special comments and !> or !! for special comment continuation. For example
!> This is documentation of the
!! subroutine test.
!! @param B doc for second argument
!! @todo Handle special case
subroutine test(A,B,C)
implicit none
Type(mytype), intent(in) :: A !< doc for first arg
Type(other), intent(in) :: B
Type(another), intent(out) :: C !< doc for thrid arg
Examples of projects documented using this system are DOUG and TDTB+UJ