Skip to content

Commit 2023907

Browse files
committed
Reverts the use of s3cmd to publish the docs
1 parent 82ce910 commit 2023907

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

Makefile

+9-4
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,18 @@ docker:
1414
package:
1515
$(MAKE) -C ./src package
1616

17-
deploydocs:
17+
builddocs:
1818
mkdocs build
19-
s3cmd sync site/ s3://rejson.io
20-
.PHONY: deploydocs
19+
20+
localdocs: builddocs
21+
mkdocs serve
22+
23+
deploydocs: builddocs
24+
mkdocs gh-deploy
2125

2226
clean:
2327
find ./ -name "*.[oa]" -exec rm {} \; -print
2428
find ./ -name "*.so" -exec rm {} \; -print
2529
find ./ -name "*.out" -exec rm {} \; -print
26-
rm -rf ./build
30+
rm -rf ./build
31+

docs/developer.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ $ REDIS_PORT=6379 make test
3030

3131
## Documentation
3232

33-
1. Prerequisites: `pip install mkdocs mkdocs-material s3cmd`
34-
1. To build and serve locally: `mkdocs build && mkdocs serve`
33+
1. Prerequisites: `pip install mkdocs mkdocs-material`
34+
1. To build and serve locally: `make localdocs`
3535
1. To deploy to the website: `make deploydocs`

0 commit comments

Comments
 (0)