public inbox for [email protected]  
help / color / mirror / Atom feed
From: Magnus Hagander <[email protected]>
To: Andres Freund <[email protected]>
Cc: Marti Raudsepp <[email protected]>
Cc: pgsql-www <[email protected]>
Cc: Stefan Kaltenbrunner <[email protected]>
Subject: Re: [PATCH] Cross-version navigation in documentation
Date: Tue, 5 Jun 2012 12:02:27 +0200
Message-ID: <CABUevEwBZQyZLq8rG6g9zub3C12CNT7M0SW_SS3kppthd5btXQ@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <CABRT9RCFpt35TdrrN0jsY3YfqMiiJOTTWYWpSQKYaEdcQZKugw@mail.gmail.com>
	<CABRT9RBbNU17um=DW3VRLE0DW0ahanAo07bNLXsF73F+rhZgQA@mail.gmail.com>
	<CABUevExJFVOk4Xz4DVVKHvRAHuw7-23Uog0zsSKhagMbgXcJUA@mail.gmail.com>
	<[email protected]>

On Tue, Jun 5, 2012 at 11:42 AM, Andres Freund <[email protected]> wrote:
> On Tuesday, June 05, 2012 10:59:54 AM Magnus Hagander wrote:
>> On Wed, May 30, 2012 at 11:58 AM, Marti Raudsepp <[email protected]> wrote:
>> > On Mon, May 28, 2012 at 2:44 PM, Andres Freund <[email protected]>
> wrote:
>> >> The amount of pages actually having been renamed isn't that big. Marti
>> >> opened up his version of the docs to me and I browsed along and even
>> >> between 7.4 and 9.1 I had a hard time finding pages where you would
>> >> expect a link from 7.4 forwards.
>> >
>> > Exactly. And people rely on page names right now anyway -- they find
>> > the page on Google and then just change the version number in the URL
>> > and see if it works. Either that, or they will read the wrong version.
>> > What I'm proposing solves >95% of the cases and I think that is good
>> > enough.
>>
>> Given that nobody has objecte,d I'm going to go ahead and do this.
> Great!
>
>> However - should we perhaps just list supported versions? Turns the query
>> into: versions =
>> DocPage.objects.filter(file=fullname).extra(where=['version IN (SELECT
>> tree FROM core_version WHERE
>> supported)']).order_by('-version').only('version', 'file')
>>
>> or if we do want to list all versions, we should somehow indicate
>> which versions are supported and not on this list as well, I think.
>> But I'm happy to just listed supported versions for now.
> I personally would like to see older versions there because every now and then
> I need to look something up for them, but its infrequent enough that I don't
> especially care.

Well, I'm happy to include those *IF* we add some sort of indication
that they aren't supported. Hmm. maybe just "this page in other
version" and "this page in unsupported versions".

I'll do some experimenting :)

-- 
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/



view thread (14+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected]
  Subject: Re: [PATCH] Cross-version navigation in documentation
  In-Reply-To: <CABUevEwBZQyZLq8rG6g9zub3C12CNT7M0SW_SS3kppthd5btXQ@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox