1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2025-06-14 13:36:33 +02:00

Add styleguidist docs.

This commit is contained in:
Bogdan Bodnar
2019-09-25 15:43:37 +02:00
parent 8296c6129e
commit 4a481ea642
16 changed files with 1300 additions and 136 deletions

View File

@ -1,4 +1,4 @@
.PHONY: all install-js watch-js build-js publish-beta lint-js test-js create-messages update-messages clean
.PHONY: all install-js watch-js build-js publish-beta lint-js test-js create-messages update-messages docs clean
all:
@echo "make install-js"
@ -17,6 +17,10 @@ all:
@echo " Create locale messages (.pot)."
@echo "make update-messages"
@echo " Update locale messages from .pot file."
@echo "make docs"
@echo " Build project documentation."
@echo "make docs-watch"
@echo " Start styleguidist server."
@echo "make clean"
@echo " Remove python artifacts and virtualenv."
@ -42,5 +46,10 @@ create-messages:
update-messages:
pybabel update -i translations/forisjs.pot -d translations
docs:
npm run-script docs
docs-watch:
npm run-script docs:watch
clean:
rm -rf node_modules dist