Update of /cvsroot/pygccxml/source/pygccxml/docs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16043
Added Files:
generate_reference_manual.py
Log Message:
Added a script to generate a reference manual for pygccxml using epydoc (the resulting pages will be written to the directory 'refman')
--- NEW FILE: generate_reference_manual.py ---
# Generate documentation using epydocs
#
import os, os.path
pj = os.path.join
# Output directory
output = "refman"
# Which markup to use by default?
default_format = "epytext"
# The modules that should be included in the manual
module_dirs = ["declarations",
"parser",
"utils",
"__init__.py"
]
main_dir = os.path.join("..")
module_params = [os.path.join(main_dir,d) for d in module_dirs]
cmd_line = "epydoc -o %s --docformat %s "%(output, default_format)
cmd_line += " ".join(module_params)
print "Running: ", cmd_line
os.system(cmd_line)
|