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 <aksel.mellbye@silabs.com>
This commit is contained in:
parent
90dbc8dfd1
commit
1f6ff7b100
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ add_dependencies(html devicetree)
|
||||||
|
|
||||||
add_doc_target(
|
add_doc_target(
|
||||||
html-live
|
html-live
|
||||||
COMMAND ${CMAKE_COMMAND} -E env ${SPHINX_ENV}
|
COMMAND ${CMAKE_COMMAND} -E env ${SPHINX_ENV} OUTPUT_DIR=${DOCS_HTML_DIR}
|
||||||
${SPHINXAUTOBUILD}
|
${SPHINXAUTOBUILD}
|
||||||
--watch ${DOCS_CFG_DIR}
|
--watch ${DOCS_CFG_DIR}
|
||||||
--ignore ${DOCS_BUILD_DIR}
|
--ignore ${DOCS_BUILD_DIR}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue