Adds debian/patches/no-intersphinx.patch

This commit is contained in:
Thomas Goirand 2014-01-28 15:16:33 +08:00
parent 2e4391e4b7
commit 032784f33d
3 changed files with 27 additions and 0 deletions

17
debian/patches/no-intersphinx.patch vendored Normal file
View File

@ -0,0 +1,17 @@
Description: Do not use intersphinx
Avoids network use when building sphinx docs.
Author: Thomas Goirand <zigo@debian.org>
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.

1
debian/patches/series vendored Normal file
View File

@ -0,0 +1 @@
no-intersphinx.patch

9
debian/python-oslo.messaging.doc-base vendored Normal file
View File

@ -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/*