Skip to content

Fix rendering of values - #155

Closed
kdp-cloud wants to merge 3 commits into
mainfrom
Fix-rendering-of-values
Closed

kdp-cloud wants to merge 3 commits into
mainfrom
Fix-rendering-of-values

Conversation

@kdp-cloud

Copy link
Copy Markdown
Collaborator
  • Fix value rendering in table
  • Update Astro to Astro 7.2.2

@kdp-cloud

Copy link
Copy Markdown
Collaborator Author

Out of date

@kdp-cloud kdp-cloud closed this Aug 18, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the documentation site’s schema-rendering pipeline and brings the docs app up to date with Astro 7.2.2, with the intent of improving how schema values are displayed in the generated tables.

Changes:

  • Reformat and slightly adjust the bundled ISA JSON schema (notably adding an explicit "type": "string" to DataTypeEnum).
  • Add an Astro Content Collections config for a schemas collection.
  • Refactor the schema property row component and bump Astro to ^7.2.2 in the docs app.

Reviewed changes

Copilot reviewed 2 out of 5 changed files in this pull request and generated 2 comments.

File Description
schemas/isa_json_schema_with_validators.json Re-indented schema JSON and adds explicit type for DataTypeEnum.
docs/src/content.config.ts Introduces an Astro Content Collection schema for schemas.
docs/src/components/SchemaProperty.astro Small refactor around displaying schema property description (and related values).
docs/package.json Updates Astro dependency to ^7.2.2.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines 3 to +6
const propertyType = property.type ?? 'any';
const propertyDefaultValue = property.default ?? 'N/A';
const propertyTitle = property.title ?? 'Undefined';
const propertyDescription = property.description ?? 'N/A';
Comment on lines +11 to 12
<td class="px-6 py-4 text-center">{propertyDescription}</td>
<td class="px-6 py-4 text-center">{property.required ? 'Yes' : 'No'}</td>
@kdp-cloud
kdp-cloud deleted the Fix-rendering-of-values branch August 18, 2026 07:14
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.

2 participants