Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 96D7B98F705 for ; Tue, 5 Jun 2012 07:02:42 -0300 (ADT) Received: from mail-lpp01m010-f46.google.com ([209.85.215.46]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Sbqb3-0007i9-1w for pgsql-www@postgresql.org; Tue, 05 Jun 2012 10:02:41 +0000 Received: by lahd3 with SMTP id d3so3649802lah.19 for ; Tue, 05 Jun 2012 03:02:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding:x-gm-message-state; bh=iNmV/Sa7MXapuVwTDscdVW1xGoAsHSHr92cZFwpyw9U=; b=MGcOvxQEejvuP+nM/95WRrLlUF4aUXDvTew6LXcwQli0FkhbXF1TZJ0Bm3U+kSE73h qQNKi53Cb819wgWHjwVSHzSnb9BCDSHsV8lZ0dXjQV5pdQUSAbyio7NDmThPEN5sSZYF erU/2r6E+rSDEoreohFdMKS2NNO3Yu2VX6cMERtvbaVOaQXjuTtN2q1VwtxMN6Gv/kdq syPv8c6JMVCw75laTqvySQ7QNxLhesWSnoRR5iQmR8YmwYH4zbswyozpujauQUWRJSy0 2hsQXQiIJoJLqlyqQ+JVFMEXq5vCx7WdnbCcmX6/z8mtRK9Lc36eNNs0Cn+3uYYUg4GK mb7A== MIME-Version: 1.0 Received: by 10.112.28.137 with SMTP id b9mr7436530lbh.99.1338890547292; Tue, 05 Jun 2012 03:02:27 -0700 (PDT) Received: by 10.152.21.234 with HTTP; Tue, 5 Jun 2012 03:02:27 -0700 (PDT) In-Reply-To: <201206051142.34071.andres@2ndquadrant.com> References: <201206051142.34071.andres@2ndquadrant.com> Date: Tue, 5 Jun 2012 12:02:27 +0200 Message-ID: Subject: Re: [PATCH] Cross-version navigation in documentation From: Magnus Hagander To: Andres Freund Cc: Marti Raudsepp , pgsql-www , Stefan Kaltenbrunner Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQmMmwgwboQ4pSn9G9S6kC02By8vi5V1aM0mGUam1p5dbSadP9iUM4COpkfg6aMufzSc1NjB X-Pg-Spam-Score: -2.6 (--) X-Archive-Number: 201206/7 X-Sequence-Number: 20701 On Tue, Jun 5, 2012 at 11:42 AM, Andres Freund wro= te: > On Tuesday, June 05, 2012 10:59:54 AM Magnus Hagander wrote: >> On Wed, May 30, 2012 at 11:58 AM, Marti Raudsepp wrote= : >> > On Mon, May 28, 2012 at 2:44 PM, Andres Freund > wrote: >> >> The amount of pages actually having been renamed isn't that big. Mart= i >> >> 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 quer= y >> into: versions =3D >> DocPage.objects.filter(file=3Dfullname).extra(where=3D['version IN (SELE= CT >> 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 do= n'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 :) --=20 =A0Magnus Hagander =A0Me: http://www.hagander.net/ =A0Work: http://www.redpill-linpro.com/