mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Got building documentation from source to work.
This commit is contained in:
parent
bb2734ab65
commit
f68043c4a9
1 changed files with 3 additions and 4 deletions
|
|
@ -57,10 +57,9 @@ class DocBuild(build):
|
|||
self.spawn('tar', '-xzf', '../html-%s.tgz' % self.doc_version)
|
||||
os.chdir(workdir);
|
||||
|
||||
def buildDocsFromSouce(self):
|
||||
#Totally untested
|
||||
spawn(('make','--directory', '../Docs'), 1, self.verbose, self.dry_run)
|
||||
copy_tree('../Docs/html', self.doc_dir)
|
||||
def buildDocsFromSource(self):
|
||||
spawn(('make','--directory', '../../Doc', 'html'), 1, self.verbose, self.dry_run)
|
||||
copy_tree('../../Doc/html', self.doc_dir)
|
||||
|
||||
def ensureHtml(self):
|
||||
if not os.path.exists(self.doc_dir):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue