public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Martin Liška" <mliska@suse.cz>
To: Andrew MacLeod <amacleod@redhat.com>,
	Richard Biener <richard.guenther@gmail.com>
Cc: GCC <gcc@gcc.gnu.org>, Martin Liska <marxin.liska@gmail.com>
Subject: Re: Documentation format question
Date: Mon, 30 May 2022 14:43:07 +0200	[thread overview]
Message-ID: <4da66eb8-b54b-f8ca-65c6-0876144f9fcb@suse.cz> (raw)
In-Reply-To: <70210169-c952-d821-6263-4a9a716b0a69@redhat.com>

On 5/27/22 22:05, Andrew MacLeod via Gcc wrote:
> On 5/27/22 02:38, Richard Biener wrote:
>> On Wed, May 25, 2022 at 10:36 PM Andrew MacLeod via Gcc <gcc@gcc.gnu.org> wrote:
>>> I am going to get to some documentation for ranger and its components
>>> later this cycle.
>>>
>>> I use to stick these sorts things on the wiki page, but i find that gets
>>> out of date really quickly.  I could add more comments to the top of
>>> each file, but that doesnt seem very practical for larger architectural
>>> descriptions, nor for APIs/use cases/best practices.   I could use
>>> google docs and turn it into a PDF or some other format, but that isnt
>>> very flexible.
>>>
>>> Do we/anyone have any forward looking plans for GCC documentation that I
>>> should consider using?  It would be nice to be able to tie some of it
>>> into source files/classes in some way, but I am unsure of a decent
>>> direction.  It has to be easy to use, or I wont use it :-)  And i
>>> presume many others wouldn't either.  Im not too keep an manually
>>> marking up text either.
>> The appropriate place for this is the internals manual and thus the
>> current format in use is texinfo in gcc/doc/
>>
> And there is no move to convert it to anything more modern?

Hi.

Yes, there's plan moving to Sphinx for GCC 13, but I'm currently stuck with Sphinx upsteam
where I have a pending pull requests. Hopefully, I'll return to it soon.

>    Is there at least a reasonable tool to be able to generate texinfo from?  Otherwise the higher level stuff is likely to end up in a wiki page where I can just visually do it.

But as Richi wrote, if you write it in Texinfo, then I can easily convert it (I'll be doing the same for the rest of manuals).

In your case, you can experiment with Sphinx (similarly to libgccjit), and then export texinfo, similarly to what libgccjit does.

Martin

> 
> Andrew
> 
> 


      reply	other threads:[~2022-05-30 12:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-25 20:35 Andrew MacLeod
2022-05-27  6:38 ` Richard Biener
2022-05-27 20:05   ` Andrew MacLeod
2022-05-30 12:43     ` Martin Liška [this message]

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=4da66eb8-b54b-f8ca-65c6-0876144f9fcb@suse.cz \
    --to=mliska@suse.cz \
    --cc=amacleod@redhat.com \
    --cc=gcc@gcc.gnu.org \
    --cc=marxin.liska@gmail.com \
    --cc=richard.guenther@gmail.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).