mirror of https://github.com/CGAL/cgal
store documentation figure path in a variable
This commit is contained in:
parent
7757cf3841
commit
988c8ae48f
|
|
@ -119,7 +119,8 @@ if re.match("^[A-Za-z_][A-Za-z0-9_]*$", packagename):
|
||||||
os.makedirs(docpath)
|
os.makedirs(docpath)
|
||||||
os.mkdir(os.path.join(docpath, 'CGAL'))
|
os.mkdir(os.path.join(docpath, 'CGAL'))
|
||||||
os.mkdir(os.path.join(docpath, 'Concepts'))
|
os.mkdir(os.path.join(docpath, 'Concepts'))
|
||||||
os.mkdir(os.path.join(docpath, 'fig'))
|
figpath = os.path.join(docpath, 'fig')
|
||||||
|
os.mkdir(figpath)
|
||||||
open(os.path.join(docpath, 'examples.txt'), 'w').close()
|
open(os.path.join(docpath, 'examples.txt'), 'w').close()
|
||||||
open(os.path.join(docpath, (packagename + '.txt')), 'w').close()
|
open(os.path.join(docpath, (packagename + '.txt')), 'w').close()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue