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

Update model card description to be prettier #4966

Merged
merged 3 commits into from
Sep 30, 2024

Conversation

YohannParis
Copy link
Member

@YohannParis YohannParis commented Sep 27, 2024

This pull request includes several changes to the JsonToHTML utility class to improve the formatting of JSON data when rendered as HTML. The most important changes include modifying the indentation level, updating the title formatting method, and enhancing the title formatting logic.

  • Changed the initial indentation level from 0 to 2 in the renderJsonToHTML method.
  • Replaced the capitalizeFirstLetter method with formatTitle to improve title formatting by splitting camel case words and capitalizing the first letter of the resulting title.
  • Updated the renderObject method to use the new formatTitle method instead of capitalizeFirstLetter.

localhost_8080_projects_6665772f-15e0-471f-b9f5-21b7199025b7_model_70022440-f506-4f7e-99d1-ce5cfff565e6_configHash=957d2a25 state=ac8990073dc542058c0e1fbbf558fb16 session_state=0b611cda-0191-44a2-8a59-dca354c7e06e code=a5bd1129-3be5-49a (2)

@YohannParis YohannParis changed the title Update model card description to use smaller h level Update model card description to be prettier Sep 27, 2024
@dgauldie dgauldie merged commit bf99671 into main Sep 30, 2024
5 checks passed
@dgauldie dgauldie deleted the model-card-description-update branch September 30, 2024 16:20
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