File tree 2 files changed +0
-21
lines changed
2 files changed +0
-21
lines changed Original file line number Diff line number Diff line change 2
2
3
3
- Update CHANGELOG.md
4
4
- Update README.md
5
- - Update Makefile
6
5
- ` make test `
7
6
- Check how docs look: ` make docs-localhost `
8
- - ` make docs `
9
- - ` git add docs `
10
7
- Commit, tag, and push
Original file line number Diff line number Diff line change 1
- # Configuration
2
- DOCS_VERSION := 0.5
3
-
4
- # Setup
5
- DOCS_PATH := ./docs/$(DOCS_VERSION )
6
-
7
1
XCPRETTY_PATH := $(shell command -v xcpretty 2> /dev/null)
8
2
XCPRETTY =
9
3
ifdef XCPRETTY_PATH
18
12
clean build build-for-testing test-without-building \
19
13
$(XCPRETTY )
20
14
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
-
33
15
docs-localhost :
34
16
# Generates documentation in ~/Sites/GRDBQuery
35
17
# See https://discussions.apple.com/docs/DOC-3083 for Apache setup on the mac
You can’t perform that action at this time.
0 commit comments