-
Notifications
You must be signed in to change notification settings - Fork 23
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: Correct documentation samples to resolve generation & injection issues #572
fix: Correct documentation samples to resolve generation & injection issues #572
Conversation
plugins/modules/lke_cluster.py
Outdated
@@ -225,11 +225,13 @@ | |||
"NOTE: This value may be unavailable if `skip_polling` is true.", | |||
docs_url="https://techdocs.akamai.com/linode-api/reference/get-lke-cluster-kubeconfig", | |||
type=FieldType.string, | |||
sample=["\"a3ViZWNvbmZpZyBjb250ZW50Cg==\""] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll need a separate ticket to make sure we're parsing the sample according the the type, but this works for now 🙂
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and verified. Thanks for the quick fix!
Bring #572 to `dev` branch
📝 Description
This pull request resolves various documentation issues that prevented ansible-specdoc from properly generating and injecting documentation at release-time.
NOTE: Once this fix has been merged, we will need a release PR to get this fix into
dev
.✔️ How to Test
make inject
.ansible-test sanity --test ansible-doc
command does not raise any errors/warnings.