diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt index be6815fe..f939d1a6 100644 --- a/docs/CMakeLists.txt +++ b/docs/CMakeLists.txt @@ -275,3 +275,7 @@ add_documentation(documentation ALL CODE_DEPENDS ${unitsPublicHeaders} DOCS_DEPENDS ${unitsSphinxDocs} ) + +add_custom_command(TARGET documentation POST_BUILD + COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/_static/img/*.svg ${CMAKE_CURRENT_BINARY_DIR}/sphinx/_images +) diff --git a/docs/framework/basic_concepts.rst b/docs/framework/basic_concepts.rst index 556585ed..8fbb6665 100644 --- a/docs/framework/basic_concepts.rst +++ b/docs/framework/basic_concepts.rst @@ -9,7 +9,7 @@ The most important concepts in the library are `Unit`, `Dimension`, .. raw:: html - + .. https://www.planttext.com diff --git a/docs/framework/dimensions.rst b/docs/framework/dimensions.rst index 2531dcf3..6e9fb553 100644 --- a/docs/framework/dimensions.rst +++ b/docs/framework/dimensions.rst @@ -10,7 +10,7 @@ dimensions. .. raw:: html - + .. https://www.planttext.com diff --git a/docs/framework/units.rst b/docs/framework/units.rst index 630a1154..4e21b1c2 100644 --- a/docs/framework/units.rst +++ b/docs/framework/units.rst @@ -23,7 +23,7 @@ of a `scaled_unit` class template: .. raw:: html - + .. https://www.planttext.com