summaryrefslogtreecommitdiffstats
path: root/web/react/pages/docs.jsx
blob: ed2b6d0c934a6501046f33b08e09cc5bc3760517 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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;