Skip to content

Commit 294531c

Browse files
committed
Indent for RST version of GH-flavored markdown triple backtick
1 parent 044a0c8 commit 294531c

File tree

1 file changed

+25
-30
lines changed

1 file changed

+25
-30
lines changed

docs/management_commands.rst

Lines changed: 25 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -31,35 +31,30 @@ createapplication
3131

3232
The ``createapplication`` management command provides a shortcut to create a new application in a programmatic way.
3333

34-
This command is used like this:
35-
3634
.. code-block:: sh
3735
38-
python3 manage.py createapplication [arguments] <client_type> <authorization_grant_type>
39-
40-
41-
usage: manage.py createapplication [-h] [--client-id CLIENT_ID] [--user USER] [--redirect-uris REDIRECT_URIS]
42-
[--client-secret CLIENT_SECRET] [--name NAME] [--skip-authorization] [--version] [-v {0,1,2,3}]
43-
[--settings SETTINGS] [--pythonpath PYTHONPATH] [--traceback] [--no-color] [--force-color]
44-
[--skip-checks]
45-
client_type authorization_grant_type
46-
47-
Shortcut to create a new application in a programmatic way
48-
49-
positional arguments:
50-
client_type The client type, can be confidential or public
51-
authorization_grant_type
52-
The type of authorization grant to be used
53-
54-
optional arguments:
55-
-h, --help show this help message and exit
56-
--client-id CLIENT_ID
57-
The ID of the new application
58-
--user USER The user the application belongs to
59-
--redirect-uris REDIRECT_URIS
60-
The redirect URIs, this must be a space separated string e.g 'URI1 URI2'
61-
--client-secret CLIENT_SECRET
62-
The secret for this application
63-
--name NAME The name this application
64-
--skip-authorization The ID of the new application
65-
...
36+
usage: manage.py createapplication [-h] [--client-id CLIENT_ID] [--user USER] [--redirect-uris REDIRECT_URIS]
37+
[--client-secret CLIENT_SECRET] [--name NAME] [--skip-authorization] [--version] [-v {0,1,2,3}]
38+
[--settings SETTINGS] [--pythonpath PYTHONPATH] [--traceback] [--no-color] [--force-color]
39+
[--skip-checks]
40+
client_type authorization_grant_type
41+
42+
Shortcut to create a new application in a programmatic way
43+
44+
positional arguments:
45+
client_type The client type, can be confidential or public
46+
authorization_grant_type
47+
The type of authorization grant to be used
48+
49+
optional arguments:
50+
-h, --help show this help message and exit
51+
--client-id CLIENT_ID
52+
The ID of the new application
53+
--user USER The user the application belongs to
54+
--redirect-uris REDIRECT_URIS
55+
The redirect URIs, this must be a space separated string e.g 'URI1 URI2'
56+
--client-secret CLIENT_SECRET
57+
The secret for this application
58+
--name NAME The name this application
59+
--skip-authorization The ID of the new application
60+
...

0 commit comments

Comments
 (0)