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

Fixes #8217: Broken syntax in generic methods docs #344

Conversation

amousset
Copy link
Member

@jooooooon
Copy link
Member

This fix looks good but will come back to bite us if we don't detect it. Please add a test in tests/style to make sure this is always detected.

@amousset
Copy link
Member Author

PR updated

@amousset amousset force-pushed the bug_8217/broken_syntax_in_generic_methods_docs branch from ee2d30c to 66daf8f Compare April 28, 2016 15:58
@amousset
Copy link
Member Author

PR updated

@amousset amousset force-pushed the bug_8217/broken_syntax_in_generic_methods_docs branch 2 times, most recently from 6cbc2c0 to e5073f7 Compare April 28, 2016 16:00
@amousset
Copy link
Member Author

PR updated

@@ -24,8 +24,8 @@
#
# @class_prefix file_check_block_device
# @class_parameter file_name
# This bundle will define a class file_check_block_device_${file_name}_{ok, reached, kept} if the
# file is a block_device, or file_check_block_device_${file_name}_{not_ok, reached, not_kept, failed} if
# This bundle will define a class `file_check_block_device_${file_name}_{ok, reached, kept}` if the
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't this line start with @documentation too?

Copy link
Member Author

Choose a reason for hiding this comment

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

Indeed, the PR that added these methods was started before the changes in ncf docs, and merged after. I will make a separate ticket for these.

Copy link
Member

Choose a reason for hiding this comment

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

OK, great.

@amousset
Copy link
Member Author

PR updated

@amousset amousset force-pushed the bug_8217/broken_syntax_in_generic_methods_docs branch from e5073f7 to c54f350 Compare April 28, 2016 16:02
@jooooooon
Copy link
Member

Looks good to me! I see you're still making changes, so let me know if you make another change I shuold review. Otherwise, go ahead and merge this version.

@amousset
Copy link
Member Author

I finished making changes, merging.

@amousset amousset merged commit 2589a6d into Normation:v0.x Apr 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants