Skip to content

Commit 4b69798

Browse files
author
Kevin Burke
committed
Add target to build the documentation
1 parent 947375e commit 4b69798

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

Makefile

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.PHONY: docs
2+
13
init:
24
pip install -r requirements.txt
35

@@ -30,3 +32,11 @@ charade:
3032
publish:
3133
python setup.py sdist upload
3234
python setup.py bdist_wheel upload
35+
36+
37+
docs-init:
38+
pip install -r docs/requirements.txt
39+
40+
docs:
41+
cd docs && make html
42+
@echo "\033[95m\n\nInstalled! Docs homepage is at docs/_build/html/index.html.\n\033[0m"

docs/requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Sphinx==1.1.3

0 commit comments

Comments
 (0)