Skip to content

Commit

Permalink
Merge pull request #355 from okp4/fix/lint-docs
Browse files Browse the repository at this point in the history
docs(cognitarium): update docs to latest schema
  • Loading branch information
bdeneux authored Sep 8, 2023
2 parents b669c07 + 192bad8 commit ad007fb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,10 @@ mkdir -p $DOCS_FOLDER
for SCHEMA in $(ls $SCHEMA_FOLDER); do
echo "Rendering $SCHEMA..."
awk "{sub(\"#/definitions\",\"./${SCHEMA}/#/definitions\")} {print}" ${SCHEMA_FOLDER}/${SCHEMA} > ${SCHEMA_FOLDER}/tmp
awk "{sub(\"#/definitions\",\"./${SCHEMA}/#/definitions\")} {print}" ${SCHEMA_FOLDER}/${SCHEMA} > ${SCHEMA_FOLDER}/${SCHEMA}.tmp
mv ${SCHEMA_FOLDER}/${SCHEMA}.tmp ${SCHEMA_FOLDER}/${SCHEMA}
npx --yes @fadroma/[email protected] ${SCHEMA_FOLDER}/tmp > "${SCHEMA%.json}.md"
npx --yes @fadroma/[email protected] ${SCHEMA_FOLDER}/${SCHEMA} > "${SCHEMA%.json}.md"
mv "${SCHEMA%.json}.md" "docs/${SCHEMA%.json}.md"
done
Expand Down
2 changes: 1 addition & 1 deletion docs/okp4-cognitarium.md
Original file line number Diff line number Diff line change
Expand Up @@ -478,4 +478,4 @@ Represents a condition in a [WhereClause].

---

*Rendered by [Fadroma](https://fadroma.tech) ([@fadroma/schema 1.1.0](https://www.npmjs.com/package/@fadroma/schema)) from `tmp` (`9967756b93791148`)*
*Rendered by [Fadroma](https://fadroma.tech) ([@fadroma/schema 1.1.0](https://www.npmjs.com/package/@fadroma/schema)) from `okp4-cognitarium.json` (`889a2c1536ecfea5`)*
2 changes: 1 addition & 1 deletion docs/okp4-law-stone.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,4 @@ A string containing Base64-encoded data.

---

*Rendered by [Fadroma](https://fadroma.tech) ([@fadroma/schema 1.1.0](https://www.npmjs.com/package/@fadroma/schema)) from `tmp` (`20c06a648259a4b3`)*
*Rendered by [Fadroma](https://fadroma.tech) ([@fadroma/schema 1.1.0](https://www.npmjs.com/package/@fadroma/schema)) from `okp4-law-stone.json` (`20c06a648259a4b3`)*
2 changes: 1 addition & 1 deletion docs/okp4-objectarium.md
Original file line number Diff line number Diff line change
Expand Up @@ -471,4 +471,4 @@ A string containing a 128-bit integer in decimal representation.

---

*Rendered by [Fadroma](https://fadroma.tech) ([@fadroma/schema 1.1.0](https://www.npmjs.com/package/@fadroma/schema)) from `tmp` (`8624f6ec32a56a5d`)*
*Rendered by [Fadroma](https://fadroma.tech) ([@fadroma/schema 1.1.0](https://www.npmjs.com/package/@fadroma/schema)) from `okp4-objectarium.json` (`8624f6ec32a56a5d`)*

0 comments on commit ad007fb

Please sign in to comment.