Olivier Jourdan <olivier.jourdan@wovalab.com>
Introduction notes
Antidoc goals
What you can currently get?
What’s under the hood?
Next steps to come
About writing documentation
to help understanding the code
for maintenance purpose
to onboard new developers on a projet
to share information with non developer people
to comply with regulation rules
If it exists, documentation is not up to date with code, because:
it’s not the priority
it’s not easy to write
we hate are not very happy to write documentation
out of date documentation is often worse than no documentation |
Antidoc goals
Generate LabVIEW source code documentation automatically
Take the best out of available info:
explicit → project/class/lib/vi descriptions
implicit → communication links between the different parts of the code
Obtain a document in a standard file format of your choice
Validate the documentation generation workflow
Validate the capability to get valuable documentation
What you get with Antidoc v1.1
Getting implicit content requires to analyse the code components
This content add lots of value to the documentation
Currently, Antidoc only supports DQMH® framework component parsing |
Install Antidoc from VIPM
Open Antidoc tool
from the LabVIEW tool menu
Generate the documentation
Open the generated file whith
Chrome/Opera/Firefox using
Asciidoctor.js Live Preview extension
Onboard new member in your development team
Lead design reviews
Use the Antidoc CLI tool in your CI process
Render the final document threw a specific CI job
Glance at this GitLab project to see a full CI configuration |
What’s under the hood?
Find a way to offer multiple output file format
Concentrate development effort on documentation content rather than generating the different file format
Writing simple plain-text file…
…using AsciiDoc syntax.
Asciidoctor toolchain will convert AsciiDoc files to final format.
You can help Antidoc project by:
reporting issues
sharing feature ideas
contributing to the code or documentation
Next steps to come
Actor Framework
JKI State Machine Objects
…
Improve DQMH® framework parsing
Libraries filtering
Multi target support
Localized output documentation support
…
Thank you