summaryrefslogtreecommitdiff
path: root/doc/build/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'doc/build/conf.py')
-rw-r--r--doc/build/conf.py32
1 files changed, 25 insertions, 7 deletions
diff --git a/doc/build/conf.py b/doc/build/conf.py
index 5277134e7..22b377fa1 100644
--- a/doc/build/conf.py
+++ b/doc/build/conf.py
@@ -34,13 +34,10 @@ import sqlalchemy
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.intersphinx',
- 'builder.autodoc_mods',
+ 'zzzeeksphinx',
'changelog',
'sphinx_paramlinks',
- 'builder.dialect_info',
- 'builder.mako',
- 'builder.sqlformatter',
- 'builder.viewsource',
+ #'corrections'
]
# Add any paths that contain templates here, relative to this directory.
@@ -74,6 +71,23 @@ changelog_render_pullreq = {
changelog_render_changeset = "http://www.sqlalchemy.org/trac/changeset/%s"
+autodocmods_convert_modname = {
+ "sqlalchemy.sql.sqltypes": "sqlalchemy.types",
+ "sqlalchemy.sql.type_api": "sqlalchemy.types",
+ "sqlalchemy.sql.schema": "sqlalchemy.schema",
+ "sqlalchemy.sql.elements": "sqlalchemy.sql.expression",
+ "sqlalchemy.sql.selectable": "sqlalchemy.sql.expression",
+ "sqlalchemy.sql.dml": "sqlalchemy.sql.expression",
+ "sqlalchemy.sql.ddl": "sqlalchemy.schema",
+ "sqlalchemy.sql.base": "sqlalchemy.sql.expression",
+ "sqlalchemy.engine.base": "sqlalchemy.engine",
+ "sqlalchemy.engine.result": "sqlalchemy.engine",
+}
+
+autodocmods_convert_modname_w_class = {
+ ("sqlalchemy.engine.interfaces", "Connectable"): "sqlalchemy.engine",
+ ("sqlalchemy.sql.base", "DialectKWArgs"): "sqlalchemy.sql.base",
+}
# The encoding of source files.
#source_encoding = 'utf-8-sig'
@@ -97,6 +111,8 @@ release = "1.0.0"
release_date = "Not released"
site_base = os.environ.get("RTD_SITE_BASE", "http://www.sqlalchemy.org")
+site_adapter_template = "docs_adapter.mako"
+site_adapter_py = "docs_adapter.py"
# arbitrary number recognized by builders.py, incrementing this
# will force a rebuild
@@ -144,7 +160,7 @@ gettext_compact = False
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
-html_theme = 'default'
+html_theme = 'zzzeeksphinx'
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
@@ -178,7 +194,7 @@ html_title = "%s %s Documentation" % (project, version)
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
-html_static_path = ['static']
+html_static_path = []
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
@@ -328,3 +344,5 @@ intersphinx_mapping = {
'alembic': ('http://alembic.readthedocs.org/en/latest/', None),
'psycopg2': ('http://pythonhosted.org/psycopg2', None),
}
+
+