[PATCH] D79236: [docs] Regenerate DiagnosticsReference.rst

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 4 16:09:28 PDT 2020


rjmccall added a comment.

In D79236#2018891 <https://reviews.llvm.org/D79236#2018891>, @rsmith wrote:

> In D79236#2018812 <https://reviews.llvm.org/D79236#2018812>, @rjmccall wrote:
>
> > In D79236#2018661 <https://reviews.llvm.org/D79236#2018661>, @rsmith wrote:
> >
> > > We do generate this document with tblgen already. The problem is that it's not automatically regenerated as part of the docs build on the website, unlike some of our other similar tblgen-generated documentation. I've asked for that to happen repeatedly for years but so far I have achieved zero traction. So the best we have right now is to manually regenerate this every once in a while and check it in. :-(
> >
> >
> > Do we need support from the website ops people on this, or do we just need to set up the build system properly to do it?
>
>
> My understanding is that there's a custom script on the website that runs some `clang-tblgen` invocations as part of the docs build process, and it's not something that we can modify by changing anything that's checked into git. (I mean, we could hack around it by detecting one of the tablegen invocations that's already performed and doing more work on the side, but that's clearly the wrong way to get this to work...)


Okay.  So it doesn't just run `ninja docs-clang-html`?  That's unfortunate.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79236/new/

https://reviews.llvm.org/D79236





More information about the cfe-commits mailing list