summaryrefslogtreecommitdiffstats
path: root/web/react/pages/docs.jsx
blob: 74d9c2d1998f750048c0338a2be4b457ec0c1deb (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.

import Docs from '../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;