Skip to content

Commit

Permalink
Add documentation of how to use DDC
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilyBourne committed Nov 3, 2023
1 parent c38879b commit fbe6b80
Show file tree
Hide file tree
Showing 3 changed files with 315 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ci_tools/readme_to_doxygen.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,9 @@ def format_equations(line, start_tag, end_tag, start_replace, end_replace, conte
# Replace the markdown command with the doxygen command
line = line[:match_found.start()] + doxygen_ref + line[match_found.end():]
match_found = reference_tag.search(line, match_found.start() + len(doxygen_ref))
elif path.startswith('./'):
line = line[:match_found.start()] + match_found.group(1) + "(" + folder + path[1:] + ")" + line[match_found.end():]
match_found = reference_tag.search(line, match_found.start() + len(folder) + 1)
else:
match_found = reference_tag.search(line, match_found.end())

Expand Down
Loading

0 comments on commit fbe6b80

Please sign in to comment.