From 2d06ad7ee4784bf7f61a7a1d0dd58785fcacd770 Mon Sep 17 00:00:00 2001 From: Gerard Marull-Paretas Date: Wed, 19 May 2021 12:25:16 +0200 Subject: [PATCH] doc: make some Sphinx config path absolute Make all paths absolute. Signed-off-by: Gerard Marull-Paretas --- doc/conf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index fa7b6d269a3..dc80dc967dd 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -122,15 +122,15 @@ html_theme_options = { "prev_next_buttons_location": None } html_title = "Zephyr Project Documentation" -html_logo = "_static/images/logo.svg" -html_favicon = "images/zp_favicon.png" +html_logo = str(ZEPHYR_BASE / "doc" / "_static" / "images" / "logo.svg") +html_favicon = str(ZEPHYR_BASE / "doc" / "images" / "zp_favicon.png") html_static_path = [str(ZEPHYR_BASE / "doc" / "_static")] html_last_updated_fmt = "%b %d, %Y" html_domain_indices = False html_split_index = True html_show_sourcelink = False html_show_sphinx = False -html_search_scorer = "_static/js/scorer.js" +html_search_scorer = str(ZEPHYR_BASE / "doc" / "_static" / "js" / "scorer.js") is_release = tags.has("release") # pylint: disable=undefined-variable docs_title = "Docs / {}".format(version if is_release else "Latest")