diff --git a/debian/patches/no-intersphinx.patch b/debian/patches/no-intersphinx.patch new file mode 100644 index 0000000..ec756ba --- /dev/null +++ b/debian/patches/no-intersphinx.patch @@ -0,0 +1,17 @@ +Description: Do not use intersphinx + Avoids network use when building sphinx docs. +Author: Thomas Goirand +Forwarded: not-needed +Last-Update: 2014-01-28 + +--- oslo.messaging-1.2.0~a11.orig/doc/source/conf.py ++++ oslo.messaging-1.2.0~a11/doc/source/conf.py +@@ -8,7 +8,7 @@ sys.path.insert(0, os.path.abspath('../. + + # Add any Sphinx extension module names here, as strings. They can be + # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones. +-extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx', 'oslo.sphinx'] ++extensions = ['sphinx.ext.autodoc', 'oslo.sphinx'] + + # autodoc generation is a bit aggressive and a nuisance when doing heavy + # text edit cycles. diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..1813196 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +no-intersphinx.patch diff --git a/debian/python-oslo.messaging.doc-base b/debian/python-oslo.messaging.doc-base new file mode 100644 index 0000000..151129c --- /dev/null +++ b/debian/python-oslo.messaging.doc-base @@ -0,0 +1,9 @@ +Document: python-oslo.messaging +Title: python-oslo.messaging Documentation +Author: OpenStack +Abstract: Sphinx documentation for python-oslo.messaging +Section: Network/File Transfer + +Format: HTML +Index: /usr/share/doc/python-oslo.messaging/html/index.html +Files: /usr/share/doc/python-oslo.messaging/html/*