-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
GH-37858: [Docs][JS] Fix check of remote URL to generate JS docs #37870
Conversation
|
@github-actions crossbow submit preview-docs |
Revision: 1b7b52a Submitted crossbow builds: ursacomputing/crossbow @ actions-52a26733d4
|
@github-actions crossbow submit preview-docs |
Revision: e8ea90f Submitted crossbow builds: ursacomputing/crossbow @ actions-6104c7ee44
|
It seems this never worked for PRs / preview docs, I did fix that and the fix should allow to fix the doc generation now. For the preview-docs it can be seen here: http://crossbow.voltrondata.com/pr_docs/37870/js/index.html |
yarn doc --gitRemote apache | ||
elif [[ "$(git config --get remote.upstream.url)" =~ "https://github.com/apache/arrow" ]]; then |
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.
this will work with both https://github.com/apache/arrow
and https://github.com/apache/arrow.git
Awesome. Thanks for making the preview docs work as well! |
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.
+1
Sweet. Thanks for the quick fix @raulcd. I guess you need to push the generated docs to the docs repo to update https://arrow.apache.org/docs/js/, right? |
Yes, I have to generate the docs from the 13.0.0 branch and create a PR to the arrow-site repo. I'm currently working on that. |
The docs PR has been created there: apache/arrow-site#412 |
After merging your PR, Conbench analyzed the 5 benchmarking runs that have been run so far on merge-commit 517d849. There were no benchmark performance regressions. 🎉 The full Conbench report has more details. It also includes information about possible false positives for unstable benchmarks that are known to sometimes produce them. |
apache#37870) ### Rationale for this change JS Docs are currently not being generated. ### What changes are included in this PR? Use a regex check instead of an equality to cover both remote set with `.git` and without for upstream. Added also a fix to generate docs from origin from forks if necessary. ### Are these changes tested? Via archery ### Are there any user-facing changes? No * Closes: apache#37858 Authored-by: Raúl Cumplido <[email protected]> Signed-off-by: Sutou Kouhei <[email protected]>
apache#37870) ### Rationale for this change JS Docs are currently not being generated. ### What changes are included in this PR? Use a regex check instead of an equality to cover both remote set with `.git` and without for upstream. Added also a fix to generate docs from origin from forks if necessary. ### Are these changes tested? Via archery ### Are there any user-facing changes? No * Closes: apache#37858 Authored-by: Raúl Cumplido <[email protected]> Signed-off-by: Sutou Kouhei <[email protected]>
apache#37870) ### Rationale for this change JS Docs are currently not being generated. ### What changes are included in this PR? Use a regex check instead of an equality to cover both remote set with `.git` and without for upstream. Added also a fix to generate docs from origin from forks if necessary. ### Are these changes tested? Via archery ### Are there any user-facing changes? No * Closes: apache#37858 Authored-by: Raúl Cumplido <[email protected]> Signed-off-by: Sutou Kouhei <[email protected]>
apache#37870) ### Rationale for this change JS Docs are currently not being generated. ### What changes are included in this PR? Use a regex check instead of an equality to cover both remote set with `.git` and without for upstream. Added also a fix to generate docs from origin from forks if necessary. ### Are these changes tested? Via archery ### Are there any user-facing changes? No * Closes: apache#37858 Authored-by: Raúl Cumplido <[email protected]> Signed-off-by: Sutou Kouhei <[email protected]>
Rationale for this change
JS Docs are currently not being generated.
What changes are included in this PR?
Use a regex check instead of an equality to cover both remote set with
.git
and without for upstream. Added also a fix to generate docs from origin from forks if necessary.Are these changes tested?
Via archery
Are there any user-facing changes?
No