Re: [PATCH] docs: Fix documentation of REST_RESULTS_PER_PAGE setting

2018-08-26 Thread Daniel Axtens
Andrew Donnellan  writes:

> In 8fe11180a1a5 ("REST: Add new setting for maximum API page size") I
> accidentally deleted the versionadded information for
> REST_RESULTS_PER_PAGE. Restore it.
>
> Fixes: 8fe11180a1a5 ("REST: Add new setting for maximum API page size")
> Signed-off-by: Andrew Donnellan 

Thanks Andrew - applied.

Regards,
Daniel
> ---
>  docs/deployment/configuration.rst | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/docs/deployment/configuration.rst 
> b/docs/deployment/configuration.rst
> index e599522a412b..0601276a3cbc 100644
> --- a/docs/deployment/configuration.rst
> +++ b/docs/deployment/configuration.rst
> @@ -88,6 +88,8 @@ Enable the :doc:`REST API <../api/rest>`.
>  The number of items to include in REST API responses by default. This can be
>  overridden by the ``per_page`` parameter for some endpoints.
>  
> +.. versionadded:: 2.0
> +
>  ``MAX_REST_RESULTS_PER_PAGE``
>  ~
>  
> -- 
> 2.11.0
___
Patchwork mailing list
Patchwork@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/patchwork


[PATCH] docs: Fix documentation of REST_RESULTS_PER_PAGE setting

2018-08-26 Thread Andrew Donnellan
In 8fe11180a1a5 ("REST: Add new setting for maximum API page size") I
accidentally deleted the versionadded information for
REST_RESULTS_PER_PAGE. Restore it.

Fixes: 8fe11180a1a5 ("REST: Add new setting for maximum API page size")
Signed-off-by: Andrew Donnellan 
---
 docs/deployment/configuration.rst | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/docs/deployment/configuration.rst 
b/docs/deployment/configuration.rst
index e599522a412b..0601276a3cbc 100644
--- a/docs/deployment/configuration.rst
+++ b/docs/deployment/configuration.rst
@@ -88,6 +88,8 @@ Enable the :doc:`REST API <../api/rest>`.
 The number of items to include in REST API responses by default. This can be
 overridden by the ``per_page`` parameter for some endpoints.
 
+.. versionadded:: 2.0
+
 ``MAX_REST_RESULTS_PER_PAGE``
 ~
 
-- 
2.11.0

___
Patchwork mailing list
Patchwork@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/patchwork