From e5d94f8fb75731029f7abe1e69de7463287d9129 Mon Sep 17 00:00:00 2001 From: Jonathan Springer Date: Thu, 24 Dec 2015 21:33:40 -0500 Subject: [PATCH] Updates for PyQt5 --- api/source/conf.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/api/source/conf.py b/api/source/conf.py index b4c3c2e..c7f99d9 100644 --- a/api/source/conf.py +++ b/api/source/conf.py @@ -346,11 +346,16 @@ epub_exclude_files = ['search.html'] # Example configuration for intersphinx: refer to the Python standard library. -intersphinx_mapping = {'python': ('http://docs.python.org/3.4', None)} +intersphinx_mapping = {'python': ('http://docs.python.org/3.5', None), + 'sqlalchemy': ('http://docs.sqlalchemy.org/en/latest', None), + 'alembic': ('http://alembic.readthedocs.org/en/latest', None), + 'chardet': ('http://chardet.readthedocs.org/en/latest', None), + 'bs4': ('http://www.crummy.com/software/BeautifulSoup/bs4/doc/', None), + 'mako': ('http://docs.makotemplates.org/en/latest/', None), + 'psycopg2': ('http://initd.org/psycopg/docs/', None)} autosummary_generate = True autodoc_default_flags = ['members', 'undoc-members', 'show-inheritance'] -autodoc_mock_imports = ['pyodbc', 'uno', 'PyQt4.phonon', 'com.sun.star.connection', 'com.sun.star.beans', - 'PyQt4.QtCore'] +autodoc_mock_imports = ['pyodbc', 'uno', 'com.sun.star.connection', 'com.sun.star.beans', 'PyQt5.QtCore']