@@ -51,7 +51,7 @@ EXTRA_PATH?=
5151# uv then downloads the Python interpreter if it is not available.
5252# for more on this feature read the [uv python documentation](https://docs.astral.sh/uv/concepts/python-versions/)
5353# Default: python3
54- PRIMARY_PYTHON? =python3
54+ PRIMARY_PYTHON? =3.13
5555
5656# Minimum required Python version.
5757# Default: 3.9
@@ -69,7 +69,7 @@ PYTHON_PACKAGE_INSTALLER?=uv
6969# Flag whether to use a global installed 'uv' or install
7070# it in the virtual environment.
7171# Default: false
72- MXENV_UV_GLOBAL? =false
72+ MXENV_UV_GLOBAL? =true
7373
7474# Flag whether to use virtual environment. If `false`, the
7575# interpreter according to `PRIMARY_PYTHON` found in `PATH` is used.
@@ -120,9 +120,13 @@ DOCS_SOURCE_FOLDER?=docs/source
120120# Default: docs/html
121121DOCS_TARGET_FOLDER? =docs/html
122122
123+ # Documentation linkcheck output folder.
124+ # Default: docs/linkcheck
125+ DOCS_LINKCHECK_FOLDER? =docs/linkcheck
126+
123127# Documentation Python requirements to be installed (via pip).
124128# No default value.
125- DOCS_REQUIREMENTS? =
129+ DOCS_REQUIREMENTS? =-e .[docs]
126130
127131# # core.mxfiles
128132
@@ -407,6 +411,11 @@ docs-live: $(DOCS_TARGET) $(DOCS_TARGETS)
407411 @echo " Rebuild Sphinx documentation on changes, with live-reload in the browser"
408412 @$(SPHINX_AUTOBUILD_BIN ) $(DOCS_SOURCE_FOLDER ) $(DOCS_TARGET_FOLDER )
409413
414+ .PHONY : docs-linkcheck
415+ docs-linkcheck : $(DOCS_TARGET ) $(DOCS_TARGETS )
416+ @echo " Run Sphinx linkcheck"
417+ @$(SPHINX_BIN ) -b linkcheck $(DOCS_SOURCE_FOLDER ) $(DOCS_LINKCHECK_FOLDER )
418+
410419.PHONY : docs-dirty
411420docs-dirty :
412421 @rm -f $(DOCS_TARGET )
0 commit comments