Created
July 19, 2016 13:09
-
-
Save adiroiban/642850727d2e49937cb582a3fd284cbd to your computer and use it in GitHub Desktop.
pydoctor for twisted no fetch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git twisted/python/_pydoctor.py twisted/python/_pydoctor.py | |
index 76a5458..4d064b4 100644 | |
--- twisted/python/_pydoctor.py | |
+++ twisted/python/_pydoctor.py | |
@@ -60,6 +60,13 @@ class TwistedSphinxInventory(SphinxInventory): | |
# as an exceptional case. | |
# We get the base URL from IInterface which is assume that is | |
# always and already well defined in the Sphinx index. | |
+ link = self._links.get('zope.interface.interfaces.IInterface') | |
+ | |
+ if not link: | |
+ # Most probably that the zope.interface inventory was not | |
+ # loaded. | |
+ return None | |
+ | |
baseURL, _ = self._links.get( | |
'zope.interface.interfaces.IInterface') | |
diff --git twisted/python/_release.py twisted/python/_release.py | |
index 84ab8c0..9f27a76 100644 | |
--- twisted/python/_release.py | |
+++ twisted/python/_release.py | |
@@ -529,7 +529,7 @@ class APIBuilder(object): | |
"--html-viewsource-base", sourceURL, | |
"--add-package", packagePath.path, | |
"--html-output", outputPath.path, | |
- "--html-write-function-pages", "--quiet", "--make-html", | |
+ "--html-write-function-pages", "--make-html", | |
] + intersphinxes) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment