Skip to content
Commit 6acdb1b7 authored by Gaute Svanes Lunde's avatar Gaute Svanes Lunde Committed by Carles Cufí
Browse files

doc: extensions: add custom role 'module_file'



Added another custom role `module_file` which functions like
`zephyr_file` but for any module in the west manifest.

The new role must take a module as an argument. Example syntax:

```rst
:module_file:`module-name: path/within/module`
```

or with custom link text:

```rst
:module_file:`my link text <module-name: path/within/module>`
```

This change also moves the hardcoded project name and link to
github to `doc/conf.py` by adding the configuration values
`link_roles_manifest_project` and `link_roles_manifest_baseurl`

Signed-off-by: default avatarGaute Svanes Lunde <gaute.lunde@nordicsemi.no>
parent a8ebb26d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment