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

[stable-4.7] Docs - render object choices (#4442) #4490

Merged
merged 1 commit into from
Nov 6, 2023

Conversation

himdel
Copy link
Collaborator

@himdel himdel commented Nov 5, 2023

Backports #4442
(import conflicts)


  • RenderPluginDoc - support choices as an object

previously, choices was a list of options,
now it can also be an object of options: description, where description can be a string or an array of strings

No-Issue

  • PAUSED: Use git resume to continue working. [skip ci]

  • Choice, Legend - render a monospace choice name, and a potentially multiline description

  • also fix docs error rendering

  • Update src/components/render-plugin-doc/render-plugin-doc.tsx

Co-authored-by: Felix Fontein [email protected]


Co-authored-by: Felix Fontein [email protected]
(cherry picked from commit 269af3f)

* RenderPluginDoc - support `choices` as an object

previously, `choices` was a list of options,
now it can also be an object of options: description,
where description can be a string or an array of strings

No-Issue

* PAUSED: Use `git resume` to continue working. [skip ci]

* Choice, Legend - render a monospace choice name, and a potentially multiline description

* also fix docs error rendering

* Update src/components/render-plugin-doc/render-plugin-doc.tsx

Co-authored-by: Felix Fontein <[email protected]>

---------

Co-authored-by: Felix Fontein <[email protected]>
(cherry picked from commit 269af3f)
@himdel himdel merged commit 9333370 into ansible:stable-4.7 Nov 6, 2023
1 check passed
@himdel himdel deleted the 47-4442 branch November 6, 2023 20:43
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.

1 participant