From: "Daniel P. Berrangé" <berrange@redhat.com>
To: qemu-devel@nongnu.org
Cc: "Paolo Bonzini" <pbonzini@redhat.com>,
"Thomas Huth" <thuth@redhat.com>,
"Daniel P. Berrangé" <berrange@redhat.com>
Subject: [qemu-web PATCH 0/7] Tweaks to page footer and add "edit page" links
Date: Fri, 23 Oct 2020 16:29:50 +0100 [thread overview]
Message-ID: <20201023152957.488974-1-berrange@redhat.com> (raw)
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
next reply other threads:[~2020-10-23 16:12 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-23 15:29 Daniel P. Berrangé [this message]
2020-10-23 15:29 ` [qemu-web PATCH 1/7] Convert files to UNIX line endings Daniel P. Berrangé
2020-10-23 15:29 ` [qemu-web PATCH 2/7] gitlab: introduce a CI job to publish the site content Daniel P. Berrangé
2020-10-23 15:29 ` [qemu-web PATCH 3/7] make all links be relative to the root Daniel P. Berrangé
2020-10-23 15:29 ` [qemu-web PATCH 4/7] Make page header nav narrower Daniel P. Berrangé
2020-10-23 15:29 ` [qemu-web PATCH 5/7] Simplify and restructure the page footer Daniel P. Berrangé
2020-10-23 15:46 ` Paolo Bonzini
2020-10-23 16:46 ` Daniel P. Berrangé
2020-10-23 17:19 ` Paolo Bonzini
2020-10-23 15:29 ` [qemu-web PATCH 6/7] Add link to "edit this page" for all pages Daniel P. Berrangé
2020-10-23 15:47 ` Paolo Bonzini
2020-10-23 16:19 ` Daniel P. Berrangé
2020-10-23 17:07 ` Paolo Bonzini
2020-10-23 15:29 ` [qemu-web PATCH 7/7] Add a CONTRIBUTING.md file as guidance for contributors Daniel P. Berrangé
2020-10-23 15:50 ` Paolo Bonzini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201023152957.488974-1-berrange@redhat.com \
--to=berrange@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=thuth@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).