Docs: Fix image paths, more PREDEFINED

This commit is contained in:
FeRD (Frank Dana)
2021-11-11 05:14:40 -05:00
parent 1686842eb6
commit ce895cc86f
4 changed files with 12 additions and 6 deletions

View File

@@ -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)

View File

@@ -105,7 +105,7 @@ namespace openshot
*
* The <b>following graphic</b> 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 <b>Example Code</b>:
* \code

View File

@@ -63,7 +63,7 @@
* The <b>following graphic</b> 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:

View File

@@ -90,10 +90,10 @@ namespace openshot {
* The <b>following graphic</b> 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 <b>following graphic</b> 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