Skip to content

Commit e3c2099

Browse files
committed
Makefile docs target is no longer needed since Swift Package Index hosts documentation
1 parent 100b818 commit e3c2099

File tree

2 files changed

+0
-21
lines changed

2 files changed

+0
-21
lines changed

Documentation/RELEASE.md

-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22

33
- Update CHANGELOG.md
44
- Update README.md
5-
- Update Makefile
65
- `make test`
76
- Check how docs look: `make docs-localhost`
8-
- `make docs`
9-
- `git add docs`
107
- Commit, tag, and push

Makefile

-18
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
# Configuration
2-
DOCS_VERSION := 0.5
3-
4-
# Setup
5-
DOCS_PATH := ./docs/$(DOCS_VERSION)
6-
71
XCPRETTY_PATH := $(shell command -v xcpretty 2> /dev/null)
82
XCPRETTY =
93
ifdef XCPRETTY_PATH
@@ -18,18 +12,6 @@ test:
1812
clean build build-for-testing test-without-building \
1913
$(XCPRETTY)
2014

21-
docs:
22-
# https://apple.github.io/swift-docc-plugin/documentation/swiftdoccplugin/publishing-to-github-pages/
23-
mkdir -p $(DOCS_PATH)
24-
swift package \
25-
--allow-writing-to-directory $(DOCS_PATH) \
26-
generate-documentation \
27-
--output-path $(DOCS_PATH) \
28-
--target GRDBQuery \
29-
--disable-indexing \
30-
--transform-for-static-hosting \
31-
--hosting-base-path GRDBQuery/$(DOCS_VERSION)
32-
3315
docs-localhost:
3416
# Generates documentation in ~/Sites/GRDBQuery
3517
# See https://discussions.apple.com/docs/DOC-3083 for Apache setup on the mac

0 commit comments

Comments
 (0)