summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-10-02 14:48:50 -0400
committerChristopher Speller <crspeller@gmail.com>2015-10-05 10:15:26 -0400
commit341d270c2d8b750556d9735a9a8edd8b6fab2530 (patch)
tree491ff7bbf735426d620f80a8e08a2d45dcc4ada1 /Makefile
parentb144ac103607bb716f7ea340b28498b47b77af9f (diff)
downloadchat-341d270c2d8b750556d9735a9a8edd8b6fab2530.tar.gz
chat-341d270c2d8b750556d9735a9a8edd8b6fab2530.tar.bz2
chat-341d270c2d8b750556d9735a9a8edd8b6fab2530.zip
Adding doc system to build. Updated docs, fixed links.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 88df59d8b..8d6d30735 100644
--- a/Makefile
+++ b/Makefile
@@ -106,7 +106,12 @@ travis:
@sed -i'.bak' 's|bundle.js|bundle-$(BUILD_NUMBER).min.js|g' $(DIST_PATH)/web/templates/head.html
rm $(DIST_PATH)/web/templates/*.bak
+ mv doc/README.md doc/index.md
+ mkdocs build
+ cp -r documentation-html $(DIST_PATH)/documentation-html
+
tar -C dist -czf $(DIST_PATH).tar.gz mattermost
+ rm -r $(DIST_PATH)
build:
@$(GO) build $(GOFLAGS) ./...