zephyr/doc/scripts
Ulf Magnusson ea3041dbbe doc: extract_content.py: Detect included files in a more robust way
Allow '.. <figure/include/image/...>:: <path>' to appear anywhere within
a line, and find multiple directives on a single line. This is needed to
find files included e.g. within tables.

Implemented by making the <path> part of the regex more specific and
searching for matches anywhere within the contents of the file. Should
be a bit faster too.

Maybe there's some tiny potential for false positives, but this
generates the same file list as the old version for the current docs at
least.

Fixes: #21466

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-12-20 13:02:00 -05:00
..
extract_content.py doc: extract_content.py: Detect included files in a more robust way 2019-12-20 13:02:00 -05:00
fix_tex.py doc: fix_tex: Remove redundant 'return' 2019-03-26 07:47:20 -05:00
genrest.py doc: genrest: Use a separate index page for all symbols 2019-12-11 12:32:30 -06:00
restore_modification_times.py doc: fix incremental build by fixing doxygen output mtime 2019-02-13 06:58:52 -06:00