public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Martin Liška" <mliska@suse.cz>
To: Matthias Klose <doko@ubuntu.com>,
	GCC Patches <gcc-patches@gcc.gnu.org>,
	GCC Development <gcc@gcc.gnu.org>
Cc: Sandra Loosemore <sandra@codesourcery.com>,
	"Joseph S. Myers" <joseph@codesourcery.com>
Subject: Re: Porting the Docs to Sphinx - project status
Date: Tue, 8 Mar 2022 16:59:26 +0100	[thread overview]
Message-ID: <3b761c5c-6df8-52c3-c6b8-36528e2d2d07@suse.cz> (raw)
In-Reply-To: <286a539a-ce4a-e016-bcde-8e9cbf24f793@ubuntu.com>

On 2/4/22 14:40, Matthias Klose wrote:
> On 1/31/22 15:06, Martin Liška wrote:
>> Hello.
>>
>> It's about 5 months since the last project status update:
>> https://gcc.gnu.org/pipermail/gcc-patches/2021-August/577108.html
>> Now it's pretty clear that it won't be merged before GCC 12.1 gets released.
>>
>> So where we are? I contacted documentation maintainers (Gerald, Sandra and
>> Joseph) at the
>> end of the year in a private email, where I pinged the patches. My take away is
>> that both
>> Gerald and Joseph are fine with the porting, while Sandra has some concerns.
>> Based on her
>> feedback, I was able to improve the PDF generated output significantly and I'm
>> pleased by the
>> provided feedback. That led to the following 2 Sphinx pulls requests that need
>> to be merged
>> before we can migrate the documentation: [1], [2].
>>
>> Since the last time I also made one more round of proofreading and the layout
>> was improved
>> (mainly for PDF part). Current version of the documentation can be seen here:
>> https://splichal.eu/scripts/sphinx/
>>
>> I would like to finish the transition once GCC 12.1 gets released in May/June
>> this year.
>> There are still some minor regressions, but overall the Sphinx-based
>> documentation should
>> be a significant improvement over what we've got right now.
>>
>> Please take this email as urgent call for a feedback!
> 
> Please take care about the copyrights.  I only checked the D frontend manual,
> and this one suddenly has a copyright with invariant sections, compared to the
> current gdc.texi which has a copyright *without* the invariant sections.  Debian
> doesn't allow me to ship documentation with invariant sections ...

Oh, thank you very much for the pointer. I didn't notice the Copyright sections
differ quite a lot. It should be fixed now.

> 
> I didn't look how much you reorganized the sources, but it would nice to split
> the files into those documenting command line options (used to generate the man
> pages) and other documentation.

Well, the current splitting is done into multiple .rst files and a bunch of them
actually constructs command line options. Please check View page source button
on each HTML page.

> This is already done for gcc/doc, but not for
> other frontends.  It would allow having manual pages with a copyright requiring
> front and back cover texts in the manual pages.

How exactly does it work? Does it mean you don't use official GCC tarballs?
I would expect you just package built man/info pages and don't distribute PDF/HTML
version of a documenation, or?

> 
> It would also be nice to require the latest sphinx version (and probably some
> plugins), so that distros can build the docs with older sphinx versions as well.

I'm sorry but this would be very difficult. It's mainly caused by fact I've reported
quite some changes to upstream, where having them leads to a reasonable HTML/PDF output.

Note you can quite easily utilize pip&virtualenv for Sphinx installation.

Cheers,
Martin

> 
> Matthias


  reply	other threads:[~2022-03-08 15:59 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-31 14:06 Martin Liška
2022-02-04 13:40 ` Matthias Klose
2022-03-08 15:59   ` Martin Liška [this message]
2022-08-02 12:48 ` Martin Liška
2022-10-17 13:28   ` Announcement: Porting the Docs to Sphinx - 9. November 2022 Martin Liška
2022-10-17 14:16     ` Paul Iannetta
2022-10-19  7:24       ` Martin Liška
2022-10-19  8:13         ` Paul Iannetta
2022-10-19  9:22           ` Martin Liška
2022-10-19 16:42             ` Joseph Myers
2022-10-20 11:13               ` Martin Liška
2022-10-17 22:26     ` Sandra Loosemore
2022-10-19 11:09       ` Martin Liška
2022-10-19 12:45         ` Martin Liška
2022-10-19 16:30         ` Sandra Loosemore
2022-10-20 11:26           ` Martin Liška
2022-10-20  2:26     ` Xi Ruoyao
2022-10-20 11:27       ` Martin Liška
2022-10-20 11:49         ` Xi Ruoyao
2022-10-20 11:53           ` Martin Liška
2022-10-20 11:55             ` Xi Ruoyao
2022-10-20 12:26               ` Martin Liška
2022-10-20 15:35         ` Joseph Myers
2022-10-20 15:50           ` Martin Liška
2022-10-20 16:43             ` Joseph Myers
2022-10-20 16:47               ` Jakub Jelinek
2022-11-08 13:55                 ` Announcement: Porting the Docs to Sphinx - tomorrow Martin Liška
2022-11-08 18:44                   ` Sam James
2022-11-09  0:00                     ` Joseph Myers
2022-11-09  0:06                       ` Sam James
2022-11-09  7:49                         ` Richard Biener
2022-11-09 10:18                           ` Mark Wielaard
2022-11-09 17:11                           ` Joseph Myers
2022-11-09 17:16                             ` Richard Biener
2022-11-11 20:52                   ` Gerald Pfeifer
2022-11-11 21:10                     ` Sandra Loosemore
2022-11-13 15:44                       ` Martin Liška
2022-11-09 14:45               ` Announcement: Porting the Docs to Sphinx - 9. November 2022 Martin Liška
2022-11-09 17:14                 ` Joseph Myers
2022-11-10 13:05                   ` Martin Liška
2022-11-10 13:50                     ` Richard Biener
2022-11-11 23:05     ` David Malcolm

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=3b761c5c-6df8-52c3-c6b8-36528e2d2d07@suse.cz \
    --to=mliska@suse.cz \
    --cc=doko@ubuntu.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=gcc@gcc.gnu.org \
    --cc=joseph@codesourcery.com \
    --cc=sandra@codesourcery.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 read-only IMAP folder(s) and NNTP newsgroup(s).