-
Notifications
You must be signed in to change notification settings - Fork 83
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
[Feature] Document functions in Puppet Datatypes #225
Comments
7 tasks
glennsarti
added a commit
to glennsarti/puppet-strings
that referenced
this issue
Apr 9, 2020
glennsarti
added a commit
to glennsarti/puppet-strings
that referenced
this issue
May 25, 2020
glennsarti
added a commit
to glennsarti/puppet-strings
that referenced
this issue
May 30, 2020
7 tasks
glennsarti
added a commit
to glennsarti/puppet-strings
that referenced
this issue
May 30, 2020
glennsarti
added a commit
to glennsarti/puppet-strings
that referenced
this issue
May 30, 2020
Previously the puppet datatype handler only documented attributes, not functions for example [1]. This commit updates the data type handler to read in the function information and then allow that to be used by puppet-strings in its JSON, Markdown and HTML renderers. This commit also adds tests for many different scenarios and all three rendering types. [1] https://github.com/puppetlabs/puppet/blob/3e03e734dda415272ec156b03ed9f021ba243228/lib/puppet/datatypes/error.rb#L13-L15
scotje
added a commit
that referenced
this issue
Jun 15, 2020
(GH-225) Document functions in Puppet Datatypes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use Case
In Pull Request #199 only Datatype attributes were added. Datatype functions should also be documented
Describe the Solution You Would Like
Puppet-strings should document data type functions like a regular function
Describe Alternatives You've Considered
N/A
Additional Context
The Bolt core libraries use functions e.g.
https://github.com/puppetlabs/bolt/blob/master/bolt-modules/boltlib/lib/puppet/datatypes/target.rb
The text was updated successfully, but these errors were encountered: