Skip to content

Commit 5d29ac6

Browse files
committed
Minor docs fixes
1 parent 6237948 commit 5d29ac6

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

docs/backends/apache_libcloud.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ set::
154154
Your default Libcloud provider will be used as the file store.
155155

156156
Certificate authorities
157-
----------------------
157+
-----------------------
158158

159159
Libcloud uses HTTPS connections, and in order to validate that these HTTPS connections are
160160
correctly signed, root CA certificates must be present. On some platforms

docs/backends/gcloud.rst

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,15 @@ current Google Compute Engine (GCE) or Google Kubernetes Engine (GKE) instance
1919
for authentication. In most cases, the default service accounts are not sufficient
2020
to read/write and sign files in GCS.
2121

22-
1. Create a service account.
23-
(`Google Getting Started Guide <https://cloud.google.com/docs/authentication/getting-started>`__)
22+
1. Create a service account. (`Google Getting Started Guide <https://cloud.google.com/docs/authentication/getting-started>`__)
2423

2524
2. Create the key and download `your-project-XXXXX.json` file.
2625

27-
3. Make sure your service account has access to the bucket and appropriate permissions.
28-
(`Using IAM Permissions <https://cloud.google.com/storage/docs/access-control/using-iam-permissions>`__)
26+
3. Make sure your service account has access to the bucket and appropriate permissions. (`Using IAM Permissions <https://cloud.google.com/storage/docs/access-control/using-iam-permissions>`__)
2927

30-
4. The key must be mounted/available to your running Django app.
31-
Note: a json keyfile will work for developer machines (or other instances outside Google infrastructure).
28+
4. The key must be mounted/available to your running Django app. Note: a json keyfile will work for developer machines (or other instances outside Google infrastructure).
3229

33-
5. Set an environment variable of GOOGLE_APPLICATION_CREDENTIALS to path of the json file.
30+
5. Set an environment variable of GOOGLE_APPLICATION_CREDENTIALS to the path of the json file.
3431

3532
Alternatively, you can use the setting `GS_CREDENTIALS` as described below.
3633

@@ -118,11 +115,12 @@ translated.)
118115
For most cases, the blob will need to be set to the ``publicRead`` ACL in order for the file to be viewed.
119116
If GS_DEFAULT_ACL is not set, the blob will have the default permissions set by the bucket.
120117

121-
``publicRead`` files will return a public - non-expiring url. All other files return
118+
``publicRead`` files will return a public, non-expiring url. All other files return
122119
a signed (expiring) url.
123120

124-
**GS_DEFAULT_ACL must be set to ``publicRead`` to return a public url.** Even if you set
125-
the bucket to public or set the file permissions directly in GCS to public.
121+
.. note::
122+
GS_DEFAULT_ACL must be set to 'publicRead' to return a public url. Even if you set
123+
the bucket to public or set the file permissions directly in GCS to public.
126124

127125

128126
``GS_FILE_CHARSET`` (optional)

0 commit comments

Comments
 (0)