Skip to content

Commit

Permalink
Remove docs sub folder since docs has been moved to https://gitea.com…
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny authored Jul 10, 2024
1 parent d6f8a60 commit af1f0df
Show file tree
Hide file tree
Showing 233 changed files with 3 additions and 26,078 deletions.
1 change: 0 additions & 1 deletion .github/workflows/files-changed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ jobs:
docs:
- "**/*.md"
- "docs/**"
- ".markdownlint.yaml"
- "package.json"
- "package-lock.json"
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/pull-compliance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@ jobs:
cache-dependency-path: package-lock.json
- run: make deps-frontend
- run: make lint-md
- run: make docs

actions:
if: needs.files-changed.outputs.actions == 'true' || needs.files-changed.outputs.actions == 'true'
Expand Down
10 changes: 3 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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

Expand Down
7 changes: 0 additions & 7 deletions docs/.gitignore

This file was deleted.

202 changes: 0 additions & 202 deletions docs/LICENSE

This file was deleted.

19 changes: 0 additions & 19 deletions docs/README.md

This file was deleted.

18 changes: 0 additions & 18 deletions docs/README_ZH.md

This file was deleted.

13 changes: 0 additions & 13 deletions docs/content/actions.en-us.md

This file was deleted.

14 changes: 0 additions & 14 deletions docs/content/administration.en-us.md

This file was deleted.

13 changes: 0 additions & 13 deletions docs/content/administration.zh-cn.md

This file was deleted.

Empty file.
Empty file.
40 changes: 0 additions & 40 deletions docs/content/administration/adding-legal-pages.en-us.md

This file was deleted.

Loading

0 comments on commit af1f0df

Please sign in to comment.