Create doxygen param files for all packages scripts.
More...
Functions |
|
def | write_if_changed |
Variables |
|
string | scriptPattern_rel = "../../packages/python/*.py" |
|
string | target_dir_rel = "../../packages/doc" |
|
tuple | file_dir = os.path.split(__file__) |
|
tuple | scriptPattern = os.path.abspath(os.path.join(file_dir,scriptPattern_rel)) |
|
tuple | target_dir = os.path.abspath(os.path.join(file_dir,target_dir_rel)) |
|
tuple | files = glob(scriptPattern) |
|
list | skip = ['__init__.py', 'runStripAdjust.py', '_writeQgisProj.py', 'pyDM.py'] |
|
| delVarR_HOME = False |
|
string | suffix_param = "Param.dox" |
|
string | suffix_dox = ".dox" |
|
string | header_param = "\n// This file has been automatically generated by " |
|
string | header_dox = "\n// This file has been automatically generated by " |
| string | dox_template |
|
int | counterError = 0 |
|
int | counterOk = 0 |
|
int | counterSkip = 0 |
|
tuple | fpath = os.path.abspath(f) |
|
tuple | fname = os.path.split(f) |
|
tuple | sname = os.path.splitext(fname) |
|
tuple | fparam = os.path.join(target_dir,sname+suffix_param) |
|
tuple | fdox = os.path.join(target_dir,sname+suffix_dox) |
|
tuple | p = subprocess.Popen(['python', fpath, '-doxygen'], stdout=subprocess.PIPE, stderr=subprocess.PIPE) |
|
| err = out |
|
tuple | out = out.replace("\r\n","\n") |
|
| text = header_param+out |
Detailed Description
Create doxygen param files for all packages scripts.
- See Also
- createParamFiles
Variable Documentation
Initial value:
3 \\page {0} Python script {0}
9 \\section {0}_aim Aim of module
11 \\copybrief python::packages::{0}
13 \\section {0}_general_description General description
14 \\copydetails python::packages::{0}
16 \\section {0}_parameter_description Parameter description
17 \\copydoc {0}Param.dox
19 \\section {0}_examples Examples