# HG changeset patch # User Denis Laxalde # Date 1538489092 -7200 # Node ID 1a0159426defd7b2d4a85d7feb0561601614ea60 # Parent a6c7716841cef29b9086b1148f8f99d147181c4d [doc] Do not rely on lgc's sphinx_ext This module is broken (getting an ImportError) and I don't want to fix it. The only usage we make of it is for the "autodocstring" directive, and I don't know what it does. Based on the context, replacing autodocstring with either automodule or autoclass and removing sphinx_ext from required Sphinx extensions. diff -r a6c7716841ce -r 1a0159426def cubicweb/web/views/autoform.py --- a/cubicweb/web/views/autoform.py Thu Sep 06 13:44:06 2018 +0200 +++ b/cubicweb/web/views/autoform.py Tue Oct 02 16:04:52 2018 +0200 @@ -16,7 +16,7 @@ # You should have received a copy of the GNU Lesser General Public License along # with CubicWeb. If not, see . """ -.. autodocstring:: cubicweb.web.views.autoform::AutomaticEntityForm +.. autoclass:: AutomaticEntityForm Configuration through uicfg ``````````````````````````` diff -r a6c7716841ce -r 1a0159426def doc/book/admin/config.rst --- a/doc/book/admin/config.rst Thu Sep 06 13:44:06 2018 +0200 +++ b/doc/book/admin/config.rst Tue Oct 02 16:04:52 2018 +0200 @@ -28,7 +28,7 @@ Cubicweb resources configuration -------------------------------- -.. autodocstring:: cubicweb.cwconfig +.. automodule:: cubicweb.cwconfig .. _DatabaseInstallation: diff -r a6c7716841ce -r 1a0159426def doc/book/devrepo/repo/hooks.rst --- a/doc/book/devrepo/repo/hooks.rst Thu Sep 06 13:44:06 2018 +0200 +++ b/doc/book/devrepo/repo/hooks.rst Tue Oct 02 16:04:52 2018 +0200 @@ -4,7 +4,7 @@ Hooks and Operations ==================== -.. autodocstring:: cubicweb.server.hook +.. automodule:: cubicweb.server.hook Example using dataflow hooks diff -r a6c7716841ce -r 1a0159426def doc/conf.py --- a/doc/conf.py Thu Sep 06 13:44:06 2018 +0200 +++ b/doc/conf.py Tue Oct 02 16:04:52 2018 +0200 @@ -54,7 +54,6 @@ extensions = [ 'sphinx.ext.autodoc', 'sphinx.ext.viewcode', - 'logilab.common.sphinx_ext', ] autoclass_content = 'both'