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

Closed
wants to merge 15 commits into from
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)
2,499 changes: 1,772 additions & 727 deletions docs/doxygen/Doxyfile

Large diffs are not rendered by default.

2,504 changes: 1,775 additions & 729 deletions docs/doxygen/Doxyfile.in

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/umpire/alloc/SyclMallocAllocator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace alloc {
*/
struct SyclMallocAllocator {
/*!
* \Brief Allocate bytes of memory using SYCL malloc
* \brief Allocate bytes of memory using SYCL malloc
*
* \param size Number of bytes to allocate.
* \param queue_t SYCL queue for providing information on device and context
Expand Down
2 changes: 1 addition & 1 deletion src/umpire/alloc/SyclPinnedAllocator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace alloc {
*/
struct SyclPinnedAllocator {
/*!
* \Brief Allocate bytes of memory using SYCL malloc_host
* \brief Allocate bytes of memory using SYCL malloc_host
*
* \param size Number of bytes to allocate.
* \param queue_t SYCL queue for providing information on device and context
Expand Down
Loading