-
Notifications
You must be signed in to change notification settings - Fork 127
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
Remove deprecated usages of 'layout' API of 'ContentAndMedia' in docs #531
Conversation
@swift-ci please test |
Can someone help me? This PR is ready to merge, should I mention some member to review? |
@@ -49,7 +49,7 @@ class ExternalLinkableTests: XCTestCase { | |||
} | |||
|
|||
@Section(title: "Create a New AR Project 💻") { | |||
@ContentAndMedia(layout: vertical) { | |||
@ContentAndMedia { |
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.
Can we leave this test unchanged for now? Otherwise this PR looks good to go. Thank you!
@ContentAndMedia { | |
@ContentAndMedia(layout: vertical) { |
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.
It's ok, I've discard it. But I'm not sure why shouldn't we chsnge it now
@swift-ci please test |
@swift-ci please test |
Thank you @Saafo! I'll go ahead and merge this now. |
Bug/issue #, if applicable: None.
Summary
Provide a description of what your PR addresses, explaining the expected user experience.
Also, provide an overview of your implementation.
Since 'layout' init parameter of 'ContentAndMedia' is deprecated by https://github.com/apple/swift-docc/blob/f7cc54ab64eeebe06d4ca721cc7ac78c2da6f545/Sources/SwiftDocC/Semantics/ContentAndMedia.swift#L86
We should remove the usages of this parameter in our documents and tests
Dependencies
Describe any dependencies this PR might have, such as an associated branch in another repository.
None.
Testing
Describe how a reviewer can test the functionality of your PR. Provide test content to test with if
applicable.
Steps:
None.
Checklist
Make sure you check off the following items. If they cannot be completed, provide a reason.
./bin/test
script and it succeeded