about summary refs log tree commit diff stats
path: root/html/086scenario_console_test.mu.html
Commit message (Collapse)AuthorAgeFilesLines
* 2866Kartik K. Agaram2016-04-251-4/+4
|
* 2812Kartik K. Agaram2016-03-271-7/+16
|
* 2745Kartik K. Agaram2016-03-091-1/+1
|
* 2744Kartik K. Agaram2016-03-091-1/+1
| | | | Tweak colors and font-sizes in generated html.
* 2743Kartik K. Agaram2016-03-091-16/+7
| | | | | Looks like "TOhtml | <other command>" doesn't work on Mac OS X for some reason..
* 2710Kartik K. Agaram2016-02-251-6/+0
|
* 2706 - update htmlKartik K. Agaram2016-02-251-0/+6
|
* 2605Kartik K. Agaram2016-01-261-4/+4
|
* 2430 - make room for more transformsKartik K. Agaram2015-11-131-0/+59
agic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
#!/usr/bin/python3
"""Generate pydoc documentation and move it to the doc directory.
THIS WILL DELETE ALL EXISTING HTML FILES IN THAT DIRECTORY, so don't
store important content there."""

import pydoc, os, sys
if __name__ == '__main__':
	docdir = 'doc/pydoc'
	os.chdir(sys.path[0])
	try: os.mkdir(docdir)
	except: pass


	for fname in os.listdir(docdir):
		if fname.endswith('.html'):
			os.remove(os.path.join(docdir, fname))

	pydoc.writedocs('.')
	pydoc.writedoc('curses')
	pydoc.writedoc('curses.ascii')
	pydoc.writedoc('os')
	pydoc.writedoc('os.path')
	pydoc.writedoc('sys')

	for fname in os.listdir('.'):
		if fname.endswith('.html'):
			os.rename(fname, os.path.join(docdir, fname))