diff options
author | Corey Hulen <corey@hulen.com> | 2015-11-17 16:57:04 -0800 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2015-11-17 16:57:04 -0800 |
commit | 2ed93f74021020bd72675a47dae9d4e622b27226 (patch) | |
tree | f873512533e26512d8fd776116f15066b0b9b699 /web/react/pages | |
parent | 178e30ecededae61eb727f30919b30358590e7f5 (diff) | |
parent | e9a8bcd727e1bfbd98dc1955d1c574b76e9a4ad1 (diff) | |
download | chat-2ed93f74021020bd72675a47dae9d4e622b27226.tar.gz chat-2ed93f74021020bd72675a47dae9d4e622b27226.tar.bz2 chat-2ed93f74021020bd72675a47dae9d4e622b27226.zip |
Merge pull request #1403 from florianorben/PLT-327
PLT-327: Add help text for Markdown
Diffstat (limited to 'web/react/pages')
-rw-r--r-- | web/react/pages/docs.jsx | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/web/react/pages/docs.jsx b/web/react/pages/docs.jsx new file mode 100644 index 000000000..ed2b6d0c9 --- /dev/null +++ b/web/react/pages/docs.jsx @@ -0,0 +1,16 @@ +// Copyright (c) 2015 Mattermost, Inc. All Rights Reserved. +// See License.txt for license information. + +var Docs = require('../components/docs.jsx'); + +function setupDocumentationPage(props) { + ReactDOM.render( + <Docs + site={props.Site} + />, + document.getElementById('docs') + ); +} + +global.window.mm_user = global.window.mm_user || {}; +global.window.setup_documentation_page = setupDocumentationPage; |