Do not use a server-based search engine for the doxygen documentation.
authorTobias Frost <tobi@debian.org>
Mon, 8 Feb 2021 00:02:09 +0000 (00:02 +0000)
committerKurt Kremitzki <kkremitzki@debian.org>
Mon, 8 Feb 2021 00:02:09 +0000 (00:02 +0000)
Origin: <upstream|backport|vendor|other>, <URL, required except if Author is present>
Bug: <URL to the upstream bug report if any, implies patch has been forwarded, optional>
Bug-Debian: https://bugs.debian.org/914498
Forwarded: not-needed, Debian specific
Last-Update: 2020-04-08

As this would require a webserver with php enabled.
Last-Update: 2020-04-08
Gbp-Pq: Name do-not-use-doxygen-searchengine.patch

dox/CMakeLists.txt
dox/resources/occt_ug_html.doxyfile

index 1ff4cd40eae4f923e57de4f830d6e26270d1587b..c3cecb9d8e4d10ba1811dc9dca2011a9ff55019d 100644 (file)
@@ -52,7 +52,7 @@ foreach (OCCT_ARTICLE ${OCCT_ARTICLES})
   get_filename_component (OCCT_ARTICLE_ABSOLUTE_PATH "${OCCT_OVERVIEW_DIR}/${OCCT_ARTICLE}" ABSOLUTE)
   get_filename_component (OCCT_ARTICLE_PARENT_DIR "${OCCT_ARTICLE_ABSOLUTE_PATH}" PATH)
 
-  if (EXISTS "${OCCT_ARTICLE_PARENT_DIR}/images")
+  if (EXISTS "${OCCT_ARTICLE_PARENT_DIR}/images" AND NOT "${OCCT_ARTICLE_PARAM_IMAGEPATH}" MATCHES ".*${OCCT_ARTICLE_PARENT_DIR}/images.*")
     set (OCCT_ARTICLE_PARAM_IMAGEPATH "${OCCT_ARTICLE_PARAM_IMAGEPATH} ${OCCT_ARTICLE_PARENT_DIR}/images")
   endif()
 
@@ -83,7 +83,7 @@ file (APPEND ${OCCT_CONFIG_FOR_DOXYGEN} "\nGENERATE_TREEVIEW      = YES")
 
 # HTML Search engine options
 file (APPEND ${OCCT_CONFIG_FOR_DOXYGEN} "\nSEARCHENGINE           = YES")
-file (APPEND ${OCCT_CONFIG_FOR_DOXYGEN} "\nSERVER_BASED_SEARCH    = YES")
+file (APPEND ${OCCT_CONFIG_FOR_DOXYGEN} "\nSERVER_BASED_SEARCH    = NO")
 file (APPEND ${OCCT_CONFIG_FOR_DOXYGEN} "\nEXTERNAL_SEARCH        = NO")
 
 # Formula options
index a3a577261fd79f993d9160e8d7e8706d1b0e555e..6ef3ae5998a783c81141218dacfab226af12999b 100644 (file)
@@ -4,7 +4,7 @@ PROJECT_BRIEF          =
 CREATE_SUBDIRS         = NO
 OUTPUT_LANGUAGE        = English
 ABBREVIATE_BRIEF       = 
-FULL_PATH_NAMES        = YES
+FULL_PATH_NAMES        = NO
 INHERIT_DOCS           = YES
 TAB_SIZE               = 4
 MARKDOWN_SUPPORT       = YES