コード例 #1
0
ファイル: index.py プロジェクト: rreusser/dash-docs
import dash_html_components as html
import os

from dash_docs import reusable_components as rc

layout = html.Div(
    className='toc',
    children=[
        html.H1('Dash Enterprise App Manager Documentation'),
        rc.Section("What's Dash Enterprise?", [
            rc.Chapter(
                'Learn More About Dash Enterprise', 'https://plotly.com/dash/',
                """Dash Enterprise is Plotly's commercial offering
                   for building & deploying Dash apps in your
                   organization. 10% of the Fortune 500 uses Dash Enterprise
                   to productionize AI and data science apps.
                   [Learn more](https://plotly.com/dash) or
                   [Find out if your company is using Dash Enterprise](https://go.plotly.com/company-lookup).
                """)
        ]) if 'DASH_DOCS_URL_PREFIX' not in os.environ else '',
        rc.Section("Deployment", [
            rc.Chapter('Part 1. Initialize Dash Apps on Dash Enterprise',
                       '/dash-enterprise/initialize',
                       'Initialize an app via Dash Enterprise UI.'),
            rc.Chapter(
                'Part 2. Deploy Dash Apps on Dash Enterprise',
                '/dash-enterprise/deployment',
                'Deploy Dash Apps to the Dash Enterprise using '
                'HTTPS or SSH. Start with a sample app or deploy your existing app.'
            )
        ]),
コード例 #2
0
import dash_html_components as html
import os

from dash_docs import reusable_components

layout = html.Div(
    className='toc',
    children=[
        html.H1('Dash Enterprise Documentation'),
        reusable_components.Section("What's Dash Enterprise?", [
            reusable_components.Chapter(
                'Learn More About Dash Enterprise',
                'https://plot.ly/get-pricing/',
                """Dash Enterprise is Plotly's commercial offering
                   for managing and improving your Dash apps in your
                   organization. [Learn more](https://plot.ly/dash) or
                   [request a trial](https://plot.ly/get-demo).""")
        ]) if 'DASH_DOCS_URL_PREFIX' not in os.environ else '',
        reusable_components.Section("Deployment", [
            reusable_components.Chapter(
                'Part 1. Initialize Dash Apps on Dash Enterprise',
                '/dash-enterprise/initialize',
                'Initialize an app via Dash Enterprise UI.'),
            reusable_components.Chapter(
                'Part 2. Deploy Dash Apps on Dash Enterprise',
                '/dash-enterprise/deployment',
                'Deploy Dash Apps to the Dash Enterprise using '
                'HTTPS or SSH. Start with a sample app or deploy your existing app.'
            )
        ]),
        reusable_components.Section("Configuration", [