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

Only fetching invoked images for documentation

parent 943b8594
No related branches found
No related tags found
No related merge requests found
...@@ -34,7 +34,7 @@ def _RequireCopy(in_name, out_name): ...@@ -34,7 +34,7 @@ def _RequireCopy(in_name, out_name):
return False 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): def _CheckImage(in_name):
file = open(in_name, "r") file = open(in_name, "r")
text = file.read() text = file.read()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment