How to build LLVM doxygen in HTML ?

Hi, everyone.

I want to get a copy of the doxygen web-pages of llvm, so I can work with it without the internet. I did as follows:

$ cd LLVM_ROOT_DIR
$ mkdir out
$ cd out/
$ ../configure --enable-doxygen
$ make ENABLE_OPTIMIZED=1

But it only built llvm without documentation. I also tried

$ make BUILD_FOR_WEBSITE=1 ENABLE_OPTIMIZED=1

and

$ make ENABLE_OPTIMIZED=1 EXTRA_DIST=1

All of them did not work. How could I build the web pages ?

Thanks a lot.

Bo.

Hi Bo,

Hi, everyone.

I want to get a copy of the doxygen web-pages of llvm, so I can work with it
without the internet. I did as follows:

$ cd LLVM_ROOT_DIR
$ mkdir out
$ cd out/
$ ../configure --enable-doxygen
$ make ENABLE_OPTIMIZED=1

But it only built llvm without documentation. I also tried

$ make BUILD_FOR_WEBSITE=1 ENABLE_OPTIMIZED=1

and

$ make ENABLE_OPTIMIZED=1 EXTRA_DIST=1

All of them did not work. How could I build the web pages ?

I usually build it like this:

$ cd $LLVM_DIR
$ mkdir build.doxygen
$ cd build.doxygen
$ cmake -GNinja -DLLVM_ENABLE_DOXYGEN=ON -DLLVM_BUILD_DOCS=ON ..
$ ninja doxygen
(Wait a while..)

Docs are written to docs/doxygen/html/