qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Daniel P. Berrangé" <berrange@redhat.com>
To: "Marc-André Lureau" <marcandre.lureau@gmail.com>
Cc: Stefan Weil <sw@weilnetz.de>,
	Peter Maydell <peter.maydell@linaro.org>,
	QEMU <qemu-devel@nongnu.org>, Paolo Bonzini <pbonzini@redhat.com>
Subject: Re: [Qemu-devel] [PATCH] docs: apply some qemu.org-like CSS style to HTML
Date: Wed, 28 Nov 2018 16:19:38 +0000	[thread overview]
Message-ID: <20181128161938.GR24355@redhat.com> (raw)
In-Reply-To: <CAJ+F1C+iGrQFRyQdxyWM7rF8wx8kt48C6aUuqQ6RaMU=r3MW_g@mail.gmail.com>

On Wed, Nov 28, 2018 at 07:40:09PM +0400, Marc-André Lureau wrote:
> Hi
> 
> On Wed, Nov 28, 2018 at 7:27 PM Stefan Weil <sw@weilnetz.de> wrote:
> >
> > Am 22.11.2018 um 15:17 schrieb Marc-André Lureau:
> > > Style a bit the HTML documents, to make them look like qemu.org pages.
> > >
> > > Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
> > > ---
> > >  Makefile                     |   2 +
> > >  docs/texinfo-extra-head.html |   7 ++
> > >  docs/texinfo.css             | 226 +++++++++++++++++++++++++++++++++++
> > >  3 files changed, 235 insertions(+)
> > >  create mode 100644 docs/texinfo-extra-head.html
> > >  create mode 100644 docs/texinfo.css
> >
> >
> > I tried this patch, and here are the results without the patch and with
> > the patch, so everybody can compare both looks:
> >
> > old: https://qemu.weilnetz.de/doc/qemu-doc.html
> > new: https://qemu.weilnetz.de/doc/3.1/qemu-doc.html
> >
> > I like the new look and can use it from now on, no matter whether it is
> > merged into QEMU 3.1 or delayed for release 4.
> 
> With my limited knowledge of CSS, I tried to apply a style close to
> what qemu.org already uses. Further tweaks would be welcome, but
> better left to someone with more web design skills.
> 
> >
> > Tested-by: Stefan Weil <sw@weilnetz.de>
> >
> > PS: https://qemu.weilnetz.de/doc/3.1/qemu-ga-ref.html and
> > https://qemu.weilnetz.de/doc/3.1/qemu-qmp-ref.html are also candidates
> > for the new look.
> 
> Oh, but the style is also applied for them, as they are also generated
> from the same texinfo->html process.
> 
> I wonder if the generated pages could be somehow uploaded on release
> on qemu.org, or simply committed to qemu-web?

Committing them to qemu-web would be a fairly straightforward approach,
not requiring any extra tooling work. In particular it would make it pretty
easy to provide docs for historical versions of QEMU too.

The alternative is to write a jekyll plugin which fetches the qemu
releases & generates docs dynamically, but this would much more
complex & fragile IMHO.

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

  reply	other threads:[~2018-11-28 16:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-22 14:17 [Qemu-devel] [PATCH] docs: apply some qemu.org-like CSS style to HTML Marc-André Lureau
2018-11-28 15:26 ` Stefan Weil
2018-11-28 15:40   ` Marc-André Lureau
2018-11-28 16:19     ` Daniel P. Berrangé [this message]
2018-11-28 15:48 ` Daniel P. Berrangé
2018-12-19 15:16 ` Aleksandar Markovic
2018-12-20 15:24   ` Marc-André Lureau
2018-12-20 15:37     ` Daniel P. Berrangé

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=20181128161938.GR24355@redhat.com \
    --to=berrange@redhat.com \
    --cc=marcandre.lureau@gmail.com \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=sw@weilnetz.de \
    /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).