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: Correct documentation samples to resolve generation & injection issues #572

Merged
merged 2 commits into from
Aug 22, 2024

Conversation

lgarber-akamai
Copy link
Contributor

@lgarber-akamai lgarber-akamai commented Aug 21, 2024

📝 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

  1. Pull down this PR.
  2. Run make inject.
  3. Ensure all documentation is injected and generated without failure.
  4. Ensure the ansible-test sanity --test ansible-doc command does not raise any errors/warnings.

@lgarber-akamai lgarber-akamai added the documentation for updates to the documentation in the changelog. label Aug 21, 2024
@lgarber-akamai lgarber-akamai requested a review from a team as a code owner August 21, 2024 19:47
@lgarber-akamai lgarber-akamai changed the title fix: Correct documentation samples to resolve documentation injection issues fix: Correct documentation samples to resolve generation & injection issues Aug 21, 2024
@@ -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==\""]
Copy link
Contributor Author

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 🙂

Copy link
Contributor

@ezilber-akamai ezilber-akamai left a comment

Choose a reason for hiding this comment

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

LGTM!

@ykim-akamai ykim-akamai requested review from a team, zliang-akamai and ykim-akamai and removed request for a team August 21, 2024 20:30
Copy link
Contributor

@ykim-akamai ykim-akamai left a 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!

@lgarber-akamai lgarber-akamai merged commit a215f01 into linode:main Aug 22, 2024
4 checks passed
lgarber-akamai added a commit that referenced this pull request Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation for updates to the documentation in the changelog.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants