aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2024-07-10 09:46:08 +0800
committerGitHub <noreply@github.com>2024-07-10 01:46:08 +0000
commitaf1f0dfcc6366c01ee05098c34ca8457a0248f70 (patch)
tree17da03206cd974b4321e9bfe449cc3efa6014d25 /Makefile
parentd6f8a60b6579c9a152d930d45e26eb91be685f0a (diff)
downloadgitea-af1f0dfcc6366c01ee05098c34ca8457a0248f70.tar.gz
gitea-af1f0dfcc6366c01ee05098c34ca8457a0248f70.zip
Remove docs sub folder since docs has been moved to https://gitea.com/gitea/docs (#31536)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 1432467bcc..8236f6f591 100644
--- a/Makefile
+++ b/Makefile
@@ -146,7 +146,7 @@ WEB_DIRS := web_src/js web_src/css
ESLINT_FILES := web_src/js tools *.js *.ts tests/e2e
STYLELINT_FILES := web_src/css web_src/js/components/*.vue
-SPELLCHECK_FILES := $(GO_DIRS) $(WEB_DIRS) docs/content templates options/locale/locale_en-US.ini .github $(filter-out CHANGELOG.md, $(wildcard *.go *.js *.md *.yml *.yaml *.toml))
+SPELLCHECK_FILES := $(GO_DIRS) $(WEB_DIRS) templates options/locale/locale_en-US.ini .github $(filter-out CHANGELOG.md, $(wildcard *.go *.js *.md *.yml *.yaml *.toml))
EDITORCONFIG_FILES := templates .github/workflows options/locale/locale_en-US.ini
GO_SOURCES := $(wildcard *.go)
@@ -397,7 +397,7 @@ lint-swagger: node_modules
.PHONY: lint-md
lint-md: node_modules
- npx markdownlint docs *.md
+ npx markdownlint *.md
.PHONY: lint-spell
lint-spell:
@@ -797,7 +797,7 @@ $(EXECUTABLE): $(GO_SOURCES) $(TAGS_PREREQ)
CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) build $(GOFLAGS) $(EXTRA_GOFLAGS) -tags '$(TAGS)' -ldflags '-s -w $(LDFLAGS)' -o $@
.PHONY: release
-release: frontend generate release-windows release-linux release-darwin release-freebsd release-copy release-compress vendor release-sources release-docs release-check
+release: frontend generate release-windows release-linux release-darwin release-freebsd release-copy release-compress vendor release-sources release-check
$(DIST_DIRS):
mkdir -p $(DIST_DIRS)
@@ -843,10 +843,6 @@ release-sources: | $(DIST_DIRS)
tar $(addprefix $(EXCL),$(TAR_EXCLUDES)) $(TRANSFORM) -czf $(DIST)/release/gitea-src-$(VERSION).tar.gz .
rm -f $(STORED_VERSION_FILE)
-.PHONY: release-docs
-release-docs: | $(DIST_DIRS) docs
- tar -czf $(DIST)/release/gitea-docs-$(VERSION).tar.gz -C ./docs .
-
.PHONY: deps
deps: deps-frontend deps-backend deps-tools deps-py