public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [Ada] convert GNAT doc to sphinx
@ 2015-02-20  9:26 Arnaud Charlet
  2015-02-22 17:37 ` Tom de Vries
  2015-03-03 10:42 ` Matthias Klose
  0 siblings, 2 replies; 21+ messages in thread
From: Arnaud Charlet @ 2015-02-20  9:26 UTC (permalink / raw)
  To: gcc-patches

As discussed last year, we've converted the GNAT main documentation
(gnat_rm.texi and gnat_ugn.texi) to reST/sphinx, so the master doc
can now be found under gcc/ada/doc.

We're keeping automatically generated .texi files for now under gcc/ada
so that people only having texinfo tools can still generate the documentation
in various formats.

Once GCC has more generally switched to reST/sphinx, we can finalize the
transition and make the .rst files first class citizens/built by default.

Currently you need to manually call the Makefile in the doc subdirectory
to generate documentation using sphinx, e.g:

make -C doc
will yield a help on the various available build targets:
<<
Please use `make <target>' where <target> is one of
  DOC_NAME.html       to make standalone HTML files
  DOC_NAME.pdf        to make LaTeX files and run them through pdflatex
  DOC_NAME.txt        to make text files
  DOC_NAME.texinfo    to make Texinfo files
  DOC_NAME.info       to make info files
  DOC_NAME.all        to build DOC_NAME for all previous formats
  all                 to build all documentations in all formats
  html-all            same as previous rule but only for HTML format
  pdf-all             same as previous rule but only for PDF format
  txt-all             same as previous rule but only for text format
  texinfo-all         same as previous rule but only for texinfo format
  info-all            same as previous rule but only for info format

DOC_NAME should be a documentation name in the following list:
  gnat_rm gnat_ugn

source and location can be overriden using SOURCEDIR and BUILDDIR variables
>>

For example:

$ make -C doc all
$ make -C doc gnat_ugn.pdf

The SOURCEDIR and BUILDDIR variables have been introduced in
doc/Makefile in order to ease further integration with the GCC Makefiles.

Not including the diff which is very large and not very interesting.

Tested on x86_64-pc-linux-gnu, committed on trunk.

2015-02-20  Arnaud Charlet  <charlet@adacore.com>                      

        * gnat_rm.texi, gnat_ugn.texi: Now automatically generated from
        sphinx in the doc directory.
        * doc: New directory containing sphinx versions of gnat_rm and gnat_ugn

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2015-03-03 13:33 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-20  9:26 [Ada] convert GNAT doc to sphinx Arnaud Charlet
2015-02-22 17:37 ` Tom de Vries
2015-02-22 18:30   ` Arnaud Charlet
2015-02-22 19:02     ` Tom de Vries
2015-02-22 19:35       ` Arnaud Charlet
2015-02-22 20:48         ` Tom de Vries
2015-02-23  2:28           ` Arnaud Charlet
2015-02-23  8:26             ` Tom de Vries
2015-02-25 12:02         ` Richard Biener
2015-02-25 11:05     ` Joseph Myers
2015-02-25 11:27       ` Arnaud Charlet
2015-02-25 11:35         ` Joseph Myers
2015-02-25 11:40           ` Arnaud Charlet
2015-02-25 15:43             ` Joseph Myers
2015-02-25 15:50               ` Arnaud Charlet
2015-02-25 16:00                 ` Joseph Myers
2015-02-26 17:18                 ` David Malcolm
2015-02-26 17:26                   ` Arnaud Charlet
2015-02-26 18:33                   ` Mike Stump
2015-03-03 10:42 ` Matthias Klose
2015-03-03 13:33   ` Arnaud Charlet

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).