-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mermaid diagrams #5269
base: development
Are you sure you want to change the base?
Mermaid diagrams #5269
Conversation
for more information, see https://pre-commit.ci
|
||
os.system("grep -r DocDiagram " + WarpXDIR + "/Source > docdiagramgrep.txt") | ||
|
||
lines = open("docdiagramgrep.txt", "r").readlines() |
Check warning
Code scanning / CodeQL
File is not always closed Warning
level = int(line[7]) | ||
line = line[9:] | ||
if l_debug: | ||
print("line = ", line) |
Check warning
Code scanning / CodeQL
Unreachable code Warning
mydict = maindict | ||
while atype != "eol": | ||
if l_debug: | ||
print(atype, anext, line) |
Check warning
Code scanning / CodeQL
Unreachable code Warning
|
||
def mkdiagram(dict, file, header, maxlevel=10): | ||
print("Generating source code...") | ||
f = open(file + ".mmd", "w") |
Check warning
Code scanning / CodeQL
File is not always closed Warning
Added "DocDiagram" comments in a few source files, as well as python and shell scripts in tools to generate the Mermaid diagram.
To Do