Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate reference documentation for modules and steps #88

Open
sparshev opened this issue May 7, 2021 · 2 comments
Open

Generate reference documentation for modules and steps #88

sparshev opened this issue May 7, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@sparshev
Copy link
Collaborator

sparshev commented May 7, 2021

Probably will be a good addition to the library a way to automatically generate/validate documentation (and module headers) out of used CFG / OUT variables. Need to check a way to do that automatically by using some existing (groovydoc?) framework.

Reporter: @Napo2k

@sparshev sparshev added the enhancement New feature or request label May 7, 2021
@Napo2k
Copy link

Napo2k commented Jun 10, 2021

I am attempting this (albeit on-the-side) with groovydoc and so far I have not been able to generate proper documentation for a module (which is my main interest for this). I think the main problem is that the resource module files are not really classes, but scripts, which makes the generated documentation a bit awkward (i.e., it does generate the HTMLs for them but mentions constructors and destructors, for instance, which is pointless in that case)
What I want is to tell the user "this is how the config looks for this module", as well as adding some examples, perhaps.
But I will invest more time soon (TM) on this and get back here with my findings

@sparshev
Copy link
Collaborator Author

Yeah, usually I prepend my modules with comment about the inputs and outputs, but defensively it will be better to generate such doc and validate that the required comment is here and the format is ok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants