zephyr/doc/scripts
Ulf Magnusson 09c813793b doc: genrest: Speed up documentation rebuilding
Skip writing index and symbol RST files whose content hasn't changed, to
avoid updating their timestamps. This makes documentation rebuilds much
faster, as Sphinx looks at the timestamp to determine if an RST file has
been updated.

Rebuilding docs with symbol reference up-to-date, before:

    $ time make html
    real    4m52.838s
    user    4m46.242s
    sys     0m4.249s

After:

    $ time make html
    real    0m48.731s
    user    0m47.571s
    sys     0m0.908s

Testing was done with 'make VERBOSE=1 SPHINXOPTS= html', suggested by
Marti Bolivar.

Piggyback a small cleanup to the code generating the select/imply
information.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2018-05-18 14:09:20 +03:00
..
genrest doc: genrest: Speed up documentation rebuilding 2018-05-18 14:09:20 +03:00
extract_content.py doc: Fix encoding problem 2017-02-09 23:37:44 +00:00
filter-doc-log.sh filter-doc-log.sh: Fix error for empty log file 2018-03-29 08:26:47 -04:00