add dependencies file in documentation directory
This commit is contained in:
@@ -98,6 +98,15 @@ The following example shows ...
|
||||
} /* namespace CGAL */
|
||||
"""
|
||||
|
||||
depsstring = \
|
||||
r"""Manual
|
||||
Kernel_23
|
||||
STL_Extension
|
||||
Algebraic_foundations
|
||||
Circulator
|
||||
Stream_support
|
||||
"""
|
||||
|
||||
if re.match("^[A-Za-z_][A-Za-z0-9_]*$", packagename):
|
||||
|
||||
if creationpath and (not creationpath == '.'):
|
||||
@@ -166,6 +175,11 @@ if re.match("^[A-Za-z_][A-Za-z0-9_]*$", packagename):
|
||||
descrfile.write(descrstring)
|
||||
descrfile.close()
|
||||
|
||||
depspath = os.path.join(docpath, ('dependencies'))
|
||||
depsfile = open(depspath, 'w')
|
||||
depsfile.write(depsstring)
|
||||
depsfile.close()
|
||||
|
||||
# try to find figure pkg-small.png and copy it to figure path
|
||||
scriptdir = os.path.dirname(sys.argv[0])
|
||||
cgaldir = os.path.dirname(os.path.dirname(scriptdir))
|
||||
|
||||
Reference in New Issue
Block a user