Skip to content

Commit

Permalink
Merge pull request #3376 from blowekamp/doxygen_option_server_search
Browse files Browse the repository at this point in the history
ENH: Add option to disable the server side searching
  • Loading branch information
blowekamp authored Apr 13, 2022
2 parents 5bd7088 + 1f6552c commit 6fd6079
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Utilities/Doxygen/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ cmake_dependent_option( ITK_DOXYGEN_LATEX "Doxygen will generate LaTeX output" O
cmake_dependent_option( ITK_DOXYGEN_RTF "Doxygen will generate RTF output optimized for Word 97" OFF "ITK_BUILD_DOCUMENTATION" OFF)
cmake_dependent_option( ITK_DOXYGEN_XML "Doxygen will generate XML output" OFF "ITK_BUILD_DOCUMENTATION" OFF)

cmake_dependent_option( ITK_DOXYGEN_SERVER_BASED_SEARCH "Doxygen HTML will use PHP server based search." ON ITK_DOXYGEN_HTML OFF)

mark_as_advanced( ITK_DOXYGEN_HTML
ITK_DOXYGEN_DOCSET
ITK_DOXYGEN_CHM
Expand All @@ -61,7 +63,8 @@ mark_as_advanced( ITK_DOXYGEN_HTML
ITK_DOXYGEN_LATEX
ITK_DOXYGEN_RTF
ITK_DOXYGEN_XML
)
ITK_DOXYGEN_SERVER_BASED_SEARCH
)

find_package( Perl )

Expand Down
6 changes: 5 additions & 1 deletion Utilities/Doxygen/DoxygenConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,11 @@ set(DOXYGEN_ECLIPSE_DOC_ID "org.itk.ITK")
set(DOXYGEN_ENUM_VALUES_PER_LINE "1")
set(DOXYGEN_USE_MATHJAX "YES")
set(DOXYGEN_MATHJAX_RELPATH "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/")
set(DOXYGEN_SERVER_BASED_SEARCH "YES")
if (ITK_DOXYGEN_SERVER_BASED_SEARCH)
set(DOXYGEN_SERVER_BASED_SEARCH "YES")
else()
set(DOXYGEN_SERVER_BASED_SEARCH "NO")
endif()
set(DOXYGEN_LATEX_CMD_NAME "latex")
set(DOXYGEN_PAPER_TYPE "letter")
set(DOXYGEN_EXTRA_PACKAGES "amsmath" "amsfonts")
Expand Down

0 comments on commit 6fd6079

Please sign in to comment.