Skip to content

Commit

Permalink
Add documentation generation
Browse files Browse the repository at this point in the history
Signed-off-by: ClemensLinnhoff <[email protected]>
  • Loading branch information
ClemensLinnhoff committed Oct 25, 2024
1 parent 73035bc commit 6180d4f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/antora-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ jobs:
mv material-schema.adoc ../content/material/
python3 json2asciidoc.py ../schemas/material_emp_schema.json
mv material-emp-schema.adoc ../content/material/
python3 json2asciidoc.py ../schemas/material_optical_schema.json
mv material-optical-schema.adoc ../content/material/
python3 json2asciidoc.py ../schemas/material_brdf_schema.json
mv material-brdf-schema.adoc ../content/material/
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/validate-json.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ jobs:
schema: ./schemas/material_emp_schema.json
file: ./examples/*_emp.xompt

- name: Validate optical material properties JSON schemas
uses: cardinalby/schema-validator-action@v3
with:
schema: ./schemas/material_optical_schema.json
file: ./examples/*_optical.xompt

- name: Validate brdf JSON schemas
uses: cardinalby/schema-validator-action@v3
with:
Expand Down
1 change: 1 addition & 0 deletions content/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ include::material/introduction.adoc[leveloffset=+1]
include::material/file-structure.adoc[leveloffset=+1]
include::material/material-schema.adoc[leveloffset=+1]
include::material/material-emp-schema.adoc[leveloffset=+1]
include::material/material-optical-schema.adoc[leveloffset=+1]
include::material/material-brdf-schema.adoc[leveloffset=+1]
Expand Down
1 change: 1 addition & 0 deletions content/nav-openmaterial.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
** xref:material/file-structure.adoc[]
** xref:material/material-schema.adoc[]
** xref:material/material-emp-schema.adoc[]
** xref:material/material-optical-schema.adoc[]
** xref:material/material-brdf-schema.adoc[]


Expand Down

0 comments on commit 6180d4f

Please sign in to comment.