blob: 0cddeaa670f08704f082b5a57cf1b12e01188e01 [file] [log] [blame]
import os, re
for basepath, folders, files in os.walk("."):
for f in files:
if f.endswith(".html") or f.endswith(".md"):
with open(os.path.join(basepath, f), "r") as c:
content = c.read()
for path in re.findall("""{{.?docs_base_url.?}}([^'"\)]*)""", content):
print path