53 |
|
|
54 |
# must be run in the main directory of gzz module |
# must be run in the main directory of gzz module |
55 |
settings = mputils.Settings() |
settings = mputils.Settings() |
56 |
settings['css'] = os.path.abspath('doc/gzz.css') |
settings['css'] = 'doc/gzz.css' |
57 |
|
|
58 |
mputils.__rst_init__() |
mputils.__rst_init__() |
59 |
umlrst.__rst_init__() |
umlrst.__rst_init__() |
181 |
|
|
182 |
#the first pass, create all diagram sources |
#the first pass, create all diagram sources |
183 |
for path in sys.argv[1:]: |
for path in sys.argv[1:]: |
184 |
run_convert(os.path.abspath(path)) |
run_convert(path) |
185 |
|
|
186 |
#the second pass, compile and embed diagrams |
#the second pass, compile and embed diagrams |
187 |
for path in sys.argv[1:]: |
for path in sys.argv[1:]: |
188 |
try: |
try: |
189 |
run_embed(os.path.abspath(path)) |
run_embed(path) |
190 |
except umltool.umlException, e: |
except umltool.umlException, e: |
191 |
print "umldoc: umlException exception occurred:", e.value |
print "umldoc: umlException exception occurred:", e.value |
192 |
break |
break |