From b866551dbee532ed4211044281e7932185fb9622 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Wed, 14 Jul 2010 10:37:56 -0500 Subject: [PATCH] Added sphinx documentation to a sphinx-doc package. --- debian/control | 11 +++++++++++ debian/rules | 1 + debian/swift-doc.doc-base | 9 +++++++++ debian/swift-doc.docs | 1 + 4 files changed, 22 insertions(+) create mode 100644 debian/swift-doc.doc-base create mode 100644 debian/swift-doc.docs diff --git a/debian/control b/debian/control index 25b1dab0d4..70ca96b1ff 100644 --- a/debian/control +++ b/debian/control @@ -70,3 +70,14 @@ Description: The swift auth server. The swift auth server. . Homepage: https://launchpad.net/swift + +Package: swift-doc +Architecture: all +Section: doc +Depends: ${misc:Depends} +Description: The swift documentation. + Sphinx documentation for Swift. + . + Homepage: https://launchpad.net/swift + + diff --git a/debian/rules b/debian/rules index 641f1b4afd..aee0db5acb 100755 --- a/debian/rules +++ b/debian/rules @@ -9,6 +9,7 @@ PYTHON = "/usr/bin/python" build: dh build + python setup.py build_sphinx clean: dh clean diff --git a/debian/swift-doc.doc-base b/debian/swift-doc.doc-base new file mode 100644 index 0000000000..6be55bcafa --- /dev/null +++ b/debian/swift-doc.doc-base @@ -0,0 +1,9 @@ +Document: swift-doc +Title: Swift Documentation +Author: OpenStack +Abstract: Sphinx documentation for Swift +Section: Network/File Transfer + +Format: HTML +Index: /usr/share/doc/swift-doc/html/index.html +Files: /usr/share/doc/swift-doc/html/* diff --git a/debian/swift-doc.docs b/debian/swift-doc.docs new file mode 100644 index 0000000000..8137b041cf --- /dev/null +++ b/debian/swift-doc.docs @@ -0,0 +1 @@ +doc/build/html