From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Sassmannshausen Subject: [PATCH] Revised generate multiple package pages. Date: Wed, 30 Nov 2016 00:22:23 +0100 Message-ID: <20161129232224.28525-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]:54167) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cBrkj-0002ms-Tb for guix-devel@gnu.org; Tue, 29 Nov 2016 18:23:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cBrkg-00036d-QE for guix-devel@gnu.org; Tue, 29 Nov 2016 18:23:57 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:34231) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cBrkg-00036V-JM for guix-devel@gnu.org; Tue, 29 Nov 2016 18:23:54 -0500 Received: by mail-wm0-f65.google.com with SMTP id g23so26882978wme.1 for ; Tue, 29 Nov 2016 15:23:54 -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, Here a revised patch generating multiple package pages. Since the last version I've: * added CSS styling * rebased on master * incorporated ludo's feedback * tested it locally Local testing seems to work a charm, except for the appearance of #f in the software table, the emission of warnings during site compilation and the failure of the Javascript folding scripts. All of those problems seemed to happen on master too, so I concluded they were artifacts from local testing. Finally, please note that the paginated pages page is wrapped in an additional lambda. This is to make the commented section in (www) work, but might be incorrect in how those pages are actually generated using cron scripts… Best wishes, Alex Alex Sassmannshausen (1): Generate multiple paginated packages pages. website/static/base/css/packages.css | 8 ++- website/www.scm | 8 ++- website/www/packages.scm | 96 ++++++++++++++++++++++++++++-------- 3 files changed, 89 insertions(+), 23 deletions(-) -- 2.10.2