Skip to content

Commit

Permalink
doc: ext/gh_utils: pass MAINTAINERS.yml to Maintainers
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
dcpleung authored and fabiobaltieri committed Dec 6, 2023
1 parent f779385 commit ede9b03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/_extensions/zephyr/gh_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

from get_maintainer import Maintainers

MAINTAINERS : Final[Maintainers] = Maintainers()
MAINTAINERS : Final[Maintainers] = Maintainers(filename=f"{ZEPHYR_BASE}/MAINTAINERS.yml")


__version__ = "0.1.0"
Expand Down

0 comments on commit ede9b03

Please sign in to comment.