@@ -203,7 +203,6 @@ help:
203
203
@echo " - clean delete backend and integration files"
204
204
@echo " - clean-all delete backend, frontend and integration files"
205
205
@echo " - deps install dependencies"
206
- @echo " - deps-docs install docs dependencies"
207
206
@echo " - deps-frontend install frontend dependencies"
208
207
@echo " - deps-backend install backend dependencies"
209
208
@echo " - deps-tools install tool dependencies"
@@ -375,11 +374,11 @@ lint-backend-fix: lint-go-fix lint-go-vet lint-editorconfig
375
374
376
375
.PHONY : lint-js
377
376
lint-js : node_modules
378
- npx eslint --color --max-warnings=0 --ext js,vue web_src/js build * .config.js docs/assets/js tests/e2e
377
+ npx eslint --color --max-warnings=0 --ext js,vue web_src/js build * .config.js tests/e2e
379
378
380
379
.PHONY : lint-js-fix
381
380
lint-js-fix : node_modules
382
- npx eslint --color --max-warnings=0 --ext js,vue web_src/js build * .config.js docs/assets/js tests/e2e --fix
381
+ npx eslint --color --max-warnings=0 --ext js,vue web_src/js build * .config.js tests/e2e --fix
383
382
384
383
.PHONY : lint-css
385
384
lint-css : node_modules
@@ -892,17 +891,11 @@ release-docs: | $(DIST_DIRS) docs
892
891
tar -czf $(DIST ) /release/gitea-docs-$(VERSION ) .tar.gz -C ./docs/public .
893
892
894
893
.PHONY : docs
895
- docs : deps-docs
896
- cd docs; make trans-copy clean build-offline;
897
-
898
- .PHONY : deps-docs
899
- deps-docs :
900
- @hash hugo > /dev/null 2>&1 ; if [ $$ ? -ne 0 ]; then \
901
- curl -sL https://github.com/gohugoio/hugo/releases/download/v$(HUGO_VERSION ) /hugo_$(HUGO_VERSION ) _Linux-64bit.tar.gz | tar zxf - -C /tmp && mkdir -p ~ /go/bin && mv /tmp/hugo ~ /go/bin/hugo && chmod +x ~ /go/bin/hugo; \
902
- fi
894
+ docs :
895
+ cd docs; bash scripts/trans-copy.sh;
903
896
904
897
.PHONY : deps
905
- deps : deps-frontend deps-backend deps-tools deps-docs
898
+ deps : deps-frontend deps-backend deps-tools
906
899
907
900
.PHONY : deps-frontend
908
901
deps-frontend : node_modules
0 commit comments