Skip to content

Commit 77bc14a

Browse files
gnngraphs
1 parent 70f7d83 commit 77bc14a

File tree

2 files changed

+44
-22
lines changed

2 files changed

+44
-22
lines changed

GNNGraphs/docs/Project.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@ DocumenterInterLinks = "d12716ef-a0f6-4df4-a9f1-a5a34e75c656"
44
GNNGraphs = "aed8fd31-079b-4b5a-b342-a13352159b8c"
55
Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6"
66
LiveServer = "16fef848-5104-11e9-1b77-fb7a48bbb589"
7+
MLDatasets = "eb30cadb-4394-5ae3-aed4-317e484a6458"
8+
MLUtils = "f1d291b0-491e-4a28-83b9-f70985020b54"
9+
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"

GNNGraphs/docs/make.jl

Lines changed: 41 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,48 @@ using GNNGraphs
44
import Graphs
55
using Graphs: induced_subgraph
66

7-
assets=[]
8-
prettyurls = get(ENV, "CI", nothing) == "true"
9-
mathengine = MathJax3()
107

8+
DocMeta.setdocmeta!(GNNGraphs, :DocTestSetup, :(using GNNGraphs, MLUtils); recursive = true)
9+
10+
mathengine = MathJax3(Dict(:loader => Dict("load" => ["[tex]/require", "[tex]/mathtools"]),
11+
:tex => Dict("inlineMath" => [["\$", "\$"], ["\\(", "\\)"]],
12+
"packages" => [
13+
"base",
14+
"ams",
15+
"autoload",
16+
"mathtools",
17+
"require"
18+
])))
1119

1220
makedocs(;
13-
modules = [GNNGraphs],
14-
doctest = false,
15-
clean = true,
16-
format = Documenter.HTML(; mathengine, prettyurls, assets = assets, size_threshold=nothing),
17-
sitename = "GNNGraphs.jl",
18-
pages = ["Home" => "index.md",
19-
"Guides" => [
20-
"Graphs" => ["guides/gnngraph.md", "guides/heterograph.md", "guides/temporalgraph.md"],
21-
"Datasets" => "guides/datasets.md",
22-
],
23-
"API Reference" => [
24-
"GNNGraph" => "api/gnngraph.md",
25-
"GNNHeteroGraph" => "api/heterograph.md",
26-
"TemporalSnapshotsGNNGraph" => "api/temporalgraph.md",
27-
"Samplers" => "api/samplers.md",
28-
],
29-
]
30-
)
21+
modules = [GNNGraphs],
22+
doctest = false, # TODO enable doctest
23+
format = Documenter.HTML(; mathengine,
24+
prettyurls = get(ENV, "CI", nothing) == "true",
25+
assets = [],
26+
size_threshold=nothing,
27+
size_threshold_warn=200000),sitename = "GNNGraphs.jl",
28+
pages = [
29+
"Home" => "index.md",
30+
31+
"Guides" => [
32+
"Graphs" => [
33+
"guides/gnngraph.md",
34+
"guides/heterograph.md",
35+
"guides/temporalgraph.md"
36+
],
37+
"Datasets" => "guides/datasets.md",
38+
],
39+
40+
"API Reference" => [
41+
"GNNGraph" => "api/gnngraph.md",
42+
"GNNHeteroGraph" => "api/heterograph.md",
43+
"TemporalSnapshotsGNNGraph" => "api/temporalgraph.md",
44+
"Samplers" => "api/samplers.md",
45+
],
46+
]
47+
)
3148

32-
deploydocs(;repo = "github.com/JuliaGraphs/GraphNeuralNetworks.jl.git", devbranch = "master", dirname = "GNNGraphs")
49+
deploydocs(repo = "github.com/JuliaGraphs/GraphNeuralNetworks.jl.git",
50+
devbranch = "master",
51+
dirname = "GNNGraphs")

0 commit comments

Comments
 (0)