Add Sphinx documentation, docs Makefile, and documentation URL
This commit is contained in:
14
Makefile
Normal file
14
Makefile
Normal file
@@ -0,0 +1,14 @@
|
||||
S3_BUCKET = s3://docs.makingwithcode.org/easybits/
|
||||
CF_DISTRIBUTION = EPA6NHZ2LEH1A
|
||||
|
||||
.PHONY: build deploy clean
|
||||
|
||||
build:
|
||||
$(MAKE) -C docs html
|
||||
|
||||
deploy: build
|
||||
aws s3 sync docs/_build/html $(S3_BUCKET)
|
||||
aws cloudfront create-invalidation --distribution-id $(CF_DISTRIBUTION) --paths "/easybits/*"
|
||||
|
||||
clean:
|
||||
$(MAKE) -C docs clean
|
||||
Reference in New Issue
Block a user