Documentation doesn't get updated

Hi Tanya,

Last time I noticed a problem with clang-tools-extra docs you could help solving them. If someone else is taking care of this part of the infrastructure now, please redirect appropriately.

It looks like docs generated from rst (for LLVM, Clang and clang-tools-extra) don’t get updated at the moment. They stopped updating somewhere between r353327 (which made it to and r353374 (which didn’t make it to The llvm-sphinx-docs, clang-sphinx-docs (until recently) and clang-tools-sphinx-docs buildbots have been green, so there doesn’t seem to be any problem with the rst files (at least, with the sphinx version used by the docs buildbots).

Could you take a look at what’s happening?


– Alex


I’m not sure if its related, but if I build inside clang/docs with Sphinx v1.6.5 I get

/usr/bin/sphinx-build -n -W ./docs ./html
Running Sphinx v1.6.5
loading pickled environment… not yet created
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 67 source files that are out of date
updating environment: 67 added, 0 changed, 0 removed
reading sources… [100%] index

Warning, treated as error:
/clang/llvm/tools/clang/docs/ClangCommandLineReference.rst:22:Duplicate explicit target name: “cmdoption-clang–prefix”.
make: *** [Makefile:32: check_sphinx_docs] Error 1


That’s been an issue for I believe almost a year, the workaround is -DSPHINX_WARNINGS_AS_ERRORS=OFF.

Tanya, friendly ping.

Yes, I am working on it. The sub-projects are still having issues but the other documentation has been fixed.


This should all be fixed now.


Hi Tanya,

I reported another one issue with clang doxygen month ago:

Could you please take a look?


Thank you! It seems like new changes in .rst files are picked up quickly now.

– Alex

It looks like the same error is back:

Note that Polly's documentation also hasn't been updated for a while
now. I don't see a 'polly-sphinx-docs' in the builder list. Is it
supposed to exist?