Skip to content
Snippets Groups Projects
Commit bbb95727 authored by Bienchen's avatar Bienchen
Browse files

Only fetching invoked images for documentation

parent 943b8594
Branches
Tags
No related merge requests found
......@@ -34,7 +34,7 @@ def _RequireCopy(in_name, out_name):
return False
pattern = re.compile('[a-zA-Z0-9_//]+\.png|[a-zA-Z0-9_//]+\.jpg')
pattern = re.compile(r'\.\.\s+image\:\:\s+([a-zA-Z0-9_\-//]+\.png|[a-zA-Z0-9_\-//]+\.jpg)')
def _CheckImage(in_name):
file = open(in_name, "r")
text = file.read()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment