Skip to content
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

[Docs] Improve API Documentation performance #2377

Merged
merged 6 commits into from
Jul 16, 2024

Conversation

franklupo
Copy link
Contributor

This change moves the object creation to read default values ​​only if needed. This improve speed and allows adding static classes to the documentation.

Copy link
Collaborator

@vnbaaij vnbaaij left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code is good.

Could you please also change line 56 in ApiDocumentation.razor to <div>Preview:&nbsp;</div> in this PR. the missing whitespace between the word and icon is nagging me 😑

@vnbaaij vnbaaij changed the title [Api Documentation] Improve show [Docs] Improve API Documentation performance Jul 15, 2024
@vnbaaij vnbaaij enabled auto-merge (squash) July 15, 2024 17:07
@vnbaaij vnbaaij merged commit adf2b77 into microsoft:dev Jul 16, 2024
4 checks passed
@franklupo franklupo deleted the improve-doc-generator branch July 16, 2024 21:11
@vnbaaij vnbaaij added this to the v4.9.2 milestone Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants