-
Notifications
You must be signed in to change notification settings - Fork 909
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
Backfill some old documentation versions with static assets #3864
Comments
@astrojuanlu - Should we have a similar ticket on Kedro-viz, or should we also assign a Kedro-viz engineer along with Framework to this ticket, so the work can be done across both in this sprint. |
Whatever works best 🙏🏼 I don't have a strong preference |
I’ve identified the Kedro doc versions that are affected by the s3 bucket. The affected versions are from The s3 implementation was introduced in #3292, which was merged into the Reasoning: Since this was merged into I will test backporting |
I've been testing out the possible implementation outlined above. You can see the new tags in my forked repository here: GitHub Tags. I also created a personal Read the Docs project to test this approach. You can view the results here: RTD Project. I think there is some limitations with the redirects, particularly with the wildcards we can use. Currently, the redirects are set as Would love to hear peoples thoughts on this current implementation and if there are any suggestions for improving the redirects to better handle the specific pages. |
thanks would this 0.19.x redirect affect future versions of kedro 19 that don't face this issue. |
Sorry, its not 0.19.x by x I meant only versions 0 to 4. so 0.19.0-0.19.4. |
How about this |
Perfect this worked, thank you! |
If the approach is proven to work and it took a reasonable effort @SajidAlamQB , given that there are only 5 versions affected, I'd be in favour of executing this, in parallel with the 0.19.6 release. |
Awesome 🔥
|
great work @SajidAlamQB 🔥 , let sync up sometimes today so we can follow a similar approach for kedro-viz too 😄 |
All versions of the Kedro-Viz documentation are affected. I’ve backfilled the Some of the |
Completed for |
Description
In #3586 we introduced https://github.com/kedro-org/kedro-sphinx-theme across our 3 Sphinx subprojects.
This was done to revert the use of an S3 bucket to hold static assets for reusability #3016.
However, the moment that S3 bucket ceases to exist, several versions of the docs will immediately appear like this:
Fixing this isn't straightforward: https://docs.readthedocs.io/en/stable/versions.html RTD versions are generated from git tags, so modifying old ones requires some work.
We need to understand what would be the impact of this breakage (what versions are affected), come up with a solution, and decide on what versions (if not all) we will apply it.
Context
We don't know how many doc versions are affected, so it is good to figure that out as well.
Possible Implementation
One possible way of doing this is:
0.19.3
0.19.3.x
0.19.3.post1
0.19.3
version in the docs and show0.19.3.post1
instead/en/0.19.3
to/en/0.19.3.post1
I haven't tested this⚠️ whoever tries this approach should validate it with a personal project first.
Also, the "necessary changes" might be either backporting
kedro-sphinx-theme
, or even partially reverting #3292.Possible Alternatives
There might be other ways to do this, ideas welcome.
The text was updated successfully, but these errors were encountered: