From 8b89afeff136ef29300d38375aad838d1b94a4eb Mon Sep 17 00:00:00 2001
From: QuentinN42 <32516498+QuentinN42@users.noreply.github.com>
Date: Tue, 28 Feb 2023 13:21:45 +0100
Subject: [PATCH] docs: update sphinx to the latest version (#1497)
---
README.rst | 3 ---
docs/api/index.rst | 2 +-
docs/conf.py | 3 +--
docs/execution/queryvalidation.rst | 8 ++++----
docs/index.rst | 1 -
docs/requirements.txt | 4 ++--
6 files changed, 8 insertions(+), 13 deletions(-)
diff --git a/README.rst b/README.rst
index a38b9376..405a8f44 100644
--- a/README.rst
+++ b/README.rst
@@ -36,9 +36,6 @@ Graphene has multiple integrations with different frameworks:
| SQLAlchemy | `graphene-sqlalchemy `__ |
+-------------------+-------------------------------------------------+
-| Google App Engine | `graphene-gae `__ |
-+-------------------+-------------------------------------------------+
Also, Graphene is fully compatible with the GraphQL spec, working
seamlessly with all GraphQL clients, such as
diff --git a/docs/api/index.rst b/docs/api/index.rst
index c5e3b6e1..38b74909 100644
--- a/docs/api/index.rst
+++ b/docs/api/index.rst
@@ -92,7 +92,7 @@ Execution Metadata
.. autoclass:: graphene.Context
-.. autoclass:: graphql.execution.base.ExecutionResult
+.. autoclass:: graphql.ExecutionResult
.. Relay
.. -----
diff --git a/docs/conf.py b/docs/conf.py
index 0166d4c2..75f51541 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -82,7 +82,7 @@ release = "1.0"
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
-language = None
+# language = None
# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
@@ -456,5 +456,4 @@ intersphinx_mapping = {
"http://docs.graphene-python.org/projects/sqlalchemy/en/latest/",
None,
),
- "graphene_gae": ("http://docs.graphene-python.org/projects/gae/en/latest/", None),
}
diff --git a/docs/execution/queryvalidation.rst b/docs/execution/queryvalidation.rst
index 9c24a2e3..02e29a35 100644
--- a/docs/execution/queryvalidation.rst
+++ b/docs/execution/queryvalidation.rst
@@ -1,5 +1,5 @@
Query Validation
-==========
+================
GraphQL uses query validators to check if Query AST is valid and can be executed. Every GraphQL server implements
standard query validators. For example, there is an validator that tests if queried field exists on queried type, that
makes query fail with "Cannot query field on type" error if it doesn't.
@@ -8,7 +8,7 @@ To help with common use cases, graphene provides a few validation rules out of t
Depth limit Validator
------------------
+---------------------
The depth limit validator helps to prevent execution of malicious
queries. It takes in the following arguments.
@@ -17,7 +17,7 @@ queries. It takes in the following arguments.
- ``callback`` Called each time validation runs. Receives an Object which is a map of the depths for each operation.
Usage
--------
+-----
Here is how you would implement depth-limiting on your schema.
@@ -54,7 +54,7 @@ the disable introspection validation rule ensures that your schema cannot be int
This is a useful security measure in production environments.
Usage
--------
+-----
Here is how you would disable introspection for your schema.
diff --git a/docs/index.rst b/docs/index.rst
index 85905788..05b7fd87 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -21,7 +21,6 @@ Integrations
* `Graphene-Django `_ (`source `_)
* Flask-Graphql (`source `_)
* `Graphene-SQLAlchemy `_ (`source `_)
-* `Graphene-GAE `_ (`source `_)
* `Graphene-Mongo `_ (`source `_)
* `Starlette `_ (`source `_)
* `FastAPI `_ (`source `_)
diff --git a/docs/requirements.txt b/docs/requirements.txt
index dcc40312..dee009c7 100644
--- a/docs/requirements.txt
+++ b/docs/requirements.txt
@@ -1,5 +1,5 @@
# Required library
-Sphinx==1.5.3
-sphinx-autobuild==0.7.1
+Sphinx==6.1.3
+sphinx-autobuild==2021.3.14
# Docs template
http://graphene-python.org/sphinx_graphene_theme.zip