On 10/11/2022 12:38, Anna wrote:
On 2022-11-10 12:29, Andrew Ammerlaan wrote:diff --git a/eclass/docs.eclass b/eclass/docs.eclass index 611485c227f..f7a82939a53 100644 --- a/eclass/docs.eclass +++ b/eclass/docs.eclass @@ -207,16 +207,15 @@ sphinx_deps() { }# @FUNCTION: sphinx_compile -# @INTERNAL # @DESCRIPTION: # Calls sphinx to build docs. -# -# If you overwrite python_compile_all do not call -# this function, call docs_compile instead sphinx_compile() { debug-print-function ${FUNCNAME} use doc || return + : ${DOCS_DIR:="${S}"} + : ${DOCS_OUTDIR:="${S}/_build/html/sphinx"} +Could it be local?
I guess, but to me that feels a bit weird and confusing because this variable can also be set globally in the ebuild.
