1
0
mirror of https://github.com/django/django.git synced 2025-10-29 00:26:07 +00:00

[3.1.x] Used :envvar: role and .. envvar:: directive in various docs.

Backport of fbdb032de2 from master
This commit is contained in:
Nick Pope
2020-04-30 11:12:05 +01:00
committed by Mariusz Felisiak
parent 345fa40cb5
commit 4eb5e4ee4f
15 changed files with 65 additions and 49 deletions

View File

@@ -246,6 +246,10 @@ documentation:
* Use :rst:role:`:mimetype:<mimetype>` to refer to a MIME Type unless the value
is quoted for a code example.
* Use :rst:role:`:envvar:<envvar>` to refer to an environment variable. You may
also need to define a reference to the documentation for that environment
variable using :rst:dir:`.. envvar:: <envvar>`.
Django-specific markup
======================