Doxygen documentation: Request for development community comments#562
Doxygen documentation: Request for development community comments#562MatthewMasarik-NOAA wants to merge 3 commits into
Conversation
|
Hello all, please review and make any suggestions or comments. We are planning for this to be open for community comments up until Friday, Jan 14th. |
edwardhartnett
left a comment
There was a problem hiding this comment.
See in-line comments...
|
OK, I just noticed that you have a text description of your template for documentation. My comments to the code should also be applied to the template... |
|
OK, I see you have this up on your own website. But GitHub provides a way to host your built documentation, called the gh-pages branch. Here's how to do it:
Now your documentation will appear at: https://noaa-emc.github.io/WW3/. Put a link in your README.md. (See https://github.com/NOAA-EMC/NCEPLIBS-g2 for example.) (The gh-pages feature also has to be turned on in the project settings for the repo.) |
comments
edwardhartnett
left a comment
There was a problem hiding this comment.
Looking real good! Do you want some help setting up the Doxyfile.in?
Also how do you handle version numbers? In the NCEPLIBS we have a file at the top level called VERSION which contains the version number. From there it is pulled in by the build system into the docs and the code.
Sure. If you guys have a way you tend to set them up I'm interested to hear. The file I've been working with is at: Doxyfile. I've made a few small recommended changes so far. Some settings like project brief, logo, etc. are left blank for the time being since we have not discussed content for them yet.
We haven't discussed yet how we'd like to version the doxygen documentation so that's one of the fields we've left empty currently. That sounds like a clean solution though. I think were still nailing down the basic templates at this point and then we will get to some of the polishing like version numbers shortly after. |
|
OK, can you move your Doxyfile to a subdirectory called "docs"? Then, once you have committed these changes, I can submit a PR which turns the Doxyfile into Doxyfile.in, and causes CMake to generate the Doxyfile. At that time we can add the VERSION file, and use it to store the software version. That's how the documentation can then be versioned... |
Yes. I'll make those changes after we have finalized our templates. This PR does not add any of the documentation, it's just to get developer agreement on doxygen headers. |
|
A new PR which takes the headers from above, lists them in a markdown file, and adds them in a 'docs' folder has just been submitted, #585 . The new PR replaces this one. The new PR has no markup to the code, which is what I wanted for this initial submission. |
|
Is this not going to be merged? |
|
Hi @edwardhartnett , I closed this branch and added #585 in it's place. The reason is I had intended to initially just to get consensus on the headers, and not add any marked up code or documentation. #585 takes into account all the comments that had been made here, and put into the Header reference (./docs/ww3_doxy_tmpl.md). I also added an issue #586 that we will start incrementally committing marked up code and documentation. I apologize for making this PR a little more confusing than it needed to be, this was a learning experience for me. Note too that the issue #586 has the 'docs/' folder you requested, and has the Doxygen.in file inside as well, so if you had wanted to make a PR for changes to it please feel free. |
|
OK, great! Good to see all this progress!
…On Mon, Jan 24, 2022 at 6:33 AM Matthew Masarik ***@***.***> wrote:
Hi @edwardhartnett <https://github.com/edwardhartnett> , I closed this
branch and added #585 <#585> in it's
place. The reason is I had intended to initially just to get consensus on
the headers, and not add any marked up code or documentation. #585
<#585> takes into account all the
comments that had been made here, and into the Header reference
(./docs/ww3_doxy_tmpl.md). I also added an issue #586
<#586> that we will start
incrementally committing marked up code and documentation. I apologize for
making this PR a little more confusing than it needed to be, this was a
learning experience for me. Note too that the issue #586
<#586> has the 'docs/' folder you
requested, and has the Doxygen.in file inside as well, so if you had wanted
to make a PR for changes to it please feel free.
—
Reply to this email directly, view it on GitHub
<#562 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJIOMMCH5F4JJOKODL32VX3UXVILDANCNFSM5KHOCYKA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
|
Thank you, @edwardhartnett ! |
Pull Request Summary
Templates for doxygen documentation.
Description
This PR seeks adoption of a set of templates for each Fortran 'code unit' (file, program, subroutine, etc). Each code unit has a section below with the suggested required and optional tags for the template. Links to samples of input and output for the templates are given for each as well. At this time only acceptance of the templates is being considered -- the marked up code and output will follow in a separate PR.
UPDATED: Jan 10th - Addresses comments made by @edwardhartnett
Notes
\version, these are equivalent to the@version.@briefsection by the first period (keep in mind when using '.' in punctuation before the end of the sentence). The blank line following the@briefsentence is not required, but is customary.Templates
FILE
@todo,@remark,@remark,@attention,@warning,@copyright.MODULE
@copyright,@cite,@example,@code,@todo,@bug,@remark,@attention,@warning.PROGRAM
@copyright,@cite,@example,@code,@todo,@bug,@remark,@attention,@warning.SUBROUTINE
@copyright,@cite,@example,@code,@todo,@bug,@remark,@attention,@warning.FUNCTION
@author,@date,@details,@cite,@example,@code,@todo,@bug,@remark,@attention,@warning.GLOBAL VARIABLES (inline documentation)
Please also include the following information:
Issue(s) addressed
Commit Message
Accept doxygen templates.
Check list
Testing