示例#1
0
import reusable_components


def s(string_block):
    return string_block.replace('    ', '')


layout = html.Div(
    className='toc',
    children=[
        html.H1('Dash Deployment Server Documentation'),
        reusable_components.Section("What's Dash Deployment Server?", [
            reusable_components.Chapter(
                'Learn More About Dash Deployment Server',
                'https://plot.ly/dash/pricing/',
                """Dash Deployment Server is Plotly's commercial offering
                   for hosting and sharing Dash Apps on-premises or in the
                   cloud. [Learn more](https://plot.ly/dash/pricing) or
                   [request a trial](https://plotly.typeform.com/to/rkO85m)."""
            )
        ]),
        reusable_components.Section("Deployment", [
            reusable_components.Chapter(
                'Part 1. Initialize Dash Apps on Dash Deployment Server',
                '/dash-deployment-server/initialize',
                'Initialize an app via Dash Deployment Server UI.'),
            reusable_components.Chapter(
                'Part 2. Deploy Dash Apps on Dash Deployment Server',
                '/dash-deployment-server/deployment',
                'Deploy Dash Apps to the Dash Deployment Server using '
                'HTTPS or SSH. Start with a sample app or deploy your existing app.'
            )
示例#2
0
import dash_html_components as html

import reusable_components


def s(string_block):
    return string_block.replace('    ', '')


layout = html.Div(className='toc', children=[
    html.H1('Dash Deployment Server Documentation'),

    reusable_components.Section("What's Dash Deployment Server?", [
        reusable_components.Chapter('Learn More About Dash Deployment Server',
                'https://plot.ly/dash/pricing/',
                """Dash Deployment Server is Plotly's commercial offering
                   for hosting and sharing Dash Apps on-premises or in the
                   cloud. [Learn more](https://plot.ly/dash/pricing) or
                   [request a trial](https://plotly.typeform.com/to/rkO85m).""")
    ]),

    reusable_components.Section("Deployment", [
        reusable_components.Chapter('Part 1. Initialize Dash Apps on Dash Deployment Server',
                '/dash-deployment-server/initialize',
                'Initialize an app via Dash Deployment Server UI.'),
        reusable_components.Chapter('Part 2. Deploy Dash Apps on Dash Deployment Server',
                '/dash-deployment-server/deployment',
                'Deploy Dash Apps to the Dash Deployment Server using '
                'HTTPS or SSH. Start with a sample app or deploy your existing app.')
    ]),

    reusable_components.Section("Configuration", [