Skip to content

Commit 62f14a0

Browse files
authored
Improve formatting of json in example documentation (#436)
1 parent 0d2fb08 commit 62f14a0

25 files changed

+59
-56
lines changed

docs/docs/modules/ROOT/partials/generated/api/spatial.removeNode/spatial.removeNode.byId-examples.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ a|
2626
[source]
2727
----
2828
(:Node {
29-
bbox: [15.2,60.1,15.2,60.1],
29+
bbox: [ 15.2, 60.1, 15.2, 60.1 ],
3030
gtype: 1,
3131
id: 1,
3232
lat: 60.1,
@@ -37,7 +37,7 @@ a|
3737
[source]
3838
----
3939
(:Node {
40-
bbox: [15.3,60.1,15.3,60.1],
40+
bbox: [ 15.3, 60.1, 15.3, 60.1 ],
4141
gtype: 1,
4242
id: 2,
4343
lat: 60.1,
@@ -68,7 +68,7 @@ a|
6868
[source]
6969
----
7070
(:Node {
71-
bbox: [15.2,60.1,15.2,60.1],
71+
bbox: [ 15.2, 60.1, 15.2, 60.1 ],
7272
gtype: 1,
7373
id: 1,
7474
lat: 60.1,
@@ -85,7 +85,7 @@ a|
8585
[source]
8686
----
8787
(:Node {
88-
bbox: [15.3,60.1,15.3,60.1],
88+
bbox: [ 15.3, 60.1, 15.3, 60.1 ],
8989
gtype: 1,
9090
id: 2,
9191
lat: 60.1,
@@ -124,7 +124,7 @@ a|
124124
[source]
125125
----
126126
(:Node {
127-
bbox: [15.3,60.1,15.3,60.1],
127+
bbox: [ 15.3, 60.1, 15.3, 60.1 ],
128128
gtype: 1,
129129
id: 2,
130130
lat: 60.1,

docs/docs/modules/ROOT/partials/generated/api/spatial/spatial.addNativePointLayer-examples.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ a|
4646
[source]
4747
----
4848
(:Node {
49-
bbox: [15.2,60.1,15.2,60.1],
49+
bbox: [ 15.2, 60.1, 15.2, 60.1 ],
5050
gtype: 1,
5151
id: 42,
5252
latitude: 60.1,
@@ -78,7 +78,7 @@ a|
7878
[source]
7979
----
8080
(:Node {
81-
bbox: [15.2,60.1,15.2,60.1],
81+
bbox: [ 15.2, 60.1, 15.2, 60.1 ],
8282
gtype: 1,
8383
id: 42,
8484
latitude: 60.1,

docs/docs/modules/ROOT/partials/generated/api/spatial/spatial.addNativePointLayerGeohash-examples.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ a|
4848
----
4949
(:SpatialIndex_geohash_my-native-geohash-layer:Node {
5050
_spatialindex_geohash_my-native-geohash-layer: "1110001001100110011110101101011110001011101011010001000100011101",
51-
bbox: [15.2,60.1,15.2,60.1],
51+
bbox: [ 15.2, 60.1, 15.2, 60.1 ],
5252
gtype: 1,
5353
id: 42,
5454
latitude: 60.1,
@@ -81,7 +81,7 @@ a|
8181
----
8282
(:SpatialIndex_geohash_my-native-geohash-layer:Node {
8383
_spatialindex_geohash_my-native-geohash-layer: "1110001001100110011110101101011110001011101011010001000100011101",
84-
bbox: [15.2,60.1,15.2,60.1],
84+
bbox: [ 15.2, 60.1, 15.2, 60.1 ],
8585
gtype: 1,
8686
id: 42,
8787
latitude: 60.1,

docs/docs/modules/ROOT/partials/generated/api/spatial/spatial.addNativePointLayerHilbert-examples.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ a|
4848
----
4949
(:SpatialIndex_hilbert_my-native-hilbert-layer:Node {
5050
_spatialindex_hilbert_my-native-hilbert-layer: 9664325,
51-
bbox: [15.2,60.1,15.2,60.1],
51+
bbox: [ 15.2, 60.1, 15.2, 60.1 ],
5252
gtype: 1,
5353
id: 42,
5454
latitude: 60.1,
@@ -81,7 +81,7 @@ a|
8181
----
8282
(:SpatialIndex_hilbert_my-native-hilbert-layer:Node {
8383
_spatialindex_hilbert_my-native-hilbert-layer: 9664325,
84-
bbox: [15.2,60.1,15.2,60.1],
84+
bbox: [ 15.2, 60.1, 15.2, 60.1 ],
8585
gtype: 1,
8686
id: 42,
8787
latitude: 60.1,

docs/docs/modules/ROOT/partials/generated/api/spatial/spatial.addNativePointLayerXY-examples.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ a|
5252
[source]
5353
----
5454
(:Node {
55-
bbox: [5.0,4.0,5.0,4.0],
55+
bbox: [ 5.0, 4.0, 5.0, 4.0 ],
5656
gtype: 1,
5757
id: 42,
5858
x: 5.0,

docs/docs/modules/ROOT/partials/generated/api/spatial/spatial.addNativePointLayerZOrder-examples.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ a|
4848
----
4949
(:SpatialIndex_zorder_my-native-zorder-layer:Node {
5050
_spatialindex_zorder_my-native-zorder-layer: 4771024,
51-
bbox: [15.2,60.1,15.2,60.1],
51+
bbox: [ 15.2, 60.1, 15.2, 60.1 ],
5252
gtype: 1,
5353
id: 42,
5454
latitude: 60.1,
@@ -81,7 +81,7 @@ a|
8181
----
8282
(:SpatialIndex_zorder_my-native-zorder-layer:Node {
8383
_spatialindex_zorder_my-native-zorder-layer: 4771024,
84-
bbox: [15.2,60.1,15.2,60.1],
84+
bbox: [ 15.2, 60.1, 15.2, 60.1 ],
8585
gtype: 1,
8686
id: 42,
8787
latitude: 60.1,

docs/docs/modules/ROOT/partials/generated/api/spatial/spatial.addNode-examples.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ a|
5252
[source]
5353
----
5454
(:Node {
55-
bbox: [5.0,4.0,5.0,4.0],
55+
bbox: [ 5.0, 4.0, 5.0, 4.0 ],
5656
gtype: 1,
5757
id: 42,
5858
x: 5.0,

docs/docs/modules/ROOT/partials/generated/api/spatial/spatial.addNodes-examples.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ a|
2626
[source]
2727
----
2828
(:Node {
29-
bbox: [15.2,60.1,15.2,60.1],
29+
bbox: [ 15.2, 60.1, 15.2, 60.1 ],
3030
gtype: 1,
3131
id: 1,
3232
lat: 60.1,
@@ -37,7 +37,7 @@ a|
3737
[source]
3838
----
3939
(:Node {
40-
bbox: [15.3,60.1,15.3,60.1],
40+
bbox: [ 15.3, 60.1, 15.3, 60.1 ],
4141
gtype: 1,
4242
id: 2,
4343
lat: 60.1,
@@ -68,7 +68,7 @@ a|
6868
[source]
6969
----
7070
(:Node {
71-
bbox: [15.2,60.1,15.2,60.1],
71+
bbox: [ 15.2, 60.1, 15.2, 60.1 ],
7272
gtype: 1,
7373
id: 1,
7474
lat: 60.1,
@@ -85,7 +85,7 @@ a|
8585
[source]
8686
----
8787
(:Node {
88-
bbox: [15.3,60.1,15.3,60.1],
88+
bbox: [ 15.3, 60.1, 15.3, 60.1 ],
8989
gtype: 1,
9090
id: 2,
9191
lat: 60.1,
@@ -124,7 +124,7 @@ a|
124124
[source]
125125
----
126126
(:Node {
127-
bbox: [15.3,60.1,15.3,60.1],
127+
bbox: [ 15.3, 60.1, 15.3, 60.1 ],
128128
gtype: 1,
129129
id: 2,
130130
lat: 60.1,

docs/docs/modules/ROOT/partials/generated/api/spatial/spatial.addPointLayer-examples.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ a|
4646
[source]
4747
----
4848
(:Node {
49-
bbox: [15.2,60.1,15.2,60.1],
49+
bbox: [ 15.2, 60.1, 15.2, 60.1 ],
5050
gtype: 1,
5151
id: 42,
5252
latitude: 60.1,
@@ -78,7 +78,7 @@ a|
7878
[source]
7979
----
8080
(:Node {
81-
bbox: [15.2,60.1,15.2,60.1],
81+
bbox: [ 15.2, 60.1, 15.2, 60.1 ],
8282
gtype: 1,
8383
id: 42,
8484
latitude: 60.1,

docs/docs/modules/ROOT/partials/generated/api/spatial/spatial.addPointLayerGeohash-examples.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ a|
4848
----
4949
(:SpatialIndex_geohash_my-simple-geohash-layer:Node {
5050
_spatialindex_geohash_my-simple-geohash-layer: "1110001001100110011110101101011110001011101011010001000100011101",
51-
bbox: [15.2,60.1,15.2,60.1],
51+
bbox: [ 15.2, 60.1, 15.2, 60.1 ],
5252
gtype: 1,
5353
id: 42,
5454
latitude: 60.1,
@@ -81,7 +81,7 @@ a|
8181
----
8282
(:SpatialIndex_geohash_my-simple-geohash-layer:Node {
8383
_spatialindex_geohash_my-simple-geohash-layer: "1110001001100110011110101101011110001011101011010001000100011101",
84-
bbox: [15.2,60.1,15.2,60.1],
84+
bbox: [ 15.2, 60.1, 15.2, 60.1 ],
8585
gtype: 1,
8686
id: 42,
8787
latitude: 60.1,

docs/docs/modules/ROOT/partials/generated/api/spatial/spatial.addPointLayerHilbert-examples.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ a|
4848
----
4949
(:SpatialIndex_hilbert_my-simple-hilbert-layer:Node {
5050
_spatialindex_hilbert_my-simple-hilbert-layer: 9664325,
51-
bbox: [15.2,60.1,15.2,60.1],
51+
bbox: [ 15.2, 60.1, 15.2, 60.1 ],
5252
gtype: 1,
5353
id: 42,
5454
latitude: 60.1,
@@ -81,7 +81,7 @@ a|
8181
----
8282
(:SpatialIndex_hilbert_my-simple-hilbert-layer:Node {
8383
_spatialindex_hilbert_my-simple-hilbert-layer: 9664325,
84-
bbox: [15.2,60.1,15.2,60.1],
84+
bbox: [ 15.2, 60.1, 15.2, 60.1 ],
8585
gtype: 1,
8686
id: 42,
8787
latitude: 60.1,

docs/docs/modules/ROOT/partials/generated/api/spatial/spatial.addPointLayerXY-examples.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ a|
2626
[source]
2727
----
2828
(:Node {
29-
bbox: [15.2,60.1,15.2,60.1],
29+
bbox: [ 15.2, 60.1, 15.2, 60.1 ],
3030
gtype: 1,
3131
id: 1,
3232
lat: 60.1,
@@ -37,7 +37,7 @@ a|
3737
[source]
3838
----
3939
(:Node {
40-
bbox: [15.3,60.1,15.3,60.1],
40+
bbox: [ 15.3, 60.1, 15.3, 60.1 ],
4141
gtype: 1,
4242
id: 2,
4343
lat: 60.1,
@@ -68,7 +68,7 @@ a|
6868
[source]
6969
----
7070
(:Node {
71-
bbox: [15.2,60.1,15.2,60.1],
71+
bbox: [ 15.2, 60.1, 15.2, 60.1 ],
7272
gtype: 1,
7373
id: 1,
7474
lat: 60.1,
@@ -85,7 +85,7 @@ a|
8585
[source]
8686
----
8787
(:Node {
88-
bbox: [15.3,60.1,15.3,60.1],
88+
bbox: [ 15.3, 60.1, 15.3, 60.1 ],
8989
gtype: 1,
9090
id: 2,
9191
lat: 60.1,
@@ -124,7 +124,7 @@ a|
124124
[source]
125125
----
126126
(:Node {
127-
bbox: [15.3,60.1,15.3,60.1],
127+
bbox: [ 15.3, 60.1, 15.3, 60.1 ],
128128
gtype: 1,
129129
id: 2,
130130
lat: 60.1,

docs/docs/modules/ROOT/partials/generated/api/spatial/spatial.addPointLayerZOrder-examples.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ a|
4848
----
4949
(:SpatialIndex_zorder_my-simple-zorder-layer:Node {
5050
_spatialindex_zorder_my-simple-zorder-layer: 4771024,
51-
bbox: [15.2,60.1,15.2,60.1],
51+
bbox: [ 15.2, 60.1, 15.2, 60.1 ],
5252
gtype: 1,
5353
id: 42,
5454
latitude: 60.1,
@@ -81,7 +81,7 @@ a|
8181
----
8282
(:SpatialIndex_zorder_my-simple-zorder-layer:Node {
8383
_spatialindex_zorder_my-simple-zorder-layer: 4771024,
84-
bbox: [15.2,60.1,15.2,60.1],
84+
bbox: [ 15.2, 60.1, 15.2, 60.1 ],
8585
gtype: 1,
8686
id: 42,
8787
latitude: 60.1,

docs/docs/modules/ROOT/partials/generated/api/spatial/spatial.addWKT-examples.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ a|
1919
[source]
2020
----
2121
( {
22-
bbox: [15.2,60.1,15.3,60.1],
22+
bbox: [ 15.2, 60.1, 15.3, 60.1 ],
2323
gtype: 2,
2424
wkt: "LINESTRING (15.2 60.1, 15.3 60.1)"
2525
})
@@ -41,7 +41,7 @@ a|
4141
[source]
4242
----
4343
( {
44-
bbox: [15.2,60.1,15.3,60.1],
44+
bbox: [ 15.2, 60.1, 15.3, 60.1 ],
4545
gtype: 2,
4646
wkt: "LINESTRING (15.2 60.1, 15.3 60.1)"
4747
})

docs/docs/modules/ROOT/partials/generated/api/spatial/spatial.addWKTLayer-examples.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ a|
1919
[source]
2020
----
2121
( {
22-
bbox: [15.2,60.1,15.3,60.1],
22+
bbox: [ 15.2, 60.1, 15.3, 60.1 ],
2323
gtype: 2,
2424
wkt: "LINESTRING (15.2 60.1, 15.3 60.1)"
2525
})
@@ -41,7 +41,7 @@ a|
4141
[source]
4242
----
4343
( {
44-
bbox: [15.2,60.1,15.3,60.1],
44+
bbox: [ 15.2, 60.1, 15.3, 60.1 ],
4545
gtype: 2,
4646
wkt: "LINESTRING (15.2 60.1, 15.3 60.1)"
4747
})

docs/docs/modules/ROOT/partials/generated/api/spatial/spatial.addWKTs-examples.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ CALL spatial.addLayer('geom','geohash','lon:lat')
77

88
[source,cypher]
99
----
10-
CALL spatial.addWKTs('geom',["POINT (15.2 60.1)","POINT (25.2 30.1)"])
10+
CALL spatial.addWKTs('geom',[ "POINT (15.2 60.1)", "POINT (25.2 30.1)" ])
1111
----
1212

1313
.Result
@@ -19,7 +19,7 @@ a|
1919
[source]
2020
----
2121
( {
22-
bbox: [15.2,60.1,15.2,60.1],
22+
bbox: [ 15.2, 60.1, 15.2, 60.1 ],
2323
gtype: 1,
2424
lat: 60.1,
2525
lon: 15.2
@@ -30,7 +30,7 @@ a|
3030
[source]
3131
----
3232
( {
33-
bbox: [25.2,30.1,25.2,30.1],
33+
bbox: [ 25.2, 30.1, 25.2, 30.1 ],
3434
gtype: 1,
3535
lat: 30.1,
3636
lon: 25.2
@@ -53,7 +53,7 @@ a|
5353
[source]
5454
----
5555
( {
56-
bbox: [15.2,60.1,15.2,60.1],
56+
bbox: [ 15.2, 60.1, 15.2, 60.1 ],
5757
gtype: 1,
5858
lat: 60.1,
5959
lon: 15.2

docs/docs/modules/ROOT/partials/generated/api/spatial/spatial.bbox-examples.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ a|
2929
[source]
3030
----
3131
(:Node {
32-
bbox: [15.2,60.1,15.2,60.1],
32+
bbox: [ 15.2, 60.1, 15.2, 60.1 ],
3333
gtype: 1,
3434
id: 1,
3535
latitude: 60.1,

0 commit comments

Comments
 (0)