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

Test new automated reference section #1899

Closed
wants to merge 3 commits into from
Closed

Test new automated reference section #1899

wants to merge 3 commits into from

Conversation

emackey
Copy link
Member

@emackey emackey commented Nov 6, 2020

This is a big one. We probably don't want to merge this until the AsciiDoctor transition is ready to go.

Things that changed:

  • Schema titles have changed. It was not feasible for wetzel to parse what "Material PBR Metallic Roughness" meant in terms of the specific type name. So types like this now have a title of material.pbrMetallicRoughess to match the type name.

  • The reference section in README.md is the raw output from wetzel (see commit descriptions below).

  • A temporary REFERENCE.adoc has been added, to show what the AsciiDoctor version of the reference output looks like.

Ultimately I do want to commit the schema title changes. But the README changes will become obsolete in the move to AsciiDoctor, and the REFERENCE section will be a temporary file during the AsciiDoctor build process, not preserved in git.

It was not clear that "Material PBR Metallic Roughness" actually
meant "material.pbrMetallicRoughness" as the type name.
Wetzel commit b9b3ce67552dfc6c106c10994da467a6190c7d75.

Command line:
$ bin/wetzel.js -l2 -a=cqo -m=a -p schema -i '["gltfchildofrootproperty.schema.json", "gltfid.schema.json", "gltfproperty.schema.json"]' ../glTF/specification/2.0/schema/glTF.schema.json > ../REFERENCE.adoc
@emackey
Copy link
Member Author

emackey commented Nov 17, 2020

Closing in favor of #1901.

@emackey emackey closed this Nov 17, 2020
@emackey emackey deleted the test-new-wetzel branch October 27, 2021 14:23
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.

1 participant