diff options
| author | 2024-07-06 10:25:35 +0800 | |
|---|---|---|
| committer | 2024-07-06 10:25:35 +0800 | |
| commit | da32df814f9949c7172290dfb4770f7c64c28a5d (patch) | |
| tree | 32156f1131e30212efa9709eb637d1a5959c8089 /docs/Makefile | |
| parent | 7e655c96fa5fab04bde014b62c8db3f4b352a5dc (diff) | |
| download | HydroRollCore-da32df814f9949c7172290dfb4770f7c64c28a5d.tar.gz HydroRollCore-da32df814f9949c7172290dfb4770f7c64c28a5d.zip | |
docs!: rewrite side bar structuresv0.0.2
Diffstat (limited to 'docs/Makefile')
| -rw-r--r-- | docs/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
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 |
