kokes opened a new pull request #31770: URL: https://github.com/apache/spark/pull/31770
As noted in JIRA, a few links have broken since the latest migration of docs to a new format. This PR aims to fix that. Some assorted notes: - I don't know if I can run logic in the docs' `conf.py`, doesn't seem to be the right thing to do, but I didn't have any executable Python along the way to do this (and I didn't want a new Makefile target) - I could have just placed the five simple HTML files in the `redirects` directory and called it a day? - I could have used a Sphinx redirects library - I found two, but one was not maintained and the other didn't seem worth the hassle for five pages - or can we expect this trend of moving stuff around to continue? - The redirect timeout is set for five seconds, so that a message is displayed. I saw some guidance that recommended zero seconds... I'd rather show a message, but you might be of a different opinion. - I only redirected the API pages, I didn't redirect those module code pages (see the PR's comments) as I found them less user facing... was that the right call? ### Does this PR introduce _any_ user-facing change? Yes, old links (indexed by Google etc.) will start working again. ### How was this patch tested? Built the docs locally and tried accessing formerly dead links. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
