summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrabi <ramishra@redhat.com>2021-11-17 12:01:58 +0530
committerrabi <ramishra@redhat.com>2021-11-17 12:12:52 +0530
commit2c5f6e7a8041b5b5a06c5eed6cbc10f1ef104a40 (patch)
tree8d2137b8d9f0c7d3a7d03edddf5cdcaba0364bbb
parentbf9186a37e77cb105fd50b4dc2cb89a2556037cc (diff)
downloadheat-2c5f6e7a8041b5b5a06c5eed6cbc10f1ef104a40.tar.gz
Add intersphinx_mapping for sqlalchemy
This would fix the docs build failures with sqlalchemy 1.4.27. Change-Id: Iae37cb89667ae95d93eca7ea71122b7de59cee7f
-rw-r--r--doc/source/conf.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index eb772897a..913262c95 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -73,7 +73,7 @@ extensions = ['sphinx.ext.autodoc',
'sphinx.ext.viewcode',
'sphinx.ext.todo',
'sphinx.ext.coverage',
- 'sphinx.ext.viewcode',
+ 'sphinx.ext.intersphinx',
'sphinx.ext.doctest',
'sphinxcontrib.apidoc',
'openstackdocstheme',
@@ -85,6 +85,10 @@ extensions = ['sphinx.ext.autodoc',
'ext.tablefromtext',
'stevedore.sphinxext']
+intersphinx_mapping = {
+ 'types_typedecorator': ('https://docs.sqlalchemy.org', None),
+}
+
# policy sample file generation
policy_generator_config_file = '../../etc/heat/heat-policy-generator.conf'
sample_policy_basename = '_static/heat'