Skip to content

Commit af1f0df

Browse files
authored
Remove docs sub folder since docs has been moved to https://gitea.com/gitea/docs (#31536)
1 parent d6f8a60 commit af1f0df

File tree

233 files changed

+3
-26078
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

233 files changed

+3
-26078
lines changed

.github/workflows/files-changed.yml

-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ jobs:
6363
6464
docs:
6565
- "**/*.md"
66-
- "docs/**"
6766
- ".markdownlint.yaml"
6867
- "package.json"
6968
- "package-lock.json"

.github/workflows/pull-compliance.yml

-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,6 @@ jobs:
191191
cache-dependency-path: package-lock.json
192192
- run: make deps-frontend
193193
- run: make lint-md
194-
- run: make docs
195194

196195
actions:
197196
if: needs.files-changed.outputs.actions == 'true' || needs.files-changed.outputs.actions == 'true'

Makefile

+3-7
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ WEB_DIRS := web_src/js web_src/css
146146

147147
ESLINT_FILES := web_src/js tools *.js *.ts tests/e2e
148148
STYLELINT_FILES := web_src/css web_src/js/components/*.vue
149-
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))
149+
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))
150150
EDITORCONFIG_FILES := templates .github/workflows options/locale/locale_en-US.ini
151151

152152
GO_SOURCES := $(wildcard *.go)
@@ -397,7 +397,7 @@ lint-swagger: node_modules
397397

398398
.PHONY: lint-md
399399
lint-md: node_modules
400-
npx markdownlint docs *.md
400+
npx markdownlint *.md
401401

402402
.PHONY: lint-spell
403403
lint-spell:
@@ -797,7 +797,7 @@ $(EXECUTABLE): $(GO_SOURCES) $(TAGS_PREREQ)
797797
CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) build $(GOFLAGS) $(EXTRA_GOFLAGS) -tags '$(TAGS)' -ldflags '-s -w $(LDFLAGS)' -o $@
798798

799799
.PHONY: release
800-
release: frontend generate release-windows release-linux release-darwin release-freebsd release-copy release-compress vendor release-sources release-docs release-check
800+
release: frontend generate release-windows release-linux release-darwin release-freebsd release-copy release-compress vendor release-sources release-check
801801

802802
$(DIST_DIRS):
803803
mkdir -p $(DIST_DIRS)
@@ -843,10 +843,6 @@ release-sources: | $(DIST_DIRS)
843843
tar $(addprefix $(EXCL),$(TAR_EXCLUDES)) $(TRANSFORM) -czf $(DIST)/release/gitea-src-$(VERSION).tar.gz .
844844
rm -f $(STORED_VERSION_FILE)
845845

846-
.PHONY: release-docs
847-
release-docs: | $(DIST_DIRS) docs
848-
tar -czf $(DIST)/release/gitea-docs-$(VERSION).tar.gz -C ./docs .
849-
850846
.PHONY: deps
851847
deps: deps-frontend deps-backend deps-tools deps-py
852848

docs/.gitignore

-7
This file was deleted.

docs/LICENSE

-202
This file was deleted.

docs/README.md

-19
This file was deleted.

docs/README_ZH.md

-18
This file was deleted.

docs/content/actions.en-us.md

-13
This file was deleted.

docs/content/administration.en-us.md

-14
This file was deleted.

docs/content/administration.zh-cn.md

-13
This file was deleted.

docs/content/administration/_index.en-us.md

Whitespace-only changes.

docs/content/administration/_index.zh-cn.md

Whitespace-only changes.

docs/content/administration/adding-legal-pages.en-us.md

-40
This file was deleted.

0 commit comments

Comments
 (0)