Skip to content

Commit 9d819b6

Browse files
authored
Fix missing links in docs (#72)
1 parent 3d47d63 commit 9d819b6

2 files changed

Lines changed: 11 additions & 6 deletions

File tree

docs/flask.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
131131
there are tools like Flask-Env_ which allows loading settings for different
132132
environments (e.g. dev, stage, prod) via environment variables. It provides
133133
a small Python meta class to allow setting up the configuration values:

docs/sanic.rst

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff 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

8585
The downside of that is that it nicely works only for string
8686
based 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+
8890
python-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
454457
Static 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

0 commit comments

Comments
 (0)