public inbox for overseers@sourceware.org
 help / color / mirror / Atom feed
* Getting libgccjit docs onto gcc website
@ 2015-02-03 20:04 David Malcolm
  2015-02-03 20:53 ` Frank Ch. Eigler
  2015-02-03 21:18 ` Joseph Myers
  0 siblings, 2 replies; 6+ messages in thread
From: David Malcolm @ 2015-02-03 20:04 UTC (permalink / raw)
  To: overseers

A new feature in gcc 5 will be libgccjit:
  https://gcc.gnu.org/wiki/JIT

I'm trying to get the HTML docs for the jit onto the gcc website.

The jit documentation is built using Sphinx, rather than Texinfo.  An
example of the generated HTML can be seen at:
https://dmalcolm.fedorapeople.org/gcc/libgccjit-api-docs-wip/

To support this, I committed a patch to gcc's:
   maintainer-scripts/update_web_docs_svn
 https://gcc.gnu.org/ml/gcc-patches/2015-01/msg02293.html

to trunk as r220149:
 https://gcc.gnu.org/ml/gcc-patches/2015-02/msg00066.html
https://gcc.gnu.org/viewcvs/gcc/trunk/maintainer-scripts/update_web_docs_svn?r1=220149&r2=220148&pathrev=220149


In https://gcc.gnu.org/ml/gcc-patches/2015-02/msg00072.html, 
Gerald Pfeifer said:
> I looked into this, and it does not get propagated
> automatically,
> so I did it manually (svn up at the proper location).

The script is apparently run from a cronjob on the machine that builds
the gcc website, which appears to be run once a day (based on the
crontab file).

For this to work, the machine that builds the site needs to have
sphinx-build in the $PATH when the cronjob runs.

In theory, if it's all working properly, the jit docs ought to be built
and appear at:
  https://gcc.gnu.org/onlinedocs/jit
but that's currently a 404.

I don't have access to the cronjob logs, but presumably it will
currently be failing with a missing "sphinx-build".

FWIW, sphinx-build is packaged in Fedora and EPEL 6 within
"python-sphinx", and in openSUSE within "python-Sphinx".

It's written in python, there are various python dependencies.

Is this something that can be installed on the relevant machine (I'm not
an overseer) or do I need to come up with another approach for getting
the jit docs onto the gcc website? (e.g. an rsync from yet another
machine, or somesuch?)

I'm not an overseers list subscriber, so please keep me CCed on any
replies.  I'm lurking in the IRC channel fwiw.

Thanks!
Dave

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

end of thread, other threads:[~2015-02-04  4:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-03 20:04 Getting libgccjit docs onto gcc website David Malcolm
2015-02-03 20:53 ` Frank Ch. Eigler
2015-02-03 21:18 ` Joseph Myers
2015-02-03 21:30   ` David Malcolm
2015-02-04  4:05     ` David Malcolm
2015-02-04  4:09       ` Frank Ch. Eigler

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