-
Notifications
You must be signed in to change notification settings - Fork 17
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
Generate docs and schema with github actions #115
Conversation
This PR is ready for review. |
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.
very neat!
@FynnBe thanks for the review, these is an issue for running the generating json spec, if I enable the command, the CI fails said no module named bioimageio.spec..., but the wired thing is that the generate docs command runs without issue. Any idea? Let's fix it in another PR |
👍 I'll have a look at it soon |
This PR uses github actions to generate both the docs and schema, the generated file will be stored in the gh-pages branch.
Why use CI to generate?
I think this should be a better approach compared to pre-commit hooks which rely on certain setup and won't work for edit made directly in github website. It is also nice to separate the true source code from the generated files into different branches.