Skip to content

Commit

Permalink
Remove ill-maintained pdf generation.
Browse files Browse the repository at this point in the history
  • Loading branch information
WardF committed Aug 2, 2024
1 parent bfbf86f commit 79ff28d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
10 changes: 0 additions & 10 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1069,12 +1069,10 @@ if(NETCDF_ENABLE_DOXYGEN)
option(NETCDF_ENABLE_DOXYGEN_BUILD_RELEASE_DOCS "Build release documentation. This is of interest only to the netCDF developers." OFF)
if(NETCDF_ENABLE_DOXYGEN_BUILD_RELEASE_DOCS)
set(DOXYGEN_CSS_FILE "${CMAKE_SOURCE_DIR}/docs/release.css" CACHE STRING "")
set(DOXYGEN_HEADER_FILE "${CMAKE_SOURCE_DIR}/docs/release_header.html" CACHE STRING "")
set(DOXYGEN_SEARCHENGINE "NO" CACHE STRING "")
set(NETCDF_ENABLE_DOXYGEN_SERVER_BASED_SEARCH NO CACHE STRING "")
else()
set(DOXYGEN_CSS_FILE "" CACHE STRING "")
set(DOXYGEN_HEADER_FILE "" CACHE STRING "")
set(DOXYGEN_SEARCHENGINE "YES" CACHE STRING "")

# If not using release document configuration,
Expand All @@ -1096,14 +1094,6 @@ if(NETCDF_ENABLE_DOXYGEN)
set(SHOW_DOXYGEN_TODO_LIST NO CACHE STRING "")
endif(NETCDF_DOXYGEN_ENABLE_TASKS)

option(NETCDF_ENABLE_DOXYGEN_PDF_OUTPUT "[EXPERIMENTAL] Turn on PDF output for Doxygen-generated documentation." OFF)

if(NETCDF_ENABLE_DOXYGEN_PDF_OUTPUT)
set(NC_NETCDF_ENABLE_DOXYGEN_PDF_OUTPUT "YES" CACHE STRING "")
else()
set(NC_NETCDF_ENABLE_DOXYGEN_PDF_OUTPUT "NO" CACHE STRING "")
endif()

find_program(NC_DOT NAMES dot)
# Specify whether or not 'dot' was found on the system path.
if(NC_DOT)
Expand Down
1 change: 0 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,6 @@ AM_CONDITIONAL([DOXYGEN_BUILD_RELEASE_DOCS], [test "x$enable_doxygen_build_relea

if test $enable_doxygen_build_release_docs = yes; then
AC_SUBST([DOXYGEN_CSS_FILE], ["release.css"])
AC_SUBST([DOXYGEN_HEADER_FILE], ["release_header.html"])
AC_SUBST([DOXYGEN_SEARCHENGINE], ["NO"])
else
AC_SUBST([DOXYGEN_CSS_FILE], [])
Expand Down
2 changes: 1 addition & 1 deletion docs/Doxyfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -1987,7 +1987,7 @@ EXTRA_SEARCH_MAPPINGS =
# If the GENERATE_LATEX tag is set to YES, doxygen will generate LaTeX output.
# The default value is: YES.

GENERATE_LATEX = @NC_NETCDF_ENABLE_DOXYGEN_PDF_OUTPUT@
GENERATE_LATEX =

# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. If a
# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
Expand Down

0 comments on commit 79ff28d

Please sign in to comment.