update Makefile to generate documentation
This commit is contained in:
parent
a84da05427
commit
5c13dec256
3
Makefile
3
Makefile
@ -13,6 +13,9 @@ clean-install:
|
||||
rm -fr $(NODE_MODULES)
|
||||
rm -fr $(VENV)
|
||||
|
||||
html:
|
||||
$(SPHINXBUILD) -M html "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
||||
|
||||
install-db:
|
||||
psql -U postgres -f fittrackee_api/db/create.sql
|
||||
$(FLASK) db upgrade --directory $(MIGRATIONS)
|
||||
|
@ -25,3 +25,9 @@ COV = $(VENV)/bin/python-codacy-coverage
|
||||
# Node env
|
||||
NODE_MODULES = $(PWD)/node_modules
|
||||
NPM ?= yarn
|
||||
|
||||
#Sphinx Docs
|
||||
SPHINXOPTS ?=
|
||||
SPHINXBUILD ?= $(VENV)/bin/sphinx-build
|
||||
SOURCEDIR = docs/source
|
||||
BUILDDIR = docs/build
|
||||
|
Loading…
Reference in New Issue
Block a user