Skip to content

Commit f8b21ab

Browse files
author
Dylan Storey
committed
fix: correct documentation errors found during audit
- Update Rust crate version from 0.2 to 0.3 in installation.md and rust-api.md - Fix community_detection parameter name from max_iterations to iterations in graph-analytics.md
1 parent c660f48 commit f8b21ab

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/src/how-to/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Add to your `Cargo.toml`:
1717

1818
```toml
1919
[dependencies]
20-
graphqlite = "0.2"
20+
graphqlite = "0.3"
2121
```
2222

2323
## From Source

docs/src/reference/rust-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Add to your `Cargo.toml`:
66

77
```toml
88
[dependencies]
9-
graphqlite = "0.2"
9+
graphqlite = "0.3"
1010
```
1111

1212
## Connection

docs/src/tutorials/graph-analytics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ results = g.query("RETURN betweennessCentrality()")
8484
Find clusters of densely connected nodes:
8585

8686
```python
87-
results = g.community_detection(max_iterations=10)
87+
results = g.community_detection(iterations=10)
8888
communities = {}
8989
for r in results:
9090
label = r["community"]

0 commit comments

Comments
 (0)