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

Update Product.swift to render the api description correctly #6879

Merged
merged 2 commits into from Sep 13, 2023

Conversation

x-0o0
Copy link
Contributor

@x-0o0 x-0o0 commented Sep 10, 2023

There is an issue with the API documentation not rendering correctly due to unnecessary vertical spacing.

Motivation:

Screenshot 2023-09-10 at 5 09 05 PM

As you can see, the description for the "target" parameter is in an incorrect section.

Modifications:

I removed the vertical spacing between the parameters' descriptions

Result:

Screenshot 2023-09-10 at 5 33 39 PM

@MaxDesiatov
Copy link
Member

@jaesung-0o0 would you be able to provide a screenshot of how it looks after the change?

@x-0o0
Copy link
Contributor Author

x-0o0 commented Sep 10, 2023

@jaesung-0o0 would you be able to provide a screenshot of how it looks after the change?

@MaxDesiatov I added the screenshot to "Result" section 🙂

Copy link
Member

@MaxDesiatov MaxDesiatov left a comment

Choose a reason for hiding this comment

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

Great catch, thanks!

@MaxDesiatov
Copy link
Member

@swift-ci test

@x-0o0
Copy link
Contributor Author

x-0o0 commented Sep 13, 2023

@MaxDesiatov This PR got 2 approvals, but it has been waiting for "Swift Test Windows Platform" tests for a long time. Could you trigger the test to start?

@MaxDesiatov
Copy link
Member

@swift-ci test windows

@MaxDesiatov MaxDesiatov merged commit 0ded96a into apple:main Sep 13, 2023
5 checks passed
@x-0o0 x-0o0 deleted the patch-1 branch September 13, 2023 23:38
MaxDesiatov pushed a commit that referenced this pull request Sep 28, 2023
* Update Product.swift to render the api description correctly

* [ADD] Added indent to align parameters
MaxDesiatov pushed a commit that referenced this pull request Sep 28, 2023
* Update Product.swift to render the api description correctly

* [ADD] Added indent to align parameters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants