From 356fb71decc22a2ceb16e0a25b7d3a16f6fe5531 Mon Sep 17 00:00:00 2001 From: vsv Date: Wed, 24 Jul 2019 17:21:53 +0300 Subject: [PATCH] Adapt SHAPER documentation --- CMakeLists.txt | 5 ++++- src/FeaturesPlugin/doc/translationFeature.rst | 6 ------ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f03e21f1b..ed5ca2bfb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,7 +29,10 @@ ENDIF(WIN32) SET (SHAPER_Version 9.3.0) SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/CMakeCommon" ${CMAKE_MODULE_PATH}) -OPTION(SHAPER_BUILD_DOC "Generate SHAPER documentation" ON) + +IF (NOT OPENPARTS_BUILD_DOC) + OPTION(SHAPER_BUILD_DOC "Generate SHAPER documentation" ON) +ENDIF(OPENPARTS_BUILD_DOC) INCLUDE(SalomeMacros) diff --git a/src/FeaturesPlugin/doc/translationFeature.rst b/src/FeaturesPlugin/doc/translationFeature.rst index fddadf371..5c552c217 100644 --- a/src/FeaturesPlugin/doc/translationFeature.rst +++ b/src/FeaturesPlugin/doc/translationFeature.rst @@ -11,12 +11,6 @@ To create a Translation in the active part: #. select in the Main Menu *Part - > Translation* item or #. click |translation_vector_32x32.icon| **Translation** button in the toolbar -.. image:: images/translation_vector_32x32.png - :align: center - -.. centered:: - **Translation** button - The Vector of translation can be defined in three different ways: .. image:: images/translation_vector_32x32.png -- 2.39.2