Skip to content

Commit e3c9d4d

Browse files
authored
Add missing quotation marks for URIs in docs (#511)
1 parent f5e2733 commit e3c9d4d

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

docs/source/api.rst

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Example, driver creation:
2323
2424
from neo4j import GraphDatabase
2525
26-
uri = neo4j://example.com:7687
26+
uri = "neo4j://example.com:7687"
2727
driver = GraphDatabase.driver(uri, auth=("neo4j", "password"), max_connection_lifetime=1000)
2828
2929
driver.close() # close the driver object
@@ -44,8 +44,7 @@ Example, with block context:
4444
4545
from neo4j import GraphDatabase
4646
47-
uri = neo4j://example.com:7687
48-
47+
uri = "neo4j://example.com:7687"
4948
with GraphDatabase.driver(uri, auth=("neo4j", "password")) as driver:
5049
# use the driver
5150
@@ -69,11 +68,11 @@ Available valid URIs:
6968

7069
.. code-block:: python
7170
72-
uri = bolt://example.com:7687
71+
uri = "bolt://example.com:7687"
7372
7473
.. code-block:: python
7574
76-
uri = neo4j://example.com:7687
75+
uri = "neo4j://example.com:7687"
7776
7877
Each supported scheme maps to a particular :class:`neo4j.Driver` subclass that implements a specific behaviour.
7978

@@ -1336,4 +1335,4 @@ Bookmark
13361335
********
13371336
13381337
.. autoclass:: neo4j.Bookmark
1339-
:members:
1338+
:members:

docs/source/driver.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ On construction, the `scheme` of the URI determines the type of :class:`neo4j.Dr
2626

2727
Example URI::
2828

29-
uri = bolt://localhost:7687
29+
uri = "bolt://localhost:7687"
3030

3131
Example URI::
3232

33-
uri = neo4j://localhost:7687
33+
uri = "neo4j://localhost:7687"
3434

3535
Each supported scheme maps to a particular :class:`neo4j.Driver` subclass that implements a specific behaviour.
3636

0 commit comments

Comments
 (0)