Skip to content

Commit

Permalink
Revise Contributing and Functions Documentation (#242)
Browse files Browse the repository at this point in the history
Edits the documentation for capitalization, grammar, content and
other imrprovements.
  • Loading branch information
dehowef authored Dec 21, 2023
1 parent 739ac21 commit 5cf7cea
Show file tree
Hide file tree
Showing 10 changed files with 58 additions and 53 deletions.
2 changes: 1 addition & 1 deletion docs/contributing/run_tests.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Run the test suite

The configuration for running the tests is included in `Makefile`. Only running the tests against an existing installation is supported:
The configuration for running the tests is included in `Makefile`. The tests will be run against an existing installation:

```console
make -j$(nproc)
Expand Down
14 changes: 7 additions & 7 deletions docs/functions/aggregate_functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ Returns:


```
An agtype Float.
An agtype float.
```


Expand Down Expand Up @@ -314,7 +314,7 @@ Returns:


```
An agtype Float.
An agtype float.
```


Expand Down Expand Up @@ -388,7 +388,7 @@ Returns:


```
An agtype Float.
An agtype float.
```


Expand Down Expand Up @@ -468,7 +468,7 @@ Returns:


```
An agtype Float.
An agtype float.
```


Expand Down Expand Up @@ -553,7 +553,7 @@ Returns:


```
An agtype Integer.
An agtype integer.
```


Expand Down Expand Up @@ -777,7 +777,7 @@ Returns:


```
An agtype Integer
An agtype integer
```


Expand Down Expand Up @@ -851,7 +851,7 @@ Returns:


```
An agtype Float
An agtype float
```


Expand Down
16 changes: 8 additions & 8 deletions docs/functions/list_functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ $$) as (result agtype);

## keys

keys returns a list containing the string representations for all the property names of a vertex, edge, or map.
`keys()` returns a list containing the string representations for all the property names of a vertex, edge, or map.

Syntax: `keys(expression)`

Returns:
```
An Agtype list containing string agtype elements
An agtype list containing string agtype elements
```

Arguments:
Expand Down Expand Up @@ -83,7 +83,7 @@ Syntax: `range(start, end [, step])`

Returns:
```
An Agtype list containing integer elements
An agtype list containing integer elements
```

Arguments:
Expand Down Expand Up @@ -150,7 +150,7 @@ Syntax: `labels(vertex)`

Returns:
```
An Agtype list containing String elements
An agtype list containing string elements
```

Arguments:
Expand Down Expand Up @@ -208,7 +208,7 @@ Syntax: `nodes(path)`

Returns:
```
An Agtype list containing vertex entities
An agtype list containing vertex entities
```

Arguments:
Expand All @@ -222,7 +222,7 @@ Arguments:
<tr>
<td>path
</td>
<td>An expression that returns an Agtype path.
<td>An expression that returns an agtype path.
</td>
</tr>
</table>
Expand Down Expand Up @@ -266,7 +266,7 @@ Syntax: `relationships(path)`

Returns:
```
An Agtype list containing edge entities
An agtype list containing edge entities
```

Arguments:
Expand All @@ -280,7 +280,7 @@ Arguments:
<tr>
<td>path
</td>
<td>An expression that returns an Agtype path.
<td>An expression that returns an agtype path.
</td>
</tr>
</table>
Expand Down
6 changes: 3 additions & 3 deletions docs/functions/logarithmic_functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ Returns:


```
An agtype Float.
An agtype float.
```


Expand Down Expand Up @@ -173,7 +173,7 @@ Returns:


```
An agtype Float.
An agtype float.
```


Expand Down Expand Up @@ -246,7 +246,7 @@ Returns:


```
An agtype Float.
An agtype float.
```


Expand Down
2 changes: 1 addition & 1 deletion docs/functions/map_functions.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Map Functions

In AGE, a map is a data structure that allows you to store a collection of key-value pairs. Each key within a map is unique, and it is associated with a corresponding value.
In AGE, a map is a data structure that allows you to store a collection of key-value pairs. Each key within a map is unique, and is associated with a corresponding value.
This data structure is similar to dictionaries in Python or objects in JavaScript, providing an efficient way to organize and retrieve data based on keys.
This section focuses on explaining various functions that allow you to generate and manipulate maps effectively.

Expand Down
8 changes: 4 additions & 4 deletions docs/functions/numeric_functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Returns:


```
A Float.
A float.
```


Expand Down Expand Up @@ -140,7 +140,7 @@ Returns:


```
A Float.
A float.
```


Expand Down Expand Up @@ -212,7 +212,7 @@ Returns:


```
A Float.
A float.
```


Expand Down Expand Up @@ -286,7 +286,7 @@ Returns:


```
A Float.
A float.
```


Expand Down
19 changes: 12 additions & 7 deletions docs/functions/scalar_functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ Returns:


```
An agtype Map.
An agtype map.
```


Expand Down Expand Up @@ -542,7 +542,7 @@ Returns:


```
An agtype Integer.
An agtype integer.
```


Expand Down Expand Up @@ -620,7 +620,7 @@ Returns:


```
An agtype Integer.
An agtype integer.
```


Expand Down Expand Up @@ -842,7 +842,7 @@ Returns:


```
An Agtype Integer.
An agtype integer.
```


Expand Down Expand Up @@ -895,7 +895,7 @@ Returns:


```
An agtype Boolean.
An agtype boolean.
```


Expand Down Expand Up @@ -967,7 +967,12 @@ Result:

Syntax: `toFloat(expression)`

Returns:A Float.
Returns:


```
A float.
```


<table>
Expand Down Expand Up @@ -1039,7 +1044,7 @@ Returns:


```
An agtype Integer.
An agtype integer.
```


Expand Down
22 changes: 11 additions & 11 deletions docs/functions/string_functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Returns:


```
An agtype String.
An agtype string.
```


Expand Down Expand Up @@ -177,7 +177,7 @@ Returns:


```
An agtype String.
An agtype string.
```


Expand Down Expand Up @@ -256,7 +256,7 @@ Returns:


```
An agtype String.
An agtype string.
```


Expand Down Expand Up @@ -335,7 +335,7 @@ Returns:


```
An agtype String.
An agtype string.
```


Expand Down Expand Up @@ -426,7 +426,7 @@ Returns:


```
An agtype String.
An agtype string.
```


Expand Down Expand Up @@ -496,7 +496,7 @@ Returns:


```
An agtype String.
An agtype string.
```


Expand Down Expand Up @@ -566,7 +566,7 @@ Returns:


```
An agtype String.
An agtype string.
```


Expand Down Expand Up @@ -636,7 +636,7 @@ Returns:


```
An agtype String.
An agtype string.
```


Expand Down Expand Up @@ -706,7 +706,7 @@ Returns:


```
An agtype String.
An agtype string.
```


Expand Down Expand Up @@ -776,7 +776,7 @@ Returns:


```
An agtype String.
An agtype string.
```


Expand Down Expand Up @@ -846,7 +846,7 @@ Returns:


```
A String.
A string.
```


Expand Down
Loading

0 comments on commit 5cf7cea

Please sign in to comment.