public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/pms-test-suite:master commit in: /
Date: Sun, 10 Jul 2011 10:12:41 +0000 (UTC)	[thread overview]
Message-ID: <e70e4e1bbe1d9671374fe6f4de4093b9149426ab.mgorny@gentoo> (raw)

commit:     e70e4e1bbe1d9671374fe6f4de4093b9149426ab
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 10 09:01:03 2011 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jul 10 09:04:14 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/pms-test-suite.git;a=commit;h=e70e4e1b

Support generating docs using epydoc.

---
 .gitignore |    1 +
 setup.py   |    6 +++++-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/.gitignore b/.gitignore
index ce6c37d..7208896 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
 /build
 /dist
 /doc/*.html
+/doc/html/

diff --git a/setup.py b/setup.py
index e961633..3cea20c 100755
--- a/setup.py
+++ b/setup.py
@@ -5,7 +5,7 @@
 
 from distutils.core import setup, Command, Distribution
 
-import os.path, sys
+import os.path, subprocess, sys
 
 sys.path.insert(0, os.path.dirname(__file__))
 try:
@@ -80,6 +80,10 @@ class DocCommand(Command):
 			m.convertFile(f, d)
 			self.outfiles.append(d)
 
+		print('Creating API docs')
+		subprocess.check_call(['epydoc', '--verbose', '--html',
+			'--output', os.path.join('doc', 'html'), 'pmstestsuite'])
+
 	def get_inputs(self):
 		return self.docs or []
 



             reply	other threads:[~2011-07-10 10:12 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-10 10:12 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-01-04 16:49 [gentoo-commits] proj/pms-test-suite:master commit in: / Michał Górny
2012-01-02 22:03 Michał Górny
2011-08-20  6:23 Michał Górny
2011-08-14 15:04 Michał Górny
2011-08-13  8:54 Michał Górny
2011-08-08 22:15 Michał Górny
2011-07-31 14:57 Michał Górny
2011-07-31 14:43 Michał Górny
2011-06-29 12:58 Michał Górny
2011-06-28  7:13 Michał Górny
2011-06-28  7:13 Michał Górny
2011-06-25  8:39 Michał Górny
2011-06-25  8:39 Michał Górny
2011-06-23 21:14 Michał Górny
2011-06-23 16:28 Michał Górny
2011-06-22 11:50 Michał Górny
2011-06-22  8:18 Michał Górny
2011-06-22  8:18 Michał Górny
2011-06-19 10:54 Michał Górny
2011-06-08 12:44 Michał Górny
2011-06-05 18:37 Michał Górny
2011-05-31 19:18 Michał Górny
2011-05-31 19:18 Michał Górny
2011-05-31 18:10 Michał Górny
2011-05-31 18:10 Michał Górny
2011-05-29 17:55 Michał Górny
2011-05-27  6:21 Michał Górny
2011-05-26  7:25 Michał Górny
2011-05-25 20:40 Michał Górny
2011-05-25 18:18 Michał Górny
2011-05-24 14:28 Michał Górny
2011-05-16 20:00 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e70e4e1bbe1d9671374fe6f4de4093b9149426ab.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox