Skip to content

Commit

Permalink
Temporarily reduce the time of the doc build
Browse files Browse the repository at this point in the history
  • Loading branch information
couet committed Dec 13, 2024
1 parent 25bef79 commit 32873bb
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 67 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/root-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ jobs:
export DOXYGEN_OUTPUT_DIRECTORY=${DOC_LOCATION}/${DOC_DIR}_TMP
cd ${DOC_LOCATION}/ROOT-CI/src/documentation/doxygen
make -j$(nproc)
make -j `nproc --all`
if [ -d "${DOC_LOCATION}/${DOC_DIR}/html" ]; then
rm -rf "${DOC_LOCATION}/${DOC_DIR}/html"
Expand Down
2 changes: 1 addition & 1 deletion documentation/doxygen/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -1594,7 +1594,7 @@ SITEMAP_URL =
# The default value is: NO.
# This tag requires that the tag GENERATE_HTML is set to YES.

GENERATE_QHP = YES
GENERATE_QHP = NO

# If the QHG_LOCATION tag is specified, the QCH_FILE tag can be used to specify
# the file name of the resulting .qch file. The path specified is relative to
Expand Down
1 change: 0 additions & 1 deletion documentation/doxygen/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ doxygen: filter pyzdoc
doxygen
bash ./CleanNamespaces.sh
gzip $(DOXYGEN_IMAGE_PATH)/ROOT.tag
gzip $(DOXYGEN_IMAGE_PATH)/ROOT.qch
rm -rf files c1* *.ps *.eps *.png *.jpg *.tex *.svg *.pdf *.root *.xpm *.out *.dat *.dtd *.dot *.txt *.csv *.log *.rs
rm -rf listofclass.sh tmva* data* result* config* test* Roo* My* Freq*
rm -f Doxyfile_INPUT filter htmlfooter.html MDF.C pca.C
Expand Down
128 changes: 64 additions & 64 deletions documentation/doxygen/makeinput.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,68 +9,68 @@
echo "INPUT = ./mainpage.md \\" > Doxyfile_INPUT

echo " ../../core/base/ \\" >> Doxyfile_INPUT
echo " ../../core/dictgen/ \\" >> Doxyfile_INPUT
echo " ../../core/cont/ \\" >> Doxyfile_INPUT
echo " ../../core/foundation/ \\" >> Doxyfile_INPUT
echo " ../../core/gui/ \\" >> Doxyfile_INPUT
echo " ../../core/macosx/ \\" >> Doxyfile_INPUT
echo " ../../core/meta/ \\" >> Doxyfile_INPUT
echo " ../../core/metacling/ \\" >> Doxyfile_INPUT
echo " ../../core/clingutils/ \\" >> Doxyfile_INPUT
echo " ../../core/multiproc/ \\" >> Doxyfile_INPUT
echo " ../../core/rint/ \\" >> Doxyfile_INPUT
echo " ../../core/testsupport/ \\" >> Doxyfile_INPUT
echo " ../../core/thread/ \\" >> Doxyfile_INPUT
echo " ../../core/unix/ \\" >> Doxyfile_INPUT
echo " ../../core/winnt/ \\" >> Doxyfile_INPUT
echo " ../../core/imt/ \\" >> Doxyfile_INPUT
echo " ../../core/zip/inc/Compression.h \\" >> Doxyfile_INPUT
echo " ../../geom/ \\" >> Doxyfile_INPUT
echo " ../../graf2d/asimage/ \\" >> Doxyfile_INPUT
echo " ../../graf2d/cocoa/ \\" >> Doxyfile_INPUT
echo " ../../graf2d/fitsio/ \\" >> Doxyfile_INPUT
echo " ../../graf2d/gpad/ \\" >> Doxyfile_INPUT
echo " ../../graf2d/gpadv7/ \\" >> Doxyfile_INPUT
echo " ../../graf2d/graf/ \\" >> Doxyfile_INPUT
echo " ../../graf2d/gviz/ \\" >> Doxyfile_INPUT
echo " ../../graf2d/postscript/ \\" >> Doxyfile_INPUT
echo " ../../graf2d/quartz/ \\" >> Doxyfile_INPUT
echo " ../../graf2d/win32gdk/ \\" >> Doxyfile_INPUT
echo " ../../graf2d/x11/ \\" >> Doxyfile_INPUT
echo " ../../graf2d/x11ttf/ \\" >> Doxyfile_INPUT
echo " ../../graf3d/eve/ \\" >> Doxyfile_INPUT
echo " ../../graf3d/eve7/ \\" >> Doxyfile_INPUT
echo " ../../graf3d/g3d/ \\" >> Doxyfile_INPUT
echo " ../../graf3d/gl/ \\" >> Doxyfile_INPUT
echo " ../../graf3d/gviz3d/ \\" >> Doxyfile_INPUT
echo " ../../gui/ \\" >> Doxyfile_INPUT
echo " ../../hist/ \\" >> Doxyfile_INPUT
echo " ../../html/ \\" >> Doxyfile_INPUT
echo " ../../io/doc/TFile \\" >> Doxyfile_INPUT
echo " ../../io/dcache/ \\" >> Doxyfile_INPUT
echo " ../../io/io/ \\" >> Doxyfile_INPUT
echo " ../../io/sql/ \\" >> Doxyfile_INPUT
echo " ../../io/xml/ \\" >> Doxyfile_INPUT
echo " ../../io/xmlparser/ \\" >> Doxyfile_INPUT
echo " ../../main/src/hadd.cxx \\" >> Doxyfile_INPUT
echo " ../../math/ \\" >> Doxyfile_INPUT
echo " ../../montecarlo/ \\" >> Doxyfile_INPUT
echo " ../../net/doc/ \\" >> Doxyfile_INPUT
echo " ../../net/auth/ \\" >> Doxyfile_INPUT
echo " ../../net/davix/ \\" >> Doxyfile_INPUT
echo " ../../net/http/ \\" >> Doxyfile_INPUT
echo " ../../net/net/ \\" >> Doxyfile_INPUT
echo " ../../net/netxng/ \\" >> Doxyfile_INPUT
echo " ../../net/httpsniff/ \\" >> Doxyfile_INPUT
echo " ../../proof/ \\" >> Doxyfile_INPUT
echo " ../../tmva/ \\" >> Doxyfile_INPUT
echo " ../../roofit/ \\" >> Doxyfile_INPUT
echo " ../../tree/ \\" >> Doxyfile_INPUT
echo " ../../sql/ \\" >> Doxyfile_INPUT
echo " ../../tutorials/ \\" >> Doxyfile_INPUT
echo " ../../bindings/tpython/ \\" >> Doxyfile_INPUT
echo " ../../bindings/pyroot/ \\" >> Doxyfile_INPUT
echo " ../../bindings/r/ \\" >> Doxyfile_INPUT
# echo " ../../core/dictgen/ \\" >> Doxyfile_INPUT
# echo " ../../core/cont/ \\" >> Doxyfile_INPUT
# echo " ../../core/foundation/ \\" >> Doxyfile_INPUT
# echo " ../../core/gui/ \\" >> Doxyfile_INPUT
# echo " ../../core/macosx/ \\" >> Doxyfile_INPUT
# echo " ../../core/meta/ \\" >> Doxyfile_INPUT
# echo " ../../core/metacling/ \\" >> Doxyfile_INPUT
# echo " ../../core/clingutils/ \\" >> Doxyfile_INPUT
# echo " ../../core/multiproc/ \\" >> Doxyfile_INPUT
# echo " ../../core/rint/ \\" >> Doxyfile_INPUT
# echo " ../../core/testsupport/ \\" >> Doxyfile_INPUT
# echo " ../../core/thread/ \\" >> Doxyfile_INPUT
# echo " ../../core/unix/ \\" >> Doxyfile_INPUT
# echo " ../../core/winnt/ \\" >> Doxyfile_INPUT
# echo " ../../core/imt/ \\" >> Doxyfile_INPUT
# echo " ../../core/zip/inc/Compression.h \\" >> Doxyfile_INPUT
# echo " ../../geom/ \\" >> Doxyfile_INPUT
# echo " ../../graf2d/asimage/ \\" >> Doxyfile_INPUT
# echo " ../../graf2d/cocoa/ \\" >> Doxyfile_INPUT
# echo " ../../graf2d/fitsio/ \\" >> Doxyfile_INPUT
# echo " ../../graf2d/gpad/ \\" >> Doxyfile_INPUT
# echo " ../../graf2d/gpadv7/ \\" >> Doxyfile_INPUT
# echo " ../../graf2d/graf/ \\" >> Doxyfile_INPUT
# echo " ../../graf2d/gviz/ \\" >> Doxyfile_INPUT
# echo " ../../graf2d/postscript/ \\" >> Doxyfile_INPUT
# echo " ../../graf2d/quartz/ \\" >> Doxyfile_INPUT
# echo " ../../graf2d/win32gdk/ \\" >> Doxyfile_INPUT
# echo " ../../graf2d/x11/ \\" >> Doxyfile_INPUT
# echo " ../../graf2d/x11ttf/ \\" >> Doxyfile_INPUT
# echo " ../../graf3d/eve/ \\" >> Doxyfile_INPUT
# echo " ../../graf3d/eve7/ \\" >> Doxyfile_INPUT
# echo " ../../graf3d/g3d/ \\" >> Doxyfile_INPUT
# echo " ../../graf3d/gl/ \\" >> Doxyfile_INPUT
# echo " ../../graf3d/gviz3d/ \\" >> Doxyfile_INPUT
# echo " ../../gui/ \\" >> Doxyfile_INPUT
# echo " ../../hist/ \\" >> Doxyfile_INPUT
# echo " ../../html/ \\" >> Doxyfile_INPUT
# echo " ../../io/doc/TFile \\" >> Doxyfile_INPUT
# echo " ../../io/dcache/ \\" >> Doxyfile_INPUT
# echo " ../../io/io/ \\" >> Doxyfile_INPUT
# echo " ../../io/sql/ \\" >> Doxyfile_INPUT
# echo " ../../io/xml/ \\" >> Doxyfile_INPUT
# echo " ../../io/xmlparser/ \\" >> Doxyfile_INPUT
# echo " ../../main/src/hadd.cxx \\" >> Doxyfile_INPUT
# echo " ../../math/ \\" >> Doxyfile_INPUT
# echo " ../../montecarlo/ \\" >> Doxyfile_INPUT
# echo " ../../net/doc/ \\" >> Doxyfile_INPUT
# echo " ../../net/auth/ \\" >> Doxyfile_INPUT
# echo " ../../net/davix/ \\" >> Doxyfile_INPUT
# echo " ../../net/http/ \\" >> Doxyfile_INPUT
# echo " ../../net/net/ \\" >> Doxyfile_INPUT
# echo " ../../net/netxng/ \\" >> Doxyfile_INPUT
# echo " ../../net/httpsniff/ \\" >> Doxyfile_INPUT
# echo " ../../proof/ \\" >> Doxyfile_INPUT
# echo " ../../tmva/ \\" >> Doxyfile_INPUT
# echo " ../../roofit/ \\" >> Doxyfile_INPUT
# echo " ../../tree/ \\" >> Doxyfile_INPUT
# echo " ../../sql/ \\" >> Doxyfile_INPUT
# echo " ../../tutorials/ \\" >> Doxyfile_INPUT
# echo " ../../bindings/tpython/ \\" >> Doxyfile_INPUT
# echo " ../../bindings/pyroot/ \\" >> Doxyfile_INPUT
# echo " ../../bindings/r/ \\" >> Doxyfile_INPUT

# echo " ../../core/clib/ \\" >> Doxyfile_INPUT
# echo " ../../core/lzma/ \\" >> Doxyfile_INPUT
Expand All @@ -86,6 +86,6 @@ echo " ../../bindings/r/ \\" >> Doxyfile_INPUT

# Add to the list of files to be analyzed the .pyzdoc files created by extract_docstrings.py
# and print_roofit_pyz_doctrings.py
ls $DOXYGEN_PYZDOC_PATH/*.pyzdoc | sed -e "s/$/ \\\\/" \
>> Doxyfile_INPUT
# ls $DOXYGEN_PYZDOC_PATH/*.pyzdoc | sed -e "s/$/ \\\\/" \
# >> Doxyfile_INPUT

0 comments on commit 32873bb

Please sign in to comment.