Skip to content

Commit

Permalink
chore(doc): Format
Browse files Browse the repository at this point in the history
  • Loading branch information
alithethird committed Dec 10, 2024
1 parent cdd9134 commit 6aba111
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
13 changes: 6 additions & 7 deletions docs/reference/extensions/django-framework.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,12 @@ updates the Pebble plan to use the asynchronous workers. If you have ``gevent``
installed in your rock but decided to use ``sync`` workers instead you can do
so by using the ``--args`` parameter of ``docker run``:

.. code-block:: shell
:caption: Use sync workers instead of gevent
$ docker run \
--name django-container \
-d -p 8138:8000 \
django-image:1.0 \
--args django sync
.. code-block:: bash
$ docker run \
--name django-container \
-d -p 8138:8000 \
django-image:1.0 \
--args django sync
.. note::
The Django extension is compatible with the ``bare``, ``[email protected]`` and
Expand Down
13 changes: 6 additions & 7 deletions docs/reference/extensions/flask-framework.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,12 @@ installed in your rock but decided to use ``sync`` workers instead you can use
the ``--args`` parameter of ``docker run`` to use ``sync`` workers instead of
the default ``gevent``:

.. code-block:: shell
:caption: Use sync workers instead of gevent
$ docker run \
--name flask-container \
-d -p 8138:8000 \
flask-image:1.0 \
--args flask sync
.. code-block:: bash
$ docker run \
--name flask-container \
-d -p 8138:8000 \
flask-image:1.0 \
--args flask sync
``parts`` > ``flask-framework/install-app`` > ``prime``
=======================================================
Expand Down

0 comments on commit 6aba111

Please sign in to comment.