andreahlert opened a new pull request, #686: URL: https://github.com/apache/burr/pull/686
## Summary - Fix `.htaccess` not being deployed to `asf-site` branch: `cp -r ... /*` skips dotfiles. Added `shopt -s dotglob` before the copy. - Add build-time scan of Sphinx output to generate static HTML redirect pages (meta refresh + JS) for every old doc path, as fallback in case ASF infra does not process `.htaccess`. Follows up on #679 where old Sphinx paths like `/getting_started/install/` started returning 404 after the landing page migration moved docs to `/docs/`. ## Test plan - [ ] Trigger workflow via `workflow_dispatch` and verify `.htaccess` exists in `asf-site` branch `content/` directory - [ ] Verify redirect HTML files are generated for all Sphinx pages (check workflow logs for count) - [ ] Confirm `https://burr.apache.org/getting_started/install/` redirects to `/docs/getting_started/install/` - [ ] Confirm with ASF infra (`#asfinfra` Slack) whether `.htaccess` is honored, then remove the HTML fallback step -- 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]
