Skip to content
Myr

Fix rST rendering of env var (#2085)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

This was broken in https://github.com/pallets/flask/commit/ad011bc32d7b9160354efafcd43e20f7042a6a13#diff-fd40cf2be7711772de9d8316da038cceR263

authored by Jannis Leidel · committed by Markus Unterwaditzer · parent 281c9c3 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/config.rst+1 added-1 removed
260 unmodified lines
261 app.config.from_envvar('YOURAPPLICATION_SETTINGS')262263This first loads the configuration from the264`yourapplication.default_settings` module and then overrides the values265with the contents of the file the :envvar:``YOURAPPLICATION_SETTINGS``265with the contents of the file the :envvar:`YOURAPPLICATION_SETTINGS`266environment variable points to. This environment variable can be set on267Linux or OS X with the export command in the shell before starting the268server::269
196 unmodified lines