Salome HOME
Update copyrights
[modules/shaper.git] / src / PythonAPI / doc / source / conf.py
index b1c4499dbaaef32d8ae2e7cced6ed878459c6891..71b6bab83b678b5d0ebb9c0d3a60f9135bcaf229 100644 (file)
@@ -36,6 +36,8 @@ extensions = [
     'sphinx.ext.todo',
     'sphinx.ext.coverage',
     'sphinx.ext.viewcode',
+    'sphinx.ext.napoleon',
+    'sphinx.ext.autosummary',
 ]
 
 # Add any paths that contain templates here, relative to this directory.
@@ -51,8 +53,8 @@ source_suffix = '.rst'
 master_doc = 'index'
 
 # General information about the project.
-project = u'Shaper python API'
-copyright = u'2015, Renaud Nédélec'
+project = 'Shaper python API'
+copyright = '2014-2019 CEA/DEN, EDF R&D'
 
 # The version info for the project you're documenting, acts as replacement for
 # |version| and |release|, also used in various other places throughout the
@@ -204,8 +206,8 @@ latex_elements = {
 # (source start file, target name, title,
 #  author, documentclass [howto, manual, or own class]).
 latex_documents = [
-  ('index', 'ShaperpythonAPI.tex', u'Shaper python API Documentation',
-   u'Renaud Nédélec', 'manual'),
+  ('index', 'ShaperpythonAPI.tex', 'Shaper python API Documentation',
+   'Renaud Nédélec', 'manual'),
 ]
 
 # The name of an image file (relative to this directory) to place at the top of
@@ -234,8 +236,8 @@ latex_documents = [
 # One entry per manual page. List of tuples
 # (source start file, name, description, authors, manual section).
 man_pages = [
-    ('index', 'shaperpythonapi', u'Shaper python API Documentation',
-     [u'Renaud Nédélec'], 1)
+    ('index', 'shaperpythonapi', 'Shaper python API Documentation',
+     ['Renaud Nédélec'], 1)
 ]
 
 # If true, show URL addresses after external links.
@@ -248,8 +250,8 @@ man_pages = [
 # (source start file, target name, title, author,
 #  dir menu entry, description, category)
 texinfo_documents = [
-  ('index', 'ShaperpythonAPI', u'Shaper python API Documentation',
-   u'Renaud Nédélec', 'ShaperpythonAPI', 'One line description of project.',
+  ('index', 'ShaperpythonAPI', 'Shaper python API Documentation',
+   'Renaud Nédélec', 'ShaperpythonAPI', 'One line description of project.',
    'Miscellaneous'),
 ]
 
@@ -264,3 +266,6 @@ texinfo_documents = [
 
 # If true, do not generate a @detailmenu in the "Top" node's menu.
 #texinfo_no_detailmenu = False
+
+autodoc_member_order = 'bysource'
+