Skip to content

Commit 0c05b9e

Browse files
committed
conflcit resolving
1 parent acf20c5 commit 0c05b9e

File tree

3 files changed

+15
-4
lines changed

3 files changed

+15
-4
lines changed

Makefile

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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
121121
DOCS_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
411420
docs-dirty:
412421
@rm -f $(DOCS_TARGET)

mx.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# This project file is for mxmake development itself.
55
###############################################################################
66
[settings]
7-
main-package = -e .[test,docs]
7+
main-package = -e .[test]
88

99
mxmake-templates =
1010
run-tests

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,12 @@ path = "LICENSE.md"
4343

4444
[project.optional-dependencies]
4545
docs = [
46+
"mxmake.sphinxext",
4647
"myst-parser",
4748
"shibuya",
4849
"Sphinx>=7.2",
4950
"sphinxcontrib-mermaid",
51+
"sphinx.ext.todo",
5052
]
5153
test = ["zope.testrunner"]
5254

0 commit comments

Comments
 (0)