summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2015-10-05 09:53:39 -0700
committerCorey Hulen <corey@hulen.com>2015-10-05 09:53:39 -0700
commit462def640c772ceb8365741b09f6cf667049bac7 (patch)
treede4be9bdf42726a3b6cd1b0c30bdff5a6a3341fa /Makefile
parentb591c4b32ee7cb5ea54738f9cb2bcb95b9583496 (diff)
parent341d270c2d8b750556d9735a9a8edd8b6fab2530 (diff)
downloadchat-462def640c772ceb8365741b09f6cf667049bac7.tar.gz
chat-462def640c772ceb8365741b09f6cf667049bac7.tar.bz2
chat-462def640c772ceb8365741b09f6cf667049bac7.zip
Merge pull request #917 from mattermost/plt-420
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) ./...