From 70856b64d46b2c7d4df9ba1e59e6e2992dc1d824 Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Fri, 2 Aug 2024 00:08:13 +0800 Subject: docs!: rebuild with readthedocs and sphinx-build --- docs/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/Makefile') diff --git a/docs/Makefile b/docs/Makefile index 5607373..08a2dd0 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -20,11 +20,11 @@ help: # Catch-all target: route all unknown targets to Sphinx using the new # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). %: Makefile - @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) + @pdm run $(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) # update translation command translate: - @$(SPHINXINTL) update -p ./build/gettext -l $(lang) $(O) + @pdm run $(SPHINXINTL) update -p ./build/gettext -l $(lang) $(O) # build docs docs build: -- cgit v1.2.3-70-g09d2