Skip to content

[WIP] JOSS - Improve Documentation for vtkvmtk C++ classes#295

Merged
rlizzo merged 9 commits into
vmtk:masterfrom
rlizzo:joss-cpp-documentation
May 25, 2018
Merged

[WIP] JOSS - Improve Documentation for vtkvmtk C++ classes#295
rlizzo merged 9 commits into
vmtk:masterfrom
rlizzo:joss-cpp-documentation

Conversation

@rlizzo

@rlizzo rlizzo commented May 22, 2018

Copy link
Copy Markdown
Member

Addresses point two of #288 (comment) for openjournals/joss-reviews#745.

Initial work of improving vtkvmtk c++ documentation.

For transparency in the review process: this is a collaborative effort between @lantiga and myself. I have begun fixing up the documentation and adding docstrings for classes whose functions are straightforward enough to understand with just a quick glance through the code. In order to expedite this process (so as to not hold up the review), I am going to be recording a (private) video call between @lantiga and myself in which he will go rapid fire through the more complex files and give a brief description of their function. I will later transcribe the contents of the recording into docstrings for each method. @Kevin-Mattheus-Moerman, can you please confirm (or advise on alternatives) that this action and disclosure of such an event falls in line with the JOSS Code of Conduct and general sentiment behind the open nature of the JOSS review process?

@lantiga, you'll be happy to know that the doxygen project builds correctly. The one caveat is that you have to explicitly pass -DBUILD_DOCUMENTATION=ON as an argument to cmake during the initial cmake generation step. This option cannot currently be set via the cmake curses interface or at any time after the first call to cmake in the build directory.

As a reminder for myself before merging this:

  • Complete class level documentation

  • Add an option ("toggleable" by the curses interface or cmake-gui) for enabling the BUILD_DOCUMENTATION flag without having to explicitly pass it as -DBUILD_DOCUMENTATION=ON at the time when the CMake project is first generated.

  • Add documentation stating how once the project is built with BUILD_DOCUMENTATION=ON, you still need to run doc_makeall.sh from the terminal. The configure file is placed within the build directory at: build-directory/VMTK-Build/vtkVmtk/Utilities/Doxygen/doc_makeall.sh. To update the website doc you need to copy the contents of build-directory/VMTK-Build/vtkVmtk/Utilities/Doxygen/doc/html/ into the following subdirectory of the vmtk/vmtk.github.com repo: vmtk.github.com/doc/html/

  • Add documentation stating that in order to build the doxygen documentation you must have doxygen, graphviz, and a LaTeX distribution on your system in addition to the normal build requirements.

rlizzo added 9 commits May 22, 2018 13:35
This is requested by the JOSS reviewers for paper acceptance
…umentation generation instructions to the contributor guidelines
fixed comment style for doxygen generation
Update some of the finite element solver assembler documentation, some
segmentation documentation, and fixup a few typos. At this point most of
the C++ class reference (that we want people playing with) should have
sufficient explainations attached to them.
…webpage extensions from html to xhtml on everyone didn't seem like a great idea
@rlizzo

rlizzo commented May 25, 2018

Copy link
Copy Markdown
Member Author

Doc strings have been added to core library classes and methods. The most extensive explanations have been provided for classes which deal with generation, analysis, and post processing of centerlines as the data models and paradigms appear to be fairly unique to this subfield of medically focused computational work.

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

Successfully merging this pull request may close these issues.

1 participant