From da32df814f9949c7172290dfb4770f7c64c28a5d Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Sat, 6 Jul 2024 10:25:35 +0800 Subject: docs!: rewrite side bar structures --- docs/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'docs/Makefile') diff --git a/docs/Makefile b/docs/Makefile index 6fdb78c..5607373 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -9,6 +9,7 @@ SOURCEDIR = source BUILDDIR = _build SPHINXINTL ?= sphinx-intl lang ?= zh_CN +SPHINX ?= sphinx # Put it first so that "make" without argument is like "make help". help: @@ -23,4 +24,8 @@ help: # update translation command translate: - @$(SPHINXINTL) update -p ./build/gettext -l $(lang) $(O) \ No newline at end of file + @$(SPHINXINTL) update -p ./build/gettext -l $(lang) $(O) + +# build docs +docs build: + @pdm run $(SPHINXBUILD) "$(SOURCEDIR)" "$(BUILDDIR)" $(O) \ No newline at end of file -- cgit v1.2.3-70-g09d2