doc: update
This commit is contained in:
@@ -620,9 +620,10 @@ def __state_simple_graph__(label, state, app):
|
||||
|
||||
def doc_state(label, state, app):
|
||||
fname = f"{label[1:]}"
|
||||
src_path = __state_full_graph__(label, state, app)
|
||||
os.system(f"dot -Tsvg -o{os.path.join(doc.path(), fname)}_full.svg {src_path}")
|
||||
src_path = __state_simple_graph__(label, state, app)
|
||||
|
||||
os.system(f"dot -Tsvg -o{os.path.join(doc.path(), fname)}.svg {src_path}")
|
||||
if doc.build():
|
||||
logging.info(f"Building svg grpah {fname}")
|
||||
src_path = __state_full_graph__(label, state, app)
|
||||
os.system(f"dot -Tsvg -o{os.path.join(doc.path(), fname)}_full.svg {src_path}")
|
||||
src_path = __state_simple_graph__(label, state, app)
|
||||
os.system(f"dot -Tsvg -o{os.path.join(doc.path(), fname)}.svg {src_path}")
|
||||
return f"" + "{width=100% height=90%}\n"
|
||||
|
||||
Reference in New Issue
Block a user