-
Notifications
You must be signed in to change notification settings - Fork 144
Pass documentation context its only bundle during initialization #1057
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
Merged
d-ronnqvist
merged 22 commits into
swiftlang:main
from
d-ronnqvist:init-context-with-bundle
Oct 24, 2024
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
c499ace
Add ability to initialize a context with a given bundle
d-ronnqvist a6da113
Update test to verify bundle discovery options in convert command rat…
d-ronnqvist a7965ec
Remove unused parameters on DataAssetManager
d-ronnqvist dfd680f
Minor refinements to bundle loading test helpers
d-ronnqvist 67743b5
Stop using DocumentationConverter in ConvertService
d-ronnqvist e36f229
Update InputsProvider to also return the DataProvider
d-ronnqvist 3772742
Update InputsProvider to raise an error when it can't create inputs
d-ronnqvist 9404c62
Remove `throws` for `renderNode(for:)` that doesn't raise any errors
d-ronnqvist 207f394
Stop using DocumentationConverter in ConvertAction
d-ronnqvist 59f3161
Update tests that relied on ConvertAction doing validation when run i…
d-ronnqvist efbbb50
Support initializing TestFileSystem with CopyOfFolder
d-ronnqvist 0c64600
Update emit curation action to pass initialize context with bundle
d-ronnqvist 609d19b
Use top-level protocol to remain compatible with Swift 5.9
d-ronnqvist a5bd4ca
Merge branch 'main' into init-context-with-bundle
d-ronnqvist 1046daa
Make `ConvertActionConverter.convert(...)` synchronous for now
d-ronnqvist 545b1d9
Merge branch 'main' into init-context-with-bundle
d-ronnqvist 8c830de
Merge branch 'main' into init-context-with-bundle
d-ronnqvist 59ae3cb
Merge branch 'main' into init-context-with-bundle
d-ronnqvist 93609f9
Remove outdated comment about optional indexer
d-ronnqvist c08b41f
Merge branch 'main' into init-context-with-bundle
d-ronnqvist bf1d51c
Add comment about code that can be simplified after 6.2 is released.
d-ronnqvist 9606561
Add assertion about correct identifier use to new provider code paths
d-ronnqvist File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 0 additions & 43 deletions
43
Sources/SwiftDocC/DocumentationService/Convert/ConvertService+OutputConsumer.swift
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This doesn't need to throw? Was the Swift compiler returning a warning here all along?
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 wasn't. It's allowed for a function to declare itself as raising errors without ever doing so in the implementation.
I was surprised that this wasn't a warning.