Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing link to Doxygen #916

Open
wants to merge 12 commits into
base: develop
Choose a base branch
from
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
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ cmake_dependent_option( UMPIRE_ENABLE_BENCHMARKS "Build Umpire benchmarks" On
cmake_dependent_option( UMPIRE_ENABLE_EXAMPLES "Build Umpire examples" On
"ENABLE_EXAMPLES" Off )

cmake_dependent_option( UMPIRE_ENABLE_DOCS "Build Umpire docs" Off
cmake_dependent_option( UMPIRE_ENABLE_DOCS "Build Umpire docs" On
"ENABLE_DOCS" Off )
cmake_dependent_option( UMPIRE_ENABLE_CLANGQUERY "Build Umpire with Clang query" On
"ENABLE_CLANGQUERY" Off )
Expand Down
18 changes: 12 additions & 6 deletions docs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,16 @@
#
# SPDX-License-Identifier: (MIT)
##############################################################################
if (DOXYGEN_FOUND)
add_subdirectory(doxygen)
endif ()
if (SPHINX_FOUND)
blt_add_sphinx_target( umpire_docs )
add_subdirectory(sphinx)
endif()

if (SPHINX_FOUND)
add_subdirectory(sphinx)
endif ()
if (DOXYGEN_FOUND)
add_subdirectory(doxygen)
endif ()

if ( NOT SPHINX_FOUND AND NOT DOXGEN_FOUND)
message(WARNING "UMPIRE_ENABLE_DOCS=On, but Sphinx or Doxygen not found. \
Documentation won't be built.")
endif ()
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@
# built documents.
#
# The short X.Y version.
version = u'6.0'
version = u'2024.07'
# The full version, including alpha/beta/rc tags.
release = u'6.0.0'
release = u'2024.07.0'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
11 changes: 11 additions & 0 deletions docs/doxygen/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,14 @@
# SPDX-License-Identifier: (MIT)
##############################################################################
blt_add_doxygen_target( umpire_doxygen )

# Required directory for doxygen to generate output to
add_custom_target( build_doxygen_output_dir
ALL
COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_BINARY_DIR}/html
)

add_dependencies( umpire_doxygen build_doxygen_output_dir )

add_dependencies(umpire_docs
umpire_doxygen)
Loading
Loading