doc: ext/gh_utils: pass MAINTAINERS.yml to Maintainers
This changes to pass full path of MAINTAINERS.yml to get_maintainer.Maintainers(). Without this, Maintainers would use git to find the top level of Zephyr tree. This restricts building of doc only when the build directory is under Zephyr root. Since we have ZEPHYR_BASE in gh_utils, we can pass full path of MAINTAINERS.yml to Maintainers() so that doc build directory no longer has to be under Zephyr root. Fixes #65037 Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
parent
f779385b59
commit
ede9b0337c
|
@ -53,7 +53,7 @@ sys.path.insert(0, str(SCRIPTS))
|
||||||
|
|
||||||
from get_maintainer import Maintainers
|
from get_maintainer import Maintainers
|
||||||
|
|
||||||
MAINTAINERS : Final[Maintainers] = Maintainers()
|
MAINTAINERS : Final[Maintainers] = Maintainers(filename=f"{ZEPHYR_BASE}/MAINTAINERS.yml")
|
||||||
|
|
||||||
|
|
||||||
__version__ = "0.1.0"
|
__version__ = "0.1.0"
|
||||||
|
|
Loading…
Reference in a new issue