From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Sassmannshausen Subject: [PATCH] A patch to generate paginated packages page Date: Fri, 11 Nov 2016 21:03:38 +0100 Message-ID: <20161111200339.7062-1-alex@pompo.co> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54757) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c5I3a-00066i-UF for guix-devel@gnu.org; Fri, 11 Nov 2016 15:04:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c5I3X-0007a8-Ov for guix-devel@gnu.org; Fri, 11 Nov 2016 15:04:14 -0500 Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]:37293) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c5I3X-0007Zp-IW for guix-devel@gnu.org; Fri, 11 Nov 2016 15:04:11 -0500 Received: by mail-wm0-x232.google.com with SMTP id t79so110310424wmt.0 for ; Fri, 11 Nov 2016 12:04:11 -0800 (PST) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Cc: Alex Sassmannshausen Hello, Following from repeated discussions on the mailing list about the packages page, here a rough attempt at fixing the issue. The patch below adds/modifies procedures so we can generate a packages page for each "starting character" of package names. The idea would be that we have a page for all packages starting with "A", with "B", etc. There will also still be a page with all packages on it. The logic is basically there I think — but the CSS will need some tweaking, and I'm also not 100% sure on testing it. I wanted to get it out here for comments first of all. What do you think? Cheers, Alex Alex Sassmannshausen (1): Generate multiple paginated packages pages. website/www.scm | 12 +++++++- website/www/packages.scm | 74 +++++++++++++++++++++++++++++++++++++----------- 2 files changed, 69 insertions(+), 17 deletions(-) -- 2.10.1