-
Notifications
You must be signed in to change notification settings - Fork 246
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(dotnet): documentation strings sometimes invalid (#1127)
* fix(dotnet): documentation strings sometimes invalid The XML-doc generation for the C# classes was not correctly accounting for the necesaity to encode certain characters (e.g: `&`) for use in XML context, which resulted in invalid documentation strings being generated. Additionally, slugified parameter names need to be represented in their "pure" form (without the `@` slug) in the `<param>` tag. This uses `xmlbuilder` to generate the minimal XML tag pairs, ensuring the content is correctly encoded. The `@` slug is rmeoved from `<param>` tags, and the `<summary>` block is generated inconditionally (even if empty), silencing a C# warning about there being no documentation XML on a public member. Finally, moved some `await` in `for` loops out, to hopefully positively impact the generation speeds overall. * fix linter offenses
- Loading branch information
1 parent
eb83837
commit 94da056
Showing
331 changed files
with
1,732 additions
and
224 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
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
Oops, something went wrong.
This change is scary to me because these modules have been toposorted. Has this change been run on the CDK repository yet?