kevinjqliu opened a new pull request, #180:
URL: https://github.com/apache/datafusion-site/pull/180

   
   ## What changes are included in this PR?
   
   **Note: This PR targets `asf-site` and should be merged after #179 (the 
`output: 'blog'` fix to `publish-site.yml`) has deployed.**
   
   1. Removes the `output/` directory — content is now built into `blog/` by 
the publish workflow.
   2. Strips `.htaccess` down to just the CSP directive, removing the rewrite 
rules that were a workaround for the `output/` → `blog/` mismatch.
   
   ### Verification before merging
   
   After the first PR deploys, verify that `blog/` and `output/` have identical 
content on `asf-site`:
   
   ```bash
   git fetch origin asf-site
   git worktree add /tmp/asf-site origin/asf-site
   diff -rq /tmp/asf-site/blog /tmp/asf-site/output
   git worktree remove /tmp/asf-site
   ```
   
   If `diff` reports no differences (or only expected ones like timestamps), 
it's safe to remove `output/`.
   
   ### Before
   ```
   asf-site/
   ├── .htaccess    (rewrite rules + CSP)
   └── output/      (build output, mapped to blog/ via rewrite)
   ```
   
   ### After
   ```
   asf-site/
   ├── .htaccess    (CSP only)
   └── blog/        (build output, served directly via .asf.yaml subdir)
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to