Skip to content

Commit 1f6ff7b

Browse files
asmellbykartben
authored andcommitted
doc: Fix html-live doc command
OUTPUT_DIR was not passed to the html-live target, causing a Python exception: ``` TypeError: argument should be a str or an os.PathLike object where __fspath__ returns a str, not 'NoneType' ``` Signed-off-by: Aksel Skauge Mellbye <[email protected]>
1 parent 90dbc8d commit 1f6ff7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ add_dependencies(html devicetree)
190190

191191
add_doc_target(
192192
html-live
193-
COMMAND ${CMAKE_COMMAND} -E env ${SPHINX_ENV}
193+
COMMAND ${CMAKE_COMMAND} -E env ${SPHINX_ENV} OUTPUT_DIR=${DOCS_HTML_DIR}
194194
${SPHINXAUTOBUILD}
195195
--watch ${DOCS_CFG_DIR}
196196
--ignore ${DOCS_BUILD_DIR}

0 commit comments

Comments
 (0)