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

Fix syntax for puppet-strings @example. #193

Closed

Conversation

bschonec
Copy link
Contributor

The correct syntax is @example.

Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Links section should also be @see. I'd avoid any URL shortener there.

Similar, I think the author should use @author for every individual author instead of using it as a block.

@@ -57,7 +57,7 @@
# @param v4_export_name
# @param nfsv4_bindmount_enable
#
# @examples
# @example
#
# class { '::nfs':
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The example itself needs to be indented.

@@ -57,7 +57,7 @@
# @param v4_export_name
# @param nfsv4_bindmount_enable
#
# @examples
# @example
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally every example has a description, otherwise puppet-strings doesn't render it well.

@bschonec bschonec closed this Jun 12, 2024
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.

2 participants