public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Simon Marchi <simark@simark.ca>
To: Tom de Vries <tdevries@suse.de>,
	"gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: Re: gdb and sphinx documentation
Date: Sun, 18 Sep 2022 18:25:54 -0400	[thread overview]
Message-ID: <682c026e-e7c9-054b-4106-d8e83769bb00@simark.ca> (raw)
In-Reply-To: <c37bd31e-1c40-8c2e-cc35-5e9f31930bc4@suse.de>

On 9/18/22 04:31, Tom de Vries via Gdb-patches wrote:
> Hi,
> 
> at the GNU Cauldron, Martin Liška presented a BOF about migrating GCC documentation to sphinx format ( https://gcc.gnu.org/wiki/cauldron2022#cauldron2022talks.the_sphinx_documentation_bof ).
> 
> I asked him about the gdb documentation, and he ran the migration scripts he used for gcc on it.  The result is obviously a bit rough, but gives a nice idea what it could look like.
> 
> Please take a look if you're interested ( https://splichal.eu/tmp/gdb ).
> 
> Thanks,
> - Tom

Hi Tom,

At first glance, it looks great.  When digging into it, though, you see
a lot of small buglets and inconsistencies that would need to be fixed
manually.

One thing that strikes me is: why is "Tracepoints" the first section?
On the home page, there is some kind of table of contents (where
"Tracepoints" is first) and when you go down a bit there's another, more
complete.

What I like the most about the Sphinx output is the style of it.  I
think I prefer the sans-serif font it uses, vs the serif font used in
the current manual.  The content width is limited to something
reasonable instead of taking the whole browser window, so it's less
horizontal eye movement (I can make my browser window smaller to achieve
the same thing but it's nice if it's like that by default).  The
commands or other text that is in a monospace font has this light grey
background or border that makes it easy to visually separate from the
rest of the text.

Since it's possible to style the texinfo HTML output using CSS, I think
I would already be very happy to see the current manual's html output
get a fresh look.

Simon

  parent reply	other threads:[~2022-09-18 22:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-18  8:31 Tom de Vries
2022-09-18 13:06 ` Gaius Mulley
2022-09-18 13:20 ` Eli Zaretskii
2022-09-18 22:25 ` Simon Marchi [this message]
2022-09-26  0:03   ` Joel Brobecker

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=682c026e-e7c9-054b-4106-d8e83769bb00@simark.ca \
    --to=simark@simark.ca \
    --cc=gdb-patches@sourceware.org \
    --cc=tdevries@suse.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 read-only IMAP folder(s) and NNTP newsgroup(s).