Skip to content

Conversation

@crandmck
Copy link
Collaborator

@crandmck crandmck commented Oct 30, 2025

This PR adds a new custom React component to create reference documentation from the JSON schemas for Reader, Builder, ManifestDefinition, and Settings.

https://deploy-preview-250--cai-open-source.netlify.app/docs/manifest/json-ref/

For now, , the schema JSON files are copied manually into this repo, but should eventually, be copied using a workflow that builds and copies them from c2pa-rs whenever there is a release there.

The intent of this PR is to create reference pages that look similar to what we have now (which are generated using Jekyll code that is not maintainable).

There are still some issues with the links in various places, because the schemas are generated from comments in the Rust code, so they have Rust-style references that are meant for parsing and display in docs.rs.

There are a few other display issues as well.

@github-actions
Copy link

github-actions bot commented Oct 30, 2025

@github-actions github-actions bot temporarily deployed to pull request October 30, 2025 23:39 Inactive
@github-actions github-actions bot temporarily deployed to pull request October 30, 2025 23:53 Inactive
@github-actions github-actions bot temporarily deployed to pull request October 30, 2025 23:58 Inactive
@github-actions github-actions bot temporarily deployed to pull request October 31, 2025 17:57 Inactive
@crandmck crandmck requested review from gpeacock and ok-nick November 6, 2025 16:14
Copy link
Collaborator

@ok-nick ok-nick left a comment

Choose a reason for hiding this comment

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

This looks amazing! Much better than the json-manifest-reference solution.

@github-actions github-actions bot temporarily deployed to pull request November 7, 2025 02:29 Inactive
@github-actions github-actions bot temporarily deployed to pull request November 7, 2025 19:43 Inactive
@github-actions github-actions bot temporarily deployed to pull request November 7, 2025 19:49 Inactive
@crandmck crandmck merged commit 89e9621 into main Nov 7, 2025
3 checks passed
@crandmck crandmck deleted the custom-schema-doc branch November 7, 2025 20:16
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