-
Notifications
You must be signed in to change notification settings - Fork 143
Deprecate two-step documentation context creation #1059
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
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
b9a3b8a
Deprecate `DocumentationConverter
d-ronnqvist 6eaf217
Update DataProvider protocol to a be general purpose
d-ronnqvist 0dd80c7
Update DiagnosticConsoleWriter to use DataProvider protocol
d-ronnqvist 4caf0b6
Update LinkResolver to use DataProvider protocol
d-ronnqvist 6e5cb19
Update one test helper to use InputProvider to discover inputs
d-ronnqvist 476070a
Update tests to load inputs using test helpers
d-ronnqvist 73465e7
Avoid loading same bundle twice in same test
d-ronnqvist ffc41a9
Avoid creating unused workspace and context in tests
d-ronnqvist e277b24
Use InMemoryDataProvider instead of custom type in test
d-ronnqvist 01e02e1
Avoid force try in one test
d-ronnqvist 0ac31ea
Move additional global checks to context configuration
d-ronnqvist 1c8252a
Avoid copying the test bundle when the catalog content isn't modified
d-ronnqvist e2932f8
Update ConvertActionIndexerTests to use InputProvider to discover inputs
d-ronnqvist 9a01653
Avoid using `_legacyDataProvider` in tests
d-ronnqvist 4b827aa
Update tests to pass link dependency files instead of using `configur…
d-ronnqvist 600e623
Update final test helper to use `InputProvider` to discover inputs
d-ronnqvist 7e19a29
Use test file system for empty test bundle
d-ronnqvist dce5adf
Use test helper for setting feature flags
d-ronnqvist 59d6a19
Deprecate `DocumentationWorkspace`
d-ronnqvist 27d0685
Update BundleDiscoveryTests to use test helpers for input discovery
d-ronnqvist 33eafe1
Remove unused data provider parameter from convert action initializer
d-ronnqvist 373246f
Stop conforming test file system to workspace data provider
d-ronnqvist 9f39d67
Deprecate `GeneratedDataProvider`
d-ronnqvist d372098
Deprecate `PrebuiltLocalFileSystemDataProvider`
d-ronnqvist 7b32c5d
Remove unused SymbolGraphLoader initializer
d-ronnqvist bdaf112
Indicate in deprecated tests when they can be removed
d-ronnqvist 9a4f86a
Remove out-of-date deprecation warning for already removed code
d-ronnqvist 5f5c960
Deprecate `DocumentationWorkspaceDataProvider`
d-ronnqvist 9c2d754
Deprecate `DocumentationContextDataProvider`
d-ronnqvist d16f146
Deprecate additional multi-bundle-related properties
d-ronnqvist bc9a2b5
Merge branch 'main' into deprecate-workspace
d-ronnqvist 0d28c07
Add comments to deprecated tests explaining that they aren't skipped
d-ronnqvist 84b0dc0
Update comment about why unexpected errors and turned into diagnostic…
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
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
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
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
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.
I noticed a comment near
ConvertActionConverter.convert.recordProblem
mentionsDocumentationConverter
- we might want to remove or update that: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.
I rephrased this comment in 84b0dc0 to add a future action to change it while still mentioning that this current behavior came from DocumentationConverter in case the reader wonders why the code does this today.