Ticket #54759: patch-docs-conf.py.diff
File patch-docs-conf.py.diff, 1.1 KB (added by arjanvandervelde (Arjan van der Velde), 7 years ago) |
---|
-
docs/conf.py
old new sys.path.append(os.path.abspath('pyplots')) 26 26 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. 27 27 extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 28 28 'sphinx.ext.intersphinx', 'sphinx.ext.todo', 29 'sphinx.ext.coverage', 'sphinx.ext.pngmath',29 'sphinx.ext.coverage', 30 30 'sphinx.ext.ifconfig', 'sphinx.ext.viewcode', 31 31 'matplotlib.sphinxext.plot_directive'] 32 32 … … man_pages = [ 225 225 # Example configuration for intersphinx: refer to the Python standard library. 226 226 intersphinx_mapping = {'bedtools': ('http://bedtools.readthedocs.org/en/latest/', None)} 227 227 228 class Mock( object):228 class Mock(list): 229 229 def __init__(self, *args, **kwargs): 230 230 pass 231 231 … … class Mock(object): 241 241 else: 242 242 return Mock() 243 243 244 def setup(self, *args, **kargs): 245 pass 246 244 247 MOCK_MODULES = ['numpy', 'matplotlib', 'matplotlib.pyplot', 245 248 'matplotlib.sphinxext', 'matplotlib.sphinxext.plot_directive'] 246 249 for mod_name in MOCK_MODULES: