Skip to content
Myr

Fix website build by adding Loader parameter to yaml.load

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Stephen Dolan · committed by Stephen Dolan · parent cff5336 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/build_website.py+1 added-1 removed
14 unmodified lines
15)1617def load_yml_file(fn):18 with open(fn) as f:19 return yaml.load(f)19 return yaml.load(f, Loader=yaml.Loader)2021env.filters['search_id'] = lambda input: input.replace(r'`', '')22env.filters['section_id'] = lambda input: re.sub(r"[^a-zA-Z0-9_]", '', input)23env.filters['entry_id'] = lambda input: re.sub(r"[ `]", '', input)
47 unmodified lines