From 2d1c94a6c00082fc1d580c6ba7b02626fb94cdc4 Mon Sep 17 00:00:00 2001 From: Josh Schneier Date: Fri, 29 Sep 2023 01:41:13 -0400 Subject: [PATCH] [docs] improve language & fix typo (#1316) --- docs/backends/amazon-S3.rst | 4 ++-- docs/backends/azure.rst | 2 +- docs/backends/dropbox.rst | 2 +- docs/backends/gcloud.rst | 2 +- docs/backends/sftp.rst | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/backends/amazon-S3.rst b/docs/backends/amazon-S3.rst index 1ee6547e..969c1075 100644 --- a/docs/backends/amazon-S3.rst +++ b/docs/backends/amazon-S3.rst @@ -34,7 +34,7 @@ On Django < 4.2 you'd instead define:: DEFAULT_FILE_STORAGE = "storages.backends.s3.S3Storage" To put static files on S3 via ``collectstatic`` on Django >= 4.2 you'd include the ``staticfiles`` key (at the same level as -``default`` above inside of the ``STORAGES`` dictionary while on Django < 4.2 you'd instead define:: +``default``) in the ``STORAGES`` dictionary while on Django < 4.2 you'd instead define:: STATICFILES_STORAGE = "storages.backends.s3.S3Storage" @@ -176,7 +176,7 @@ Settings Default: ``None`` Set this to customize the transfer config options such as disabling threads for ``gevent`` compatibility; - See the `Boto3 docs for TransferConfig` for more info. + See the `Boto3 docs for TransferConfig`_ for more info. ``custom_domain`` or ``AWS_S3_CUSTOM_DOMAIN`` diff --git a/docs/backends/azure.rst b/docs/backends/azure.rst index 3445ce42..58ba92e2 100644 --- a/docs/backends/azure.rst +++ b/docs/backends/azure.rst @@ -34,7 +34,7 @@ On Django < 4.2 you'd instead define:: DEFAULT_FILE_STORAGE = "storages.backends.azure_storage.AzureStorage" To put static files on Azure via ``collectstatic`` on Django >= 4.2 you'd include the ``staticfiles`` key (at the same level as -``default`` above inside of the ``STORAGES`` dictionary while on Django < 4.2 you'd instead define:: +``default``) in the ``STORAGES`` dictionary while on Django < 4.2 you'd instead define:: STATICFILES_STORAGE = "storages.backends.azure_storage.AzureStorage" diff --git a/docs/backends/dropbox.rst b/docs/backends/dropbox.rst index fc944f7d..e2b2d6df 100644 --- a/docs/backends/dropbox.rst +++ b/docs/backends/dropbox.rst @@ -35,7 +35,7 @@ On Django < 4.2 you'd instead define:: DEFAULT_FILE_STORAGE = "storages.backends.dropbox.DropboxStorage" To put static files on Dropbox via ``collectstatic`` on Django >= 4.2 you'd include the ``staticfiles`` key (at the same level as -``default`` above inside of the ``STORAGES`` dictionary while on Django < 4.2 you'd instead define:: +``default``) in the ``STORAGES`` dictionary while on Django < 4.2 you'd instead define:: STATICFILES_STORAGE = "storages.backends.dropbox.DropboxStorage" diff --git a/docs/backends/gcloud.rst b/docs/backends/gcloud.rst index 57267154..962298eb 100644 --- a/docs/backends/gcloud.rst +++ b/docs/backends/gcloud.rst @@ -35,7 +35,7 @@ On Django < 4.2 you'd instead define:: DEFAULT_FILE_STORAGE = "storages.backends.gcloud.GoogleCloudStorage" To put static files on GCS via ``collectstatic`` on Django >= 4.2 you'd include the ``staticfiles`` key (at the same level as -``default`` above inside of the ``STORAGES`` dictionary while on Django < 4.2 you'd instead define:: +``default``) in the ``STORAGES`` dictionary while on Django < 4.2 you'd instead define:: STATICFILES_STORAGE = "storages.backends.gcloud.GoogleCloudStorage" diff --git a/docs/backends/sftp.rst b/docs/backends/sftp.rst index 5141c273..4de207df 100644 --- a/docs/backends/sftp.rst +++ b/docs/backends/sftp.rst @@ -31,7 +31,7 @@ On Django < 4.2 you'd instead define:: DEFAULT_FILE_STORAGE = "storages.backends.sftpstorage.SFTPStorage" To put static files on SFTP via ``collectstatic`` on Django >= 4.2 you'd include the ``staticfiles`` key (at the same level as -``default`` above inside of the ``STORAGES`` dictionary while on Django < 4.2 you'd instead define:: +``default``) in the ``STORAGES`` dictionary while on Django < 4.2 you'd instead define:: STATICFILES_STORAGE = "storages.backends.sftpstorage.SFTPStorage"