-
Notifications
You must be signed in to change notification settings - Fork 469
automatically sync API docs on rescript-lang.org #7555
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
@cknitt would be cool to have this merged before the next release so that it can be already testet fully. |
rescript
@rescript/darwin-arm64
@rescript/darwin-x64
@rescript/linux-arm64
@rescript/linux-x64
@rescript/win32-x64
commit: |
package.json
Outdated
@@ -52,7 +52,9 @@ | |||
"check:all": "biome check .", | |||
"format": "biome check --changed --no-errors-on-unmatched . --fix", | |||
"coverage": "nyc --timeout=3000 --reporter=html mocha tests/tests/src/*_test.js && open ./coverage/index.html", | |||
"typecheck": "tsc" | |||
"typecheck": "tsc", | |||
"scripts:build": "rescript", |
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.
Do we really need this? It's not any shorter than yarn rescript
.
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.
I can get rid of 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.
actually that was a mistake, it should have been elsewhere, I'm removing it.
Does it really need to execute on every PR or is that just for testing? At least that part seems to work already :) |
@fham I think it's worth executing this on every PR in case of malformed docstrings. The cool thing is 2'26" taken by website build is only done when there are changes in docstrings! So the overhead is only a dozen seconds otherwise. |
Ok I missed that part. I guess then it's totally fine. |
@tsnobip got it! Was wondering if that did any actual syncing, which would be a little strange for a PR. |
Yes, please, that would be less confusing. |
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.
Ship it!
* fix api docs download path from #7555 * removes extra newlines in docstrings * add some logs when checking if website repo is clean * format
No description provided.