File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ specific casters for typical Flask configuration values. E.g.:
127127 Flask-Env
128128~~~~~~~~~
129129
130- If you need to solve :ref: ` more complex configuration scenarios < flask:config >`
130+ If you need to solve more complex configuration scenarios
131131there are tools like Flask-Env _ which allows loading settings for different
132132environments (e.g. dev, stage, prod) via environment variables. It provides
133133a small Python meta class to allow setting up the configuration values:
Original file line number Diff line number Diff line change @@ -80,11 +80,13 @@ for settings and other variables.
8080 loaded by the application automatically and fed into the
8181 ``REQUEST_TIMEOUT `` config variable.
8282
83- -- :doc: `Sanic docs on configuration < sanic/config >` .
83+ -- `Sanic docs on configuration `_ .
8484
8585The downside of that is that it nicely works only for string
8686based variables, since that's what ``os.environ `` returns.
8787
88+ .. _Sanic docs on configuration : https://sanic.dev/en/guide/deployment/configuration.html#environment-variables
89+
8890python-decouple
8991~~~~~~~~~~~~~~~
9092
@@ -190,8 +192,9 @@ Uvicorn, and Hypercorn.
190192
191193.. seealso ::
192194
193- The :doc: `Sanic deployment documentation <sanic/deploying >` has more
194- for more details.
195+ The `Sanic deployment documentation `_ has more details.
196+
197+ .. _Sanic deployment documentation : https://sanic.dev/en/guide/deployment/running.html#asgi
195198
196199.. _sanic-versions :
197200
@@ -454,5 +457,7 @@ Alternatively you can also pass the same logging config dictionary to the
454457Static content
455458--------------
456459
457- Please refer to the Sanic documentation about
458- :doc: `serving static files <sanic/static_files >` for more information.
460+ Please refer to the Sanic documentation about `serving static files `_ for more
461+ information.
462+
463+ .. _serving static files : https://sanic.dev/en/guide/basics/routing.html#static-files
You can’t perform that action at this time.
0 commit comments