Title: ci: publish docs site to datafusion.apache.org/java/ by andygrove · Pull Request #26 · apache/datafusion-java · GitHub
Open Graph Title: ci: publish docs site to datafusion.apache.org/java/ by andygrove · Pull Request #26 · apache/datafusion-java
X Title: ci: publish docs site to datafusion.apache.org/java/ by andygrove · Pull Request #26 · apache/datafusion-java
Description: Summary Wires the Sphinx docs site (merged in #24) into Apache's publishing infrastructure so it appears live at https://datafusion.apache.org/java/. What changed .asf.yaml — appends a publish: block telling ASF infra to serve the asf-site branch under the java subdir. .github/workflows/docs.yaml — new workflow. Mirrors the layout used by datafusion-comet, with one addition: it also runs on pull requests as a build-only CI check, so a docs build break cannot land on main. Triggers (push to main and PRs targeting main) are path-filtered to .asf.yaml, .github/workflows/docs.yaml, and docs/** so unrelated changes don't fire it. Job-level if: startsWith(github.repository, 'apache/') skips on forks (matches comet). Explicit workflow-level permissions: contents: write so the publish step can push to asf-site without widening the repo-level default and without affecting build.yml's contents: read scope. PR runs only build (skip asf-site checkout and the publish step via if: github.event_name == 'push'). Push runs build, rsync HTML to asf-site, touch .nojekyll, commit, force-push as github-actions[bot]. One-time bootstrap before this can publish The workflow assumes an asf-site branch exists. Before merging, a maintainer (or ASF infra) needs to create an orphan branch: git switch --orphan asf-site git commit --allow-empty -m "Initial asf-site branch" git push apache asf-site Once the branch exists, the first workflow run on main will populate it. Notes The site builds with -W (warnings fail the build), so a PR with a broken cross-reference or invalid toctree will fail the check. PRs from forks will see this job as "skipped" rather than "passing" — that's the standard ASF pattern (also used by comet). The script uses git push || git push --force to handle the orphan-branch first-publish case without manual intervention. Not in this PR Building Javadoc or other API reference content. Multi-version docs. A staging environment (asf-staging). Tag-triggered release publishing.
Open Graph Description: Summary Wires the Sphinx docs site (merged in #24) into Apache's publishing infrastructure so it appears live at https://datafusion.apache.org/java/. What changed .asf.yaml — appends a publish...
X Description: Summary Wires the Sphinx docs site (merged in #24) into Apache's publishing infrastructure so it appears live at https://datafusion.apache.org/java/. What changed .asf.yaml — appends a pub...
Opengraph URL: https://github.com/apache/datafusion-java/pull/26
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:94daa230-fcc1-0dd4-cf40-1cf60d2eaac5 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E9E8:385A78:28695E:38D939:6B046A63 |
| html-safe-nonce | 36f52031b0057b2294000b3c471e5d4eff8730b07adc890ede790219a38c658f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOUU4OjM4NUE3ODoyODY5NUU6MzhEOTM5OjZCMDQ2QTYzIiwidmlzaXRvcl9pZCI6Ijc5MDQ0NjA0MTYxMDQwMzI4NjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f46d97b5cf4155eff015a700e3ba785075754d8499408d4d71638a1f6b771cdb |
| hovercard-subject-tag | pull_request:3676786135 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/apache/datafusion-java/pull/26/files |
| twitter:image | https://avatars.githubusercontent.com/u/934084?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/934084?s=400&v=4 |
| og:image:alt | Summary Wires the Sphinx docs site (merged in #24) into Apache's publishing infrastructure so it appears live at https://datafusion.apache.org/java/. What changed .asf.yaml — appends a publish... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 83e4c0e58c5162177f3c161c5fbad38527ae04c11ac14980f9f9d85ae2027b1f |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/apache/datafusion-java git https://github.com/apache/datafusion-java.git |
| octolytics-dimension-user_id | 47359 |
| octolytics-dimension-user_login | apache |
| octolytics-dimension-repository_id | 1237105117 |
| octolytics-dimension-repository_nwo | apache/datafusion-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1237105117 |
| octolytics-dimension-repository_network_root_nwo | apache/datafusion-java |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ca4d07a7cef4e4b75f821dc25e7300d80c1450a9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | no-cache |
Viewport: width=device-width