@@ -4,29 +4,48 @@ using GNNGraphs
44import  Graphs
55using  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
1220makedocs (;
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" =  " master" =  " GNNGraphs" 
49+ deploydocs (repo =  " github.com/JuliaGraphs/GraphNeuralNetworks.jl.git" 
50+          devbranch =  " master" 
51+          dirname =  " GNNGraphs" 
0 commit comments