Skip to content

Commit 682b1b7

Browse files
add docs
1 parent 5f2141c commit 682b1b7

File tree

13 files changed

+156
-60
lines changed

13 files changed

+156
-60
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,3 @@ Some of its noticeable features are the following:
2424
## Usage
2525

2626
Usage examples can be found in the `examples/` folder.
27-
```

docs/make.jl

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,18 @@ DocMeta.setdocmeta!(GraphNeuralNetworks, :DocTestSetup, :(using GraphNeuralNetwo
66
makedocs(;
77
modules=[GraphNeuralNetworks],
88
sitename = "GraphNeuralNetworks.jl",
9-
pages=[
10-
"Home" => "index.md",
11-
"Developer Notes" => "dev.md",
12-
],
9+
pages = ["Home" => "index.md",
10+
"Graphs" => "graphs.md",
11+
"Message passing" => "messagepassing.md",
12+
"Building models" => "models.md",
13+
"API Reference" =>
14+
[
15+
"Graphs" => "api/graphs.md",
16+
"Convolutional Layers" => "api/conv.md",
17+
"Pooling Layers" => "api/pool.md",
18+
],
19+
"Developer Notes" => "dev.md",
20+
],
1321
)
1422

1523
deploydocs(repo="github.com/CarloLucibello/GraphNeuralNetworks.jl.git")

docs/src/api/conv.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Convolutional Layers
2+
3+
```@index
4+
Order = [:type, :function]
5+
Pages = ["api/conv.md"]
6+
```
7+
8+
```@autodocs
9+
Modules = [GraphNeuralNetworks]
10+
Pages = ["layers/conv.jl"]
11+
Private = false
12+
```

docs/src/api/graphs.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Graphs
2+
3+
```@index
4+
Order = [:type, :function]
5+
Pages = ["api/graphs.md"]
6+
```
7+
8+
```@autodocs
9+
Modules = [GraphNeuralNetworks]
10+
Pages = ["featuredgraph.jl"]
11+
Private = false
12+
```

docs/src/api/pool.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Pooling Layers
2+
3+
```@index
4+
Order = [:type, :function]
5+
Pages = ["api/pool.md"]
6+
```
7+
8+
```@autodocs
9+
Modules = [GraphNeuralNetworks]
10+
Pages = ["layers/pool.jl"]
11+
Private = false
12+
```

docs/src/graphs.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Graphs
2+

docs/src/index.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
1-
```@meta
2-
CurrentModule = GraphNeuralNetworks
3-
```
4-
51
# GraphNeuralNetworks
62

73
Documentation for [GraphNeuralNetworks](https://github.com/CarloLucibello/GraphNeuralNetworks.jl).
84

9-
```@index
10-
```
115

12-
```@autodocs
13-
Modules = [GraphNeuralNetworks]
14-
```
6+
## Getting Started
7+

docs/src/messagepassing.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Message Passing
2+

docs/src/models.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Models

src/featuredgraph.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ is preserved and shared.
2626
A `FeaturedGraph` is a LightGraphs' `AbstractGraph`, therefore any functionality
2727
from the LightGraphs' graph library can be used on it.
2828
29-
# Arguments
29+
## Arguments
3030
3131
- `g`: Some data representing the graph topology. Possible type are
3232
- An adjacency matrix
@@ -302,7 +302,7 @@ end
302302
303303
Normalized Laplacian matrix of graph `g`.
304304
305-
# Arguments
305+
## Arguments
306306
307307
- `fg`: A `FeaturedGraph`.
308308
- `T`: result element type.
@@ -332,7 +332,7 @@ end
332332
Scaled Laplacian matrix of graph `g`,
333333
defined as ``\hat{L} = \frac{2}{\lambda_{max}} L - I`` where ``L`` is the normalized Laplacian matrix.
334334
335-
# Arguments
335+
## Arguments
336336
337337
- `fg`: A `FeaturedGraph`.
338338
- `T`: result element type.

0 commit comments

Comments
 (0)