-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle legacy suffix in rawname when obtaining possible docs sources (#…
…2229) Fixes #2228. Removes the potentially incorrect setting of `DocInfo.Source` in `renames.go` and instead trims the `RenamedEntitySuffix` before generating possible docs names in `getMarkdownNames`. edit: interesting test failure; this should not affect token aliasing itself. edit2: because `renames.go` no longer sets a possible docs source, the test in `tokens_test` had to be adjusted. It now shows that the bridge honors provided docs sources as well as default ones for renamed resources.
- Loading branch information
1 parent
5f7b9b6
commit 33763d1
Showing
5 changed files
with
83 additions
and
31 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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