potiuk commented on issue #52643:
URL: https://github.com/apache/airflow/issues/52643#issuecomment-3092305103
> Bumping this back up - what is the best way to go about remedy'ing this?
I'm not sure how `redirects.txt` is used...
You need to create redirect in redirect.tx from the old location to the new
(look at some of the redireections there already) - then next time when
documentation is built this thing will happen:
Assume you used to have `test/old` page and you add redirection to
`test/new` page.
You add this line
```
test/old -> test/new
```
(Can't remember the exact way but follow what's there)
Then when documentation is build, two things are happening:
a) in the NEW version of page (say Airflow 3.0.3) there is the
"test/old.html" file generate that performs immediate reload to "test/new.html"
b) in all the PAST versions of the page (Airflow 1.10 -> 3.0.2) the
"test/new.html" file is generated that performs immediate reloate to
"test/old.html"
This way if you use "stable/test/old" link -> because of a) you will be
redirected to "stable/test/new"
But when you are on the "test/new" page and change version "say 2.7.0" the
"2.7.0/test/new" page will redirect you to "2.7.0/test/old" - because this is
where the old version of the page was.
I hope this clarifies and someone will fix it :)
--
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]