Documentation - whitespace formatting fixes

- Includes small fix for #9969 missing space
pull/9988/head
LB Johnston 2023-01-28 06:59:01 +10:00
rodzic 2afeca2875
commit 9e016c17b8
6 zmienionych plików z 8 dodań i 8 usunięć

Wyświetl plik

@ -509,7 +509,7 @@ class MyBlockOperation(BaseBlockOperation):
new_block_value = block_value[:self.length]
return new_block_value
@property
def operation_name_fragment(self):
return "truncate_{}".format(self.length)

Wyświetl plik

@ -50,7 +50,7 @@ Any Wagtail sites you start up in this virtualenv will now run against this deve
pip install -e path/to/wagtail"[testing, docs]" -U
```
Here, `path/to/wagtail`is the path to your local Wagtail copy.
Here, `path/to/wagtail` is the path to your local Wagtail copy.
(development_on_windows)=

Wyświetl plik

@ -145,7 +145,7 @@ With [Azure CDN](https://azure.microsoft.com/en-gb/products/cdn/) you will need
The third-party dependencies of this backend are:
| PyPI Package | Essential | Reason |
| PyPI Package | Essential | Reason |
| ---------------------------------------------------------------------- | -------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| [`azure-mgmt-cdn`](https://pypi.org/project/azure-mgmt-cdn/) | Yes (v10.0 or above) | Interacting with the CDN service. |
| [`azure-identity`](https://pypi.org/project/azure-identity/) | No | Obtaining credentials. It's optional if you want to specify your own credential using a `CREDENTIALS` setting (more details below). |
@ -199,7 +199,7 @@ With [Azure Front Door](https://azure.microsoft.com/en-gb/products/frontdoor/) y
The third-party dependencies of this backend are:
| PyPI Package | Essential | Reason |
| PyPI Package | Essential | Reason |
| ------------------------------------------------------------------------ | ------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| [`azure-mgmt-frontdoor`](https://pypi.org/project/azure-mgmt-frontdoor/) | Yes (v1.0 or above) | Interacting with the Front Door service. |
| [`azure-identity`](https://pypi.org/project/azure-identity/) | No | Obtaining credentials. It's optional if you want to specify your own credential using a `CREDENTIALS` setting (more details below). |

Wyświetl plik

@ -7,14 +7,14 @@ using the `wagtail.contrib.sitemaps` module.
```{note}
As of Wagtail 1.10 the Django contrib sitemap app is used to generate
sitemaps. However since Wagtail requires the Site instance to be available
sitemaps. However since Wagtail requires the Site instance to be available
during the sitemap generation you will have to use the views from the
`wagtail.contrib.sitemaps.views` module instead of the views
provided by Django (`django.contrib.sitemaps.views`).
The usage of these views is otherwise identical, which means that
customisation and caching of the sitemaps are done using the default Django
patterns. See the Django documentation for in-depth information.
patterns. See the Django documentation for in-depth information.
```
## Basic configuration

Wyświetl plik

@ -57,7 +57,7 @@ Trying to upload an image that's a duplicate of one already in the image library
### Image renditions can now be prefetched
When using a queryset to render a list of items with images, you can now make use of Django's built-in ``prefetch_related()`` queryset method to prefetch the renditions needed for rendering with a single extra query. For long lists of items, or where multiple renditions are used for each item, this can provide a significant boost to performance. This feature was developed by Andy Babic.
When using a queryset to render a list of items with images, you can now make use of Django's built-in `prefetch_related()` queryset method to prefetch the renditions needed for rendering with a single extra query. For long lists of items, or where multiple renditions are used for each item, this can provide a significant boost to performance. This feature was developed by Andy Babic.
### Other features

Wyświetl plik

@ -271,7 +271,7 @@ The userbar can be positioned where it works best with your design. Alternativel
wagtail-userbar::part(userbar) {
bottom: 30px;
}
```
```
## Varying output between preview and live