petsc : '3.14.0'
Pillow : '7.1.1'
planegcs : '0.18-3cb6890'
- pockets : '0.6.2'
Pygments : '2.0.2'
pyparsing : '2.0.3'
PyQt : '5.9'
six : '1.10.0'
snowballstemmer : '1.2.1'
Sphinx : '1.7.6'
- sphinxcontrib_napoleon : '0.6.1'
sphinxcontrib_websupport : '1.1.0'
sphinx_rtd_theme : '0.4.3'
sphinxintl: '0.9.10'
petsc : '3.14.0'
Pillow : '7.1.1'
planegcs : '0.18-3cb6890'
- pockets : '0.6.2'
Pygments : '2.0.2'
pyparsing : '2.0.3'
PyQt : '5.9'
six : '1.10.0'
snowballstemmer : '1.2.1'
Sphinx : '1.7.6'
- sphinxcontrib_napoleon : '0.6.1'
sphinxcontrib_websupport : '1.1.0'
sphinx_rtd_theme : '0.4.3'
sphinxintl: '0.9.10'
perl : '5.28.1.1'
Pillow : '7.1.1'
planegcs : '0.18-3cb6890'
- pockets : '0.7.2'
pthreads : '2.9.1'
Pygments : '2.4.2'
pyparsing : '2.4.0'
sphinxcontrib_devhelp : '1.0.1'
sphinxcontrib_jsmath : '1.0.1'
sphinxcontrib_htmlhelp : '1.0.2'
- sphinxcontrib_napoleon : '0.7'
sphinxcontrib_qthelp : '1.0.2'
sphinxcontrib_serializinghtml :'1.1.3'
sphinxcontrib_websupport : '1.1.2'
petsc : '3.14.0'
Pillow : '7.1.1'
planegcs : '0.18-3cb6890'
- pockets : '0.6.2'
Pygments : '2.0.2'
pyparsing : '2.0.3'
PyQt : '5.9'
six : '1.10.0'
snowballstemmer : '1.2.1'
Sphinx : '1.7.6'
- sphinxcontrib_napoleon : '0.6.1'
sphinxcontrib_websupport : '1.1.0'
sphinx_rtd_theme : '0.4.3'
sphinxintl: '0.9.10'
"omniORB",
"docutils",
"libxml2",
- "sphinxintl",
- "sphinxcontrib_napoleon"
+ "sphinxintl"
]
opt_depend : ["sphinx_rtd_theme"]
build_depend : ["cmake", "swig", "doxygen", "cppunit"]
"sphinxcontrib_websupport",
"sphinxcontrib_applehelp",
"sphinxcontrib_serializinghtml",
- "sphinxcontrib_napoleon",
"graphviz"
]
opt_depend : ["sphinx_rtd_theme"]
'eigen'
]
build_depend : ["cmake", "swig", "doxygen"]
+ opt_depend : ["sphinxcontrib_napoleon"]
source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
properties:
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']
+ patches : ['patch_shaper_cursor_cross.diff', 'SHAPER_sphinx_ext_napoleon.patch']
}
default_win :
"six",
"pytz",
"sphinxintl",
- "sphinxcontrib_napoleon",
"tbb"
]
build_depend : ["cmake", "swig", "doxygen", "cppunit"]
- opt_depend : []
- patches : []
+ patches : ["SMESH_sphinx_ext_napoleon.patch"]
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
default_win :
{
cmake_options : " -DSWIG_EXECUTABLE=%SWIG_ROOT_DIR:\=/%/bin/swig.exe -DSALOME_SMESH_USE_CGNS:BOOL=ON -DSALOME_SMESH_DYNLOAD_LOCAL:BOOL=ON -DSALOME_SMESH_BUILD_FRENCH_DOC=OFF -DSALOME_SMESH_USE_TBB=ON"
- patches : []
depend : ["KERNEL",
"GUI",
"GEOM",
"pytz",
"Sphinx",
"sphinxintl",
- "sphinxcontrib_napoleon",
"tbb"
]
build_depend : ["cmake", "swig", "doxygen", "cppunit", "f2c"]
"six",
"pytz",
"sphinxintl",
- "sphinxcontrib_napoleon",
"tbb",
"openmpi"
]
"sphinxintl",
"sphinxcontrib_napoleon"
]
+ patches : []
}
# OP 19/04/2018 Add section for SALOME 7.8.0 to 8.4.0 due to new dependencies in SALOME 8.5.0
"pytz"
]
nb_proc : 8
+ patches : []
}
version_V6_6_0 :
"Pygments"
]
check_install : []
+ patches : []
}
--- /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: