Skip to content

Commit 4b187cc

Browse files
committed
minor doc updates
1 parent 6136693 commit 4b187cc

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

docs/source/api.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ Layout
3030

3131

3232
Dispatcher
33-
--------
33+
----------
3434

35-
.. automodule:: idom.core.render
35+
.. automodule:: idom.core.dispatcher
3636
:members:
3737

3838

docs/source/core-concepts.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ callback that's called by the dispatcher to events it should execute.
163163

164164
``context`` is information that's specific to the
165165
:class:`~idom.core.dispatcher.AbstractDispatcher` implementation. In the case of
166-
the :class:`~idom.core.render.SingleStateDispatcher` it doesn't require any
167-
context. On the other hand the :class:`~idom.core.render.SharedStateDispatcher`
166+
the :class:`~idom.core.dispatcher.SingleStateDispatcher` it doesn't require any
167+
context. On the other hand the :class:`~idom.core.dispatcher.SharedStateDispatcher`
168168
requires a client ID as its piece of contextual information.
169169

170170

@@ -201,8 +201,8 @@ two ways - as a standalone application or as an extension to an existing applica
201201
Standalone Server Usage
202202
.......................
203203

204-
The implementation constructs a default application that's used to serve the renders of
205-
the model:
204+
The implementation constructs a default application that's used to serve the dispatched
205+
models:
206206

207207
.. code-block:: python
208208

tests/test_core/test_dispatcher.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ async def recv():
9999
await dispatcher.run(send, recv, None)
100100

101101

102-
async def test_dispatcher_run_does_not_supress_non_stop_rendering_errors():
102+
async def test_dispatcher_run_does_not_supress_errors():
103103
class DispatcherWithBug(AbstractDispatcher):
104104
async def _outgoing(self, layout, context):
105105
raise ValueError("this is a bug")

0 commit comments

Comments
 (0)