has_unit_tests : "yes"
}
cmake_options : "-DCMAKE_CXX_FLAGS=-fpermissive -DNO_SolveSpace=TRUE -DSWIG_EXECUTABLE=${SWIG_ROOT_DIR}/bin/swig -DADD_COMPATIBILITY_TESTS=ON -DADD_MODELS_TESTS=ON -DADD_HDF_TESTS=ON"
- patches : ['patch_shaper_cursor_cross.diff', 'SHAPER_sphinx_ext_napoleon.patch']
+ patches : ['patch_shaper_cursor_cross.diff']
}
default_win :
"tbb"
]
build_depend : ["cmake", "swig", "doxygen", "cppunit"]
- patches : ["SMESH_sphinx_ext_napoleon.patch"]
+ patches : []
check_install : ["share/doc/salome/gui/SMESH/yams/index.html"]
source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
+++ /dev/null
-diff --git a/doc/gui/conf.py.in b/doc/gui/conf.py.in
-index d1327b144..e5e040494 100644
---- a/doc/gui/conf.py.in
-+++ b/doc/gui/conf.py.in
-@@ -33,8 +33,8 @@ import sphinx
- # ones.
- extensions = ['sphinx.ext.autodoc','sphinx.ext.autosummary']
- try:
-- import sphinxcontrib.napoleon
-- extensions += ['sphinxcontrib.napoleon']
-+ import sphinx.ext.napoleon
-+ extensions += ['sphinx.ext.napoleon']
- except:
- pass
- try:
+++ /dev/null
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 6796fcfe9..522790eac 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -130,7 +130,7 @@ IF(SALOME_BUILD_TESTS)
- ENDIF()
- IF(SALOME_BUILD_DOC)
- FIND_PACKAGE(SalomeDoxygen)
-- SET(Sphinx_EXTENSIONS sphinxcontrib.napoleon)
-+ SET(Sphinx_EXTENSIONS sphinx.ext.napoleon)
- FIND_PACKAGE(SalomeSphinx)
- SALOME_LOG_OPTIONAL_PACKAGE(Doxygen SALOME_BUILD_DOC)
- SALOME_LOG_OPTIONAL_PACKAGE(Sphinx SALOME_BUILD_DOC)
-diff --git a/doc/salome/gui/SMESH/conf.py.in b/doc/salome/gui/SMESH/conf.py.in
-index 66efe32d3..f86270ab8 100644
---- a/doc/salome/gui/SMESH/conf.py.in
-+++ b/doc/salome/gui/SMESH/conf.py.in
-@@ -26,8 +26,8 @@ import sphinx
- # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
- extensions = ['sphinx.ext.autodoc','sphinx.ext.autosummary']
- try:
-- import sphinxcontrib.napoleon
-- extensions += ['sphinxcontrib.napoleon']
-+ import sphinx.ext.napoleon
-+ extensions += ['sphinx.ext.napoleon']
- except:
- pass
- try: