http://www.mediawiki.org/wiki/Special:Code/pywikipedia/11464
Revision: 11464 Author: drtrigon Date: 2013-04-26 23:03:06 +0000 (Fri, 26 Apr 2013) Log Message: ----------- improvement; follow-up to r11462 added docs/ folder with README
Modified Paths: -------------- trunk/pywikipedia/maintenance/release.py
Added Paths: ----------- trunk/pywikipedia/docs/ trunk/pywikipedia/docs/README
Added: trunk/pywikipedia/docs/README =================================================================== --- trunk/pywikipedia/docs/README (rev 0) +++ trunk/pywikipedia/docs/README 2013-04-26 23:03:06 UTC (rev 11464) @@ -0,0 +1,4 @@ +This directory/folder is empty when you get the package. Change to the +parent directory (containing 'Doxyfile' and 'setup.cfg') and run the +release maintenance script with 'python maintenance/release.py' to fill +this directory with documentation data.
Modified: trunk/pywikipedia/maintenance/release.py =================================================================== --- trunk/pywikipedia/maintenance/release.py 2013-04-26 22:34:49 UTC (rev 11463) +++ trunk/pywikipedia/maintenance/release.py 2013-04-26 23:03:06 UTC (rev 11464) @@ -37,8 +37,6 @@
print '* create docs from docstrings in HTML and LaTeX (PDF) format\n' \ ' [doxygen]' -if not os.path.exists(docsdir): - os.mkdir(docsdir) os.system('date > %s' % os.path.join(docsdir, 'release-doxygen.log')) os.system('doxygen &>> %s' % os.path.join(docsdir, 'release-doxygen.log'))
@@ -59,4 +57,4 @@ print '* create coverage report in HTML format\n' \ ' [coverage]' #os.system('coverage report -m') -os.system('coverage html --directory=%s' % os.path.join(docsdir, 'coverage/')) +os.system('coverage html --directory=%s' % coveragedir)
pywikipedia-svn@lists.wikimedia.org