| Message ID | 20261124-docs-build-oecore-functions-v1-4-ce9f3c4fbad4@bootlin.com |
|---|---|
| State | New |
| Headers | show |
| Series | Preparation patches for auto-documenting oecore's library | expand |
diff --git a/scripts/run-docs-build b/scripts/run-docs-build index 36e0793..4a7e5be 100755 --- a/scripts/run-docs-build +++ b/scripts/run-docs-build @@ -195,6 +195,11 @@ git clean -ffdx export LATEXMKOPTS="-silent" +# These two variables are used by yocto-docs to locate these two repositories +# and document Python docstrings. +export BITBAKE_REPO_PATH="$bbdocs/../" +export OECORE_REPO_PATH="$oecore" + function checkout_closest_ref() { # The purpose of this function is to take a ref from yocto-docs (ref=$1) and # checkout the closes possible ref on given (repo=$2).
While the Autobuilder default layout is already the one expected by yocto-docs to document docstrings, export the two environment read by yocto-docs in case this layout changes in the future, so we won't forget to update it. Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> --- scripts/run-docs-build | 5 +++++ 1 file changed, 5 insertions(+)