Well, I agree and am considering how to make that happen.  This redirects the 
previous `latest` links to the same pages which are now at `next` so at least 
we don’t have broken links (someone pointed one out on Zulip just now).

Currently the latest released main camel version is 3.12.x.  Taking activemq as 
an example, there are 3 pages that I think should end up in the same place:

https://camel.apache.org/components/activemq-component.html
https://camel.apache.org/components/latest/activemq-component.html
https://camel.apache.org/components/3.12.x/activemq-component.html

Antora can produce a rewrite rule (I think) to deal with one redirection.  
Using this would mean we’d have to incorporate an Antora generated .htaccess 
into a static one, which would be nice for other reasons, namely we can have 
working page aliases.

I don’t think we want to have a manually maintained rewrite rule that directs 
to the concrete version.

Which of these should be the URL the other two redirect to? I’d think the one 
with the concrete version 3.12.x.

Do we actually want all 3 urls to work or can we get by with  two?

David Jencks


> On Oct 29, 2021, at 7:10 AM, Antonin Stefanutti 
> <anto...@stefanutti.fr.INVALID> wrote:
> 
> Naively / intuitively, I would assume 'latest' points to the latest released 
> version, while 'next' points to what is going to be the next version released.
> 
> If I understand it correctly, 'latest' is redirected to 'next'.
> 
> That being said, I appreciate it may be more complex to implement, if that 
> makes sense at all.
> 
>> On 29 Oct 2021, at 15:39, Zoran Regvart <zo...@regvart.com> wrote:
>> 
>> Hi Cameleers,
>> I've created a PR that I think will solve the issues outlined in this thread:
>> 
>> https://github.com/apache/camel-website/pull/659
>> 
>> Please have a look, there is a test script there I'd be happy to hear
>> if I missed a test case there, so I can add it and make sure the
>> redirects work as expected.
>> 
>> zoran
>> -- 
>> Zoran Regvart
> 

Reply via email to