Skip to content

Commit bb3208a

Browse files
author
Mark Gibbs
committed
Added badge and other comments to documentation. Addresses issues #59 and #61
1 parent 9681f22 commit bb3208a

9 files changed

+21
-5
lines changed

dev_requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ pytest-django
1212
pytest-cov
1313
pytz
1414
redis
15+
sphinx
1516
sphinx-autobuild
1617
twine
1718

dev_requirements.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,5 @@ dependencies:
2020
- django-redis
2121
- grip
2222
- pytest-django
23+
- sphinx
2324
- sphinx-autobuild

docs/dash_components.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ dependency of ``django-plotly-dash``.
88

99
.. _pipe_component:
1010
The ``Pipe`` component
11-
--------------
11+
----------------------
1212

1313
Each ``Pipe`` component instance listens for messages on a single channel. The ``value`` member of any message on that channel whose ``label`` matches
1414
that of the component will be used to update the ``value`` property of the component. This property can then be used in callbacks like

docs/development.rst

+7
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ The application and demo are developed, built and tested in a virtualenv envirom
77
a number of ``bash`` shell scripts. The resultant package should work on any Python installation
88
that meets the requirements.
99

10+
Automatic builds have been set up on `Travis-CI <https://travis-ci.org/GibbsConsulting/django-plotly-dash>`_ including
11+
running tests and reporting code coverage.
12+
13+
Current status: |Travis Badge|
14+
15+
.. |Travis Badge| image:: https://travis-ci.org/GibbsConsulting/django-plotly-dash.svg?branch=master
16+
1017
Environment setup
1118
-----------------
1219

docs/extended_callbacks.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ in the :ref:`models_and_state` section.
5252

5353
.. _using_session_state:
5454
Using session state
55-
------------------
55+
-------------------
5656

5757
Unless an explicit pipe is created, changes to the session state and other server-side objects are not automatically
5858
propagated to an application. Something in the front-end UI has to invoke a callback; at this point the

docs/faq.rst

+7
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,10 @@ own requirements but are accessed using standard network protocols.
2020

2121
Create a `github issue <https://github.com/GibbsConsulting/django-plotly-dash/issues>`_. See :ref:`bug reporting <bug-reporting>` for details
2222
on what makes a good bug report.
23+
24+
* Where should ``Dash`` layout and callback functions be placed?
25+
26+
In general, the only constraint on the files containing these functions is that they should be imported into the file containing
27+
the ``DjangoDash`` instantiation. This is discussed in
28+
the :ref:`installation` section and also
29+
in this github `issue <https://github.com/GibbsConsulting/django-plotly-dash/issues/58>`_.

docs/license.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. _license
1+
.. _license:
22

33
License
44
=======

docs/models_and_state.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Django models and application state
66
The ``django_plotly_dash`` application defines ``DashApp`` and ``StatelessApp`` models.
77

88
The ``StatelessApp`` model
9-
----------------------
9+
--------------------------
1010

1111
An instance of the ``StatelessApp`` model represents a single dash application. Every instantiation of
1212
a ``DjangoDash`` object is registered, and any object that is referenced through the ``DashApp`` model - this

docs/template_tags.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ the page footer - to avoid delaying the main page load - along
123123
with other scripts is generally advisable.
124124

125125
The ``plotly_app_identifier`` template tag
126-
-----------------------------------------
126+
------------------------------------------
127127

128128
This tag provides an identifier for an app, in a form that is suitable for use as a classname or identifier
129129
in HTML:

0 commit comments

Comments
 (0)