diff --git a/CMakeLists.txt b/CMakeLists.txt index 8444e1ec..3ba5ac4e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -168,8 +168,14 @@ if (ENABLE_LIB_DOCS AND CMAKE_VERSION VERSION_GREATER 3.11) ${PROJECT_SOURCE_DIR}/src/OpenShot.h ${PROJECT_SOURCE_DIR}/src/Effects.h ) - set(DOXYGEN_PREDEFINED USE_BLACKMAGIC USE_IMAGEMAGICK) - set(DOXYGEN_IMAGE_PATH ${PROJECT_SOURCE_DIR}) + set(DOXYGEN_PREDEFINED + USE_BLACKMAGIC + USE_IMAGEMAGICK + USE_OPENCV + USE_BABL + USE_RESVG + ) + set(DOXYGEN_IMAGE_PATH "${PROJECT_SOURCE_DIR}/doc/images") set(DOXYGEN_OUTPUT_DIRECTORY "doc") set(DOXYGEN_EXTRACT_ALL YES) diff --git a/src/FrameMapper.h b/src/FrameMapper.h index 9b6ad4bd..3ec5f65b 100644 --- a/src/FrameMapper.h +++ b/src/FrameMapper.h @@ -105,7 +105,7 @@ namespace openshot * * The following graphic displays a how frame rates are mapped, and how time remapping affects the order * of frames returned from the FrameMapper. - * \image html /doc/images/FrameMapper.png + * \image html FrameMapper.png * * Please see the following Example Code: * \code diff --git a/src/OpenShot.h b/src/OpenShot.h index fe4f6c0a..eac4475c 100644 --- a/src/OpenShot.h +++ b/src/OpenShot.h @@ -63,7 +63,7 @@ * The following graphic displays a timeline, and how clips can be arranged, scaled, and layered together. It * also demonstrates how the viewport can be scaled smaller than the canvas, which can be used to zoom and pan around the * canvas (i.e. pan & scan). - * \image html /doc/images/Timeline_Layers.png + * \image html Timeline_Layers.png * * ### Build Instructions ### * Build instructions are available for all three major Operating Systems: diff --git a/src/Timeline.h b/src/Timeline.h index 07535996..d6272753 100644 --- a/src/Timeline.h +++ b/src/Timeline.h @@ -90,10 +90,10 @@ namespace openshot { * The following graphic displays a timeline, and how clips can be arranged, scaled, and layered together. It * also demonstrates how the viewport can be scaled smaller than the canvas, which can be used to zoom and pan around the * canvas (i.e. pan & scan). - * \image html /doc/images/Timeline_Layers.png + * \image html Timeline_Layers.png * * The following graphic displays how the playhead determines which frames to combine and layer. - * \image html /doc/images/Playhead.png + * \image html Playhead.png * * Lets take a look at what the code looks like: * @code