diff --git a/doc/_static/sliders.png b/doc/_static/sliders.png new file mode 100644 index 0000000000..1c9a702b3f Binary files /dev/null and b/doc/_static/sliders.png differ diff --git a/doc/conf.py b/doc/conf.py index 69fcdbf3ff..fe374d3963 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -69,7 +69,7 @@ 'deployment_url': 'https://panel-gallery.pyviz.demo.anaconda.com/' } -_NAV = ( +_NAV = ( ('Getting started', 'getting_started/index'), ('User Guide', 'user_guide/index'), ('Gallery', 'gallery/index'), @@ -88,7 +88,6 @@ 'VERSION': version, 'WEBSITE_URL': 'https://panel.pyviz.org', 'WEBSITE_SERVER': 'https://panel.pyviz.org', - 'VERSION': version, 'NAV': _NAV, 'LINKS': _NAV, 'SOCIAL': ( diff --git a/examples/user_guide/Django_Apps.ipynb b/examples/user_guide/Django_Apps.ipynb index 7952f26958..435153620b 100644 --- a/examples/user_guide/Django_Apps.ipynb +++ b/examples/user_guide/Django_Apps.ipynb @@ -4,7 +4,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "As the core user guides including the [Introduction](Introduction.ipynb) have demonstrated, it is easy to display Panel apps in the notebook, launch them from an interactive Python prompt, and deploy them as a standalone Bokeh server app from the commandline. However, it is also often useful to embed a Panel app in large web application, such as a Django web server. Using Panel with Django requires a bit more work than for notebooks and Bokeh servers.\n", + "As the core user guides including the [Introduction](../getting_started/index.html) have demonstrated, it is easy to display Panel apps in the notebook, launch them from an interactive Python prompt, and deploy them as a standalone Bokeh server app from the commandline. However, it is also often useful to embed a Panel app in large web application, such as a Django web server. Using Panel with Django requires a bit more work than for notebooks and Bokeh servers.\n", "\n", "To run this example app yourself, you will first need to install django 2 (e.g. `conda install \"django=2\"`)." ] @@ -34,7 +34,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "![screenshot of sliders app](../apps/django2/sliders.png)" + "![screenshot of sliders app](../_static/sliders.png)" ] }, { diff --git a/panel/util.py b/panel/util.py index fe144ad07c..bdf835b797 100644 --- a/panel/util.py +++ b/panel/util.py @@ -12,9 +12,9 @@ from datetime import datetime from six import string_types from collections import defaultdict, OrderedDict -try: +try: # python >= 3.3 from collections.abc import MutableSequence, MutableMapping -except ImportError: # support for python>3.8 +except ImportError: from collections import MutableSequence, MutableMapping import param