Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/flask.rst
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ specific casters for typical Flask configuration values. E.g.:
Flask-Env
~~~~~~~~~

If you need to solve :ref:`more complex configuration scenarios <flask:config>`
If you need to solve more complex configuration scenarios
there are tools like Flask-Env_ which allows loading settings for different
environments (e.g. dev, stage, prod) via environment variables. It provides
a small Python meta class to allow setting up the configuration values:
Expand Down
15 changes: 10 additions & 5 deletions docs/sanic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,13 @@ for settings and other variables.
loaded by the application automatically and fed into the
``REQUEST_TIMEOUT`` config variable.

-- :doc:`Sanic docs on configuration <sanic/config>`.
-- `Sanic docs on configuration`_.

The downside of that is that it nicely works only for string
based variables, since that's what ``os.environ`` returns.

.. _Sanic docs on configuration: https://sanic.dev/en/guide/deployment/configuration.html#environment-variables

python-decouple
~~~~~~~~~~~~~~~

Expand Down Expand Up @@ -190,8 +192,9 @@ Uvicorn, and Hypercorn.

.. seealso::

The :doc:`Sanic deployment documentation <sanic/deploying>` has more
for more details.
The `Sanic deployment documentation`_ has more details.

.. _Sanic deployment documentation: https://sanic.dev/en/guide/deployment/running.html#asgi

.. _sanic-versions:

Expand Down Expand Up @@ -454,5 +457,7 @@ Alternatively you can also pass the same logging config dictionary to the
Static content
--------------

Please refer to the Sanic documentation about
:doc:`serving static files <sanic/static_files>` for more information.
Please refer to the Sanic documentation about `serving static files`_ for more
information.

.. _serving static files: https://sanic.dev/en/guide/basics/routing.html#static-files