-
Notifications
You must be signed in to change notification settings - Fork 147
docs: generated JSON schema reference, tidy up README and contrib docs #327
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
Conversation
✅ Deploy Preview for endearing-brigadeiros-63f9d0 canceled.
|
c78c755 to
de5a1da
Compare
|
@maoo @JamieSlome I'm assuming the netlify preview won't deploy until #325 is merged? |
|
@coopernetes - these deployments are being weird. I'm getting some PRs that are deploying, some that aren't. |
|
I manually re-triggered the Netlify build, preview is available on https://deploy-preview-327--endearing-brigadeiros-63f9d0.netlify.app/ and looks great, TY @coopernetes ! Also left a comment on #325 , right now netlify behaves a bit randomly and would be great to solve it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple a of questions there for ya @coopernetes. Beautiful PR though ❤️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated some of my comments; once addressed, this PR is ready to go 👍
e169e67 to
73fc148
Compare
|
@JamieSlome all the review comments should now be resolved and we have a lean README with minimal instructions. Leaving the full e2e working example to the docs. Let me know if any further changes are required. |
|
Hmm... @maoo know why this is failing? I swear, this was deploying fine on a previous commit. And I can see in the MDX doc that we have matching closing tags so I don't know why the doc build is failing. https://app.netlify.com/sites/endearing-brigadeiros-63f9d0/deploys/655f767daa9c240008ef812e I can try rendering a different template using the new generator tooling for the JSON schema. |
|
The build error is related to compliance with MDX that the json-schema-for-humans tool doesn't account for at the moment in its plain Markdown template. Related coveooss/json-schema-for-humans#223 and discussion on mdxjs https://github.com/orgs/mdx-js/discussions/2260 I'll push up a fix in the schema doc generation script to account for this. |
b0cdf3d to
f120b11
Compare
- shorten the README to include minimal instructions. Link to doc site for detailed documentation. - remove boilerplate from README for contributing steps. Moved those guidelines to CONTRIBUTING doc - use simplified npx commands for executing git-proxy
- using github.com/coveooss/json-schema-for-humans to generate a readable document in Markdown form to display in doc site - include a config used by json-schema-for-humans (jhsf.config.json) so that doc can be generated repeatably - add npm script to execute the CLI with the included config and format into a proper MDX doc for Docusaurus to serve
* add rationale for forking and explaining the use of GitHub CLI in the introductory README
* make the output smaller * mention that the authorisedList is a configured list of repos permitted through the proxy
- generate doc now complies with MDX and compiles correctly with docusaurus - replace the title as per PR comments via script Signed-off-by: Thomas Cooper <thomas.cooper@rbc.com>
f120b11 to
7750ca0
Compare
992c024 to
f47d0cd
Compare
|
@JamieSlome @maoo the new docs are now fixed and rebased with all the updates from main. The site is built successfully with the generated schema reference doc. Preview is available here: https://deploy-preview-327--endearing-brigadeiros-63f9d0.netlify.app/docs/configuration/reference |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🍰
docs: generated JSON schema reference, tidy up README and contrib docs
for detailed documentation.
guidelines to CONTRIBUTING doc
readable document in Markdown form to display in doc site
so that doc can be generated repeatably
into a proper MDX doc for Docusaurus to serve
Testing npx with the new release:
Running the new script: