diff options
| author | kxxoling <kxxoling@gmail.com> | 2015-05-02 14:21:33 +0800 |
|---|---|---|
| committer | kxxoling <kxxoling@gmail.com> | 2015-05-02 14:21:33 +0800 |
| commit | 91aa7455de0c5cdb577732fd80fcd9eb45f65aa1 (patch) | |
| tree | 01fae4d37b0e03ed39097d24868428f4b9cdc721 /docs/Makefile | |
| parent | a3f106ed87a82d7774bd25b657897c451c4b3649 (diff) | |
| download | python-prettytable-ptable-91aa7455de0c5cdb577732fd80fcd9eb45f65aa1.tar.gz | |
Refactor README and docs
Diffstat (limited to 'docs/Makefile')
| -rw-r--r-- | docs/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/Makefile b/docs/Makefile new file mode 100644 index 0000000..b48d47e --- /dev/null +++ b/docs/Makefile @@ -0,0 +1,16 @@ +.PHONY: all html coverage clean + +all: html + +BUILD_DIR=_build +SPHINXOPTS=-n -W -d $(BUILD_DIR)/doctrees . + +html: + sphinx-build -b html $(SPHINXOPTS) $(BUILD_DIR)/html + +coverage: + sphinx-build -b coverage ${SPHINXOPTS} $(BUILD_DIR)/coverage + cat build/coverage/python.txt + +clean: + rm -rf ${}BUILD_DIR} |
