diff options
| author | Georg Brandl <georg@python.org> | 2014-03-02 08:40:48 +0100 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2014-03-02 08:40:48 +0100 |
| commit | ed8409c87ac0f22b55499a2ed1b41f94f3bbc2fe (patch) | |
| tree | c273ce1c7d74ff3be8ab39b5bd312efad48be5fc /sphinx/make_mode.py | |
| parent | 2d9105da52e65a255882870ba7c74a29c7b97e37 (diff) | |
| download | sphinx-ed8409c87ac0f22b55499a2ed1b41f94f3bbc2fe.tar.gz | |
Fix long lines.
Diffstat (limited to 'sphinx/make_mode.py')
| -rw-r--r-- | sphinx/make_mode.py | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/sphinx/make_mode.py b/sphinx/make_mode.py index 0ab3f3aa..bdd9f79b 100644 --- a/sphinx/make_mode.py +++ b/sphinx/make_mode.py @@ -49,7 +49,8 @@ BUILDERS = [ ("", "xml", "to make Docutils-native XML files"), ("", "pseudoxml", "to make pseudoxml-XML files for display purposes"), ("", "linkcheck", "to check all external links for integrity"), - ("", "doctest", "to run all doctests embedded in the documentation (if enabled)"), + ("", "doctest", "to run all doctests embedded in the documentation " + "(if enabled)"), ("", "coverage", "to run coverage check of the documentation (if enabled)"), ] @@ -97,7 +98,8 @@ class Make(object): if self.run_generic_build('singlehtml') > 0: return 1 print - print 'Build finished. The HTML page is in %s.' % self.builddir_join('singlehtml') + print 'Build finished. The HTML page is in %s.' % \ + self.builddir_join('singlehtml') def build_pickle(self): if self.run_generic_build('pickle') > 0: @@ -126,7 +128,8 @@ class Make(object): '.qhcp project file in %s, like this:') % self.builddir_join('qthelp') print '$ qcollectiongenerator %s.qhcp' % self.builddir_join('qthelp', proj_name) print 'To view the help file:' - print '$ assistant -collectionFile %s.qhc' % self.builddir_join('qthelp', proj_name) + print '$ assistant -collectionFile %s.qhc' % \ + self.builddir_join('qthelp', proj_name) def build_devhelp(self): if self.run_generic_build('devhelp') > 0: @@ -172,7 +175,8 @@ class Make(object): def build_texinfo(self): if self.run_generic_build('texinfo') > 0: return 1 - print "Build finished; the Texinfo files are in %s." % self.builddir_join('texinfo') + print "Build finished; the Texinfo files are in %s." % \ + self.builddir_join('texinfo') if os.name == 'posix': print "Run `make' in that directory to run these through makeinfo" print "(use `make info' here to do that automatically)." @@ -187,13 +191,15 @@ class Make(object): if self.run_generic_build('gettext', doctreedir=dtdir) > 0: return 1 print - print 'Build finished. The message catalogs are in %s.' % self.builddir_join('gettext') + print 'Build finished. The message catalogs are in %s.' % \ + self.builddir_join('gettext') def build_changes(self): if self.run_generic_build('changes') > 0: return 1 print - print 'Build finished. The overview file is in %s.' % self.builddir_join('changes') + print 'Build finished. The overview file is in %s.' % \ + self.builddir_join('changes') def build_linkcheck(self): res = self.run_generic_build('linkcheck') @@ -226,7 +232,8 @@ class Make(object): if self.run_generic_build('pseudoxml') > 0: return 1 print - print 'Build finished. The pseudo-XML files are in %s.' % self.builddir_join('pseudoxml') + print 'Build finished. The pseudo-XML files are in %s.' % \ + self.builddir_join('pseudoxml') def run_generic_build(self, builder, doctreedir=None): # compatibility with old Makefile |
