zephyr/doc/extensions
Fabio Utzig ae8dd14887 doc: ext: link-roles: allow non-default baseurl
Link roles, aka :zephyr_file: and :zephyr_raw: use a repo's git describe
information to create links but the baseurl is fixed to the upstream
repo. This breaks links created in repos that are forks located
somewhere else.

This commits tries to get the baseurl from west if available so it will
work correctly for forks. If fallbacks to the upstream repo if no
information can be gathered by West, or West is not available.

Signed-off-by: Fabio Utzig <fabio.utzig@nordicsemi.no>
2020-09-18 17:40:05 +02:00
..
lexer scripts: Fix random typo'd whitespace 2019-09-07 07:54:17 -04:00
only
zephyr doc: ext: link-roles: allow non-default baseurl 2020-09-18 17:40:05 +02:00
local_util.py