Skip to content

Commit

Permalink
move these, ought to work
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkowl committed Jul 12, 2016
1 parent ddc7ef9 commit 3bb6b45
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ recursive-exclude bin/admin *
# Include test-running utilities for downstream packagers
include tox.ini .coveragerc

# Include our docs templates
recursive-include twisted/python/_pydoctortemplates *.html

# Python 3 setup file
include setup3.py

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions twisted/python/_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -529,8 +529,8 @@ def build(self, projectName, projectURL, sourceURL, packagePath,
def templatefile(filename):

if filename in ["summary.html", "index.html", "common.html"]:
twistedDir = FilePath(twisted.__file__).parent().parent()
templatesDir = twistedDir.child("admin").child("templates")
twistedPythonDir = FilePath(__file__).parent()
templatesDir = twistedPythonDir.child("_pydoctortemplates")
return templatesDir.child(filename).path
else:
return originalTemplatefile(filename)
Expand Down

0 comments on commit 3bb6b45

Please sign in to comment.