Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions builtins/mathjax/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ExternalProject_Add(
MATHJAX
URL ${CMAKE_SOURCE_DIR}/documentation/doxygen/mathjax.tar.gz
URL_HASH SHA256=c5e22e60430a65963a87ab4dcc8856b9be5bd434d3b3871f27ee65b584c3c3ea
URL ${lcgpackages}/mathjax-3.2.0.tar.gz
URL_HASH SHA256=6847f1cfdd980afbe31b466474da301a56ab859a67d8035442b052dd4ac2fa03
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND ""
Expand Down
7 changes: 6 additions & 1 deletion cmake/modules/SearchInstalledSoftware.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -1134,7 +1134,12 @@ if(webgui)
add_subdirectory(builtins/openui5)
endif()
add_subdirectory(builtins/rendercore)
add_subdirectory(builtins/mathjax)
ROOT_CHECK_CONNECTION("builtin_mathjax=ON")
if(NO_CONNECTION)
message(WARNING "No internet connection, jsroot/webgui will not be able to use the optional mathjax engine for rendering")
else()
add_subdirectory(builtins/mathjax)
endif()
endif()

#------------------------------------------------------------------------------------
Expand Down
1 change: 1 addition & 0 deletions documentation/doxygen/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ filter:

mathjax:
$(call MkDir,$(DOXYGEN_IMAGE_PATH))
curl -o mathjax.tar.gz https://lcgpackages.web.cern.ch/tarFiles/sources/mathjax-3.2.0.tar.gz
tar xfz mathjax.tar.gz -C $(DOXYGEN_IMAGE_PATH)

js:
Expand Down
Binary file removed documentation/doxygen/mathjax.tar.gz
Binary file not shown.
Loading