Skip to content

Commit c9a30f7

Browse files
committed
Improved docs
1 parent 6bd03d5 commit c9a30f7

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

docs/quickstart.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Project setup
1414

1515
.. code:: bash
1616
17-
pip install graphene --upgrade
17+
pip install "graphene>=1.0.dev"
1818
1919
Creating a basic Schema
2020
-----------------------

docs/types/abstracttypes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ plus the ones defined in ``UserFields``.
3232
pass
3333
3434
35-
.. code:: graphql
35+
.. code::
3636
3737
type User {
3838
name: String

docs/types/interfaces.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ time.
4444

4545
The above types would have the following representation in a schema:
4646

47-
.. code:: graphql
47+
.. code::
4848
4949
interface Character {
5050
name: String

docs/types/mutations.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Executing the Mutation
5353

5454
Then, if we query (``schema.execute(query_str)``) the following:
5555

56-
.. code:: graphql
56+
.. code::
5757
5858
mutation myFirstMutation {
5959
createPerson(name:"Peter") {

docs/types/objecttypes.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ querying.
88
The basics:
99

1010
- Each ObjectType is a Python class that inherits
11-
``graphene.ObjectType`` or inherits an implemented `Interface`_.
11+
``graphene.ObjectType``.
1212
- Each attribute of the ObjectType represents a ``Field``.
1313

1414
Quick example
@@ -36,7 +36,7 @@ Field.
3636
The above ``Person`` ObjectType would have the following representation
3737
in a schema:
3838

39-
.. code:: graphql
39+
.. code::
4040
4141
type Person {
4242
firstName: String

docs/types/schema.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ would be converted to ``_other_Name`` (without any other transformation).
6262

6363
So, you would need to query with:
6464

65-
.. code:: graphql
65+
.. code::
6666
6767
{
6868
lastName

0 commit comments

Comments
 (0)