zephyr/doc/scripts
Fabio Utzig 201a8d29cd doc: scripts: fix parsing directive inside literal
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>
2020-12-21 13:23:03 +01:00
..
extract_content.py doc: scripts: fix parsing directive inside literal 2020-12-21 13:23:03 +01:00
fix_tex.py
gen_devicetree_rest.py
gen_helpers.py
gen_kconfig_rest.py
restore_modification_times.py