I want to comment my code in fortran 90 in order to use doxygen.
I have downloaded the last version of doxygen (so I do not need to use your patch?).
The result (the html page) is not very nice. Nothing is ordered.
What can you advise me to do? Is there a file to include in each .f90 file?
Thanks a lot
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I got some parts working, using an out-of-the-box doxygen-1.5.4
Hints can be obtained from the code snippets below.
At the start I put:
!>@file test.f90
!>@brief main test program
!>@author that's me
!>@date 2008
Before a subroutine, I enter
! my_sub
!
!><summary> This is one of my subroutines
!></summary>
!
!><param name= 'foo'> First argument </param>
!><param name= 'bar'> Second argument </param>
!><remarks> This subroutine should have a more
!> descriptive name
!></remarks>
subroutine my_sub(foo,bar)
integer(4) foo,bar
intent(in) foo,bar
write(*,*)'foo + bar =',foo+bar
end subroutine
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am a bit puzzled with fortran support. Doxygen documentation mentions it, but does not say how the comments need to be marked.
I also found a patch for doxygen on http://dougdevel.org/index.php?page=doxygen.
Thank you,
Mirko
Hi,
I want to comment my code in fortran 90 in order to use doxygen.
I have downloaded the last version of doxygen (so I do not need to use your patch?).
The result (the html page) is not very nice. Nothing is ordered.
What can you advise me to do? Is there a file to include in each .f90 file?
Thanks a lot
I got some parts working, using an out-of-the-box doxygen-1.5.4
Hints can be obtained from the code snippets below.
At the start I put:
!>@file test.f90
!>@brief main test program
!>@author that's me
!>@date 2008
Before a subroutine, I enter
! my_sub
!
!><summary> This is one of my subroutines
!></summary>
!
!><param name= 'foo'> First argument </param>
!><param name= 'bar'> Second argument </param>
!><remarks> This subroutine should have a more
!> descriptive name
!></remarks>
subroutine my_sub(foo,bar)
integer(4) foo,bar
intent(in) foo,bar
write(*,*)'foo + bar =',foo+bar
end subroutine
Have a look at:
http://www.stack.nl/~dimitri/doxygen/docblocks.html#fortranblocks
Cheers, Ron