diff --git a/docs/templates/example.html b/docs/templates/example.html index 5996ec03..d26e12ce 100644 --- a/docs/templates/example.html +++ b/docs/templates/example.html @@ -1,32 +1,29 @@ -{% from 'macros/example-navbar.html' import example_navbar %} -{% extends 'base.html' %} -{% block header %} - {{ example_navbar() }} -{% endblock %} +{% from "macros/example-navbar.html" import example_navbar %} +{% extends "base.html" %} +{% block header %}{{ example_navbar() }}{% endblock %} {% block body %} -
- {% block size_warning %} - - {% endblock %} -
- {% block content %} - - {% endblock %} -
-
-

Source Code

- -

- This code is available - in the examples directory of our GitHub repository. -

-
-        
-          {% block code %}
-
-          {% endblock %}
-        
-      
-
-
+
+ {% block size_warning %}{% endblock %} +
+ {% block content %}{% endblock %} +
+
+

Source Code

+ +

+ This code is available + in the examples directory of our GitHub + repository. +

+
{% block code %}{% endblock %}
+
+
{% endblock %} diff --git a/docs/templates/examples-index.html b/docs/templates/examples-index.html index 3e2c439e..749cf64d 100644 --- a/docs/templates/examples-index.html +++ b/docs/templates/examples-index.html @@ -1,50 +1,69 @@ -{% from 'macros/sidenav.html' import sidenav %} -{% from 'macros/navbar.html' import navbar %} -{% extends 'base.html' %} -{% block title %} - Examples - dbc docs -{% endblock %} -{% block header %} - {{ navbar('examples', False) }} -{% endblock %} +{% from "macros/sidenav.html" import sidenav %} +{% from "macros/navbar.html" import navbar %} +{% extends "base.html" %} +{% block title %}Examples - dbc docs{% endblock %} +{% block header %}{{ navbar("examples", False) }}{% endblock %} {% block body %} -
-
-

Examples

-

- This page contains example apps built with dash-bootstrap-components. Check out our - GitHub page - for more. -

-
-
-

Iris

-
- Iris example screenshot -
-

- Interactively cluster the Iris dataset. Based on - this RShiny example. -

+
+
+

Examples

+

+ This page contains example apps built with dash-bootstrap-components. + Check out our + GitHub page + for more. +

+
+
+

Iris

+
+ + Iris example screenshot
-
-

Graphs in Tabs

-
- Graphs in tabs example screehshot -
-

- An example app showing how to ensure dash_core_components.Graph - components are sized correctly when used with dbc.Tabs. -

+

+ Interactively cluster the Iris dataset. Based on + this RShiny example. +

+
+
+

Graphs in Tabs

+
+ Graphs in tabs example screehshot
-
-

Simple sidebar

-
- Simple sidebar example screenshot -
-

An example multipage app with sidebar and active navigation links.

+

+ An example app showing how to ensure dash_core_components.Graph + components are sized correctly when used with dbc.Tabs. +

+
+
+

Simple sidebar

+
+ Simple sidebar example screenshot
+

+ An example multipage app with sidebar and active navigation links. +

-
-
+
+
+
{% endblock %} diff --git a/docs/templates/macros/example-navbar.html b/docs/templates/macros/example-navbar.html index 4cd414e9..3f9c80fe 100644 --- a/docs/templates/macros/example-navbar.html +++ b/docs/templates/macros/example-navbar.html @@ -1,15 +1,20 @@ {% macro example_navbar() -%} - + {%- endmacro %}