Skip to content

Commit 50d367d

Browse files
committed
Fix warning
1 parent db33ba7 commit 50d367d

File tree

4 files changed

+20
-3
lines changed

4 files changed

+20
-3
lines changed

docs/make.jl

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,17 @@ makedocs(
55
sitename = "GeometricFlux",
66
format = Documenter.HTML(),
77
modules = [GeometricFlux],
8-
analytics = "",
98
pages = ["Home" => "index.md",
109
"Manual" =>
1110
["Convolutional Layers" => "manual/conv.md",
1211
"Pooling Layers" => "manual/pool.md",
13-
"Models" => "manual/models.md"]
12+
"Models" => "manual/models.md",
13+
"Linear Algebra" => "manual/linalg.md",
14+
"Utilities" => "manual/utils.md"]
1415
]
1516
)
1617

17-
deploydocs(repo = "github.com/yuehhua/GeometricFlux.jl.git")
18+
deploydocs(
19+
repo = "github.com/yuehhua/GeometricFlux.jl.git",
20+
push_preview = true
21+
)

docs/src/manual/linalg.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Linear Algebra
2+
3+
4+
```@docs
5+
degrees
6+
```

docs/src/manual/utils.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Utilities
2+
3+
```@docs
4+
save_div
5+
```

src/linalg.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ Degree of each vertex. Return a vector which contains the degree of each vertex
1212
1313
# Examples
1414
```jldoctest
15+
julia> using GeometricFlux
16+
1517
julia> m = [0 1 1; 1 0 0; 1 0 0];
1618
1719
julia> GeometricFlux.degrees(m)

0 commit comments

Comments
 (0)