From patchwork Fri Oct 23 15:29:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= X-Patchwork-Id: 1386866 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=gWj/uQ8w; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CHq3m1X9Kz9sT6 for ; Sat, 24 Oct 2020 03:11:32 +1100 (AEDT) Received: from localhost ([::1]:38100 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kVzf7-0003wr-Ox for incoming@patchwork.ozlabs.org; Fri, 23 Oct 2020 12:11:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32822) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVz1I-0007en-96 for qemu-devel@nongnu.org; Fri, 23 Oct 2020 11:30:20 -0400 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:23035) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1kVz1C-0001nP-2C for qemu-devel@nongnu.org; Fri, 23 Oct 2020 11:30:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1603467013; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vx5Uvd1Hygxjtmt0D3r2fl2Rr7vwdt1SAjrRWrX76nQ=; b=gWj/uQ8wmtNeiOUnH0AUr+7BZuybe1ByB5BQBI2B1fB2aTa5PuQt5v8md7aRpebn4dhDVo hZuZ9/fTMRCd+FE1tqts7R+DvKLvGajRhjhq3mT2Jk9AqnaUMGMbFez/A4RQMiEeQSv/P8 bALr30OiHcHVPQh1/9VvhiW7B3akpes= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-10-GyY9Knf8Mi6SJ4U_Ib10Jw-1; Fri, 23 Oct 2020 11:30:09 -0400 X-MC-Unique: GyY9Knf8Mi6SJ4U_Ib10Jw-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 1F27EEC50B for ; Fri, 23 Oct 2020 15:30:00 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-113-189.ams2.redhat.com [10.36.113.189]) by smtp.corp.redhat.com (Postfix) with ESMTP id D880A5B4B3; Fri, 23 Oct 2020 15:29:58 +0000 (UTC) From: =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= To: qemu-devel@nongnu.org Subject: [qemu-web PATCH 0/7] Tweaks to page footer and add "edit page" links Date: Fri, 23 Oct 2020 16:29:50 +0100 Message-Id: <20201023152957.488974-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=berrange@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=63.128.21.124; envelope-from=berrange@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/23 02:46:25 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , Thomas Huth , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" This series started off as a desire to add an "Edit page" link to every page on the site. In doing this I felt that the footer would benefit from simplication so that it was not a massive wall of links, duplicating links elsewhere in the navigation or content pages. I also add gitlab CI jobs so that users can push a branch to gitlab and then browse the rendered result. eg see this pipeline: https://gitlab.com/berrange/qemu-web/-/pipelines/206891542 and the rendered result: https://berrange.gitlab.io/qemu-web/ Or browsable at https://gitlab.com/berrange/qemu-web/-/jobs/809000762/artifacts/browse/publ= ic/ Or download ZIP at https://gitlab.com/berrange/qemu-web/-/jobs/809000762/artifacts/download notice how the resulting content needs to cope with being used from a variety of different paths. IOW, we cannot use absolute hyperlinks that assume the root is "/". Jekyll doesn't make this easy, so we use a hack with a custom template that sets a variable we can then reference. The logical next step for this would be to accept merge requests, so that once the user saves their edits in gitlab, they can directly submit a MR, instead of sending via email. I noticed we don't currently have a CONTRIBUTING.md file in qemu-web.git telling people how to submit. So this series includes such a file directing people to send patches via email for now. Daniel P. Berrang=C3=A9 (7): Convert files to UNIX line endings gitlab: introduce a CI job to publish the site content make all links be relative to the root Make page header nav narrower Simplify and restructure the page footer Add link to "edit this page" for all pages Add a CONTRIBUTING.md file as guidance for contributors .gitlab-ci.yml | 16 + CONTRIBUTING.md | 32 + _config.yml | 1 + _includes/assets.html | 28 +- _includes/copyright.html | 8 - _includes/footer.html | 33 +- _includes/nav.html | 13 +- _includes/relative_root.html | 12 + _includes/sidebar.html | 6 +- _layouts/archive.html | 4 +- _layouts/blog.html | 4 +- _layouts/home.html | 2 +- _layouts/page.html | 2 +- assets/css/style-desktop.css | 575 ++++++++-------- assets/css/style-mobile.css | 739 +++++++++++---------- assets/css/style.css | 1200 +++++++++++++++++----------------- blog/index.html | 4 +- index.html | 178 ++--- 18 files changed, 1448 insertions(+), 1409 deletions(-) create mode 100644 .gitlab-ci.yml create mode 100644 CONTRIBUTING.md delete mode 100644 _includes/copyright.html create mode 100644 _includes/relative_root.html --=20 2.26.2