201a8d29cd
This expands the current directive matching regex in the extract_content script to also allow "`" as an ending character along with spaces; it fixes issues when directives are added inside a literal ("``"), when they are used as examples that are not to be interpreted by the docutils state-machine, but are "accepted" by extract_content. Technically this is not correct, a directive must always end in space-like characters, but a proper parser knows that it is inside a literal and accept the contents without interpretation; short of implementing a proper rST parser this "band-aid" fix should work with no side-effects. Signed-off-by: Fabio Utzig <fabio.utzig@nordicsemi.no> |
||
---|---|---|
.. | ||
extract_content.py | ||
fix_tex.py | ||
gen_devicetree_rest.py | ||
gen_helpers.py | ||
gen_kconfig_rest.py | ||
restore_modification_times.py |