1+ using  Pkg
2+ Pkg. activate (@__DIR__ )
3+ Pkg. develop (path= joinpath (@__DIR__ , " .." " .." " GNNGraphs" 
4+ Pkg. develop (path= joinpath (@__DIR__ , " .." " .." " GNNlib" 
5+ Pkg. develop (path= joinpath (@__DIR__ , " .." 
6+ Pkg. instantiate ()
7+ 
18using  Documenter
29using  GNNLux
310using  Lux, GNNGraphs, GNNlib, Graphs
@@ -18,9 +25,7 @@ mathengine = MathJax3(Dict(:loader => Dict("load" => ["[tex]/require", "[tex]/ma
1825
1926interlinks =  InterLinks (
2027    " NNlib" =>  " https://fluxml.ai/NNlib.jl/stable/" 
21-     #  "GNNGraphs" => ("https://carlolucibello.github.io/GraphNeuralNetworks.jl/GNNGraphs/",  joinpath(dirname(dirname(@__DIR__)), "GNNGraphs", "docs", "build", "objects.inv")),
22-     #  "GNNlib" => ("https://carlolucibello.github.io/GraphNeuralNetworks.jl/GNNlib/",  joinpath(dirname(dirname(@__DIR__)), "GNNlib", "docs", "build", "objects.inv"))
23-    )
28+ )
2429
2530#  Copy the docs from GNNGraphs and GNNlib. Will be removed at the end of the script
2631cp (joinpath (@__DIR__ , " ../../GNNGraphs/docs/src" 
@@ -29,64 +34,66 @@ cp(joinpath(@__DIR__, "../../GNNlib/docs/src"),
2934   joinpath (@__DIR__ , " src/GNNlib" = true )
3035
3136makedocs (;
32-          modules =  [GNNLux, GNNGraphs, GNNlib],
33-          doctest =  false , #  TODO : enable doctest
34-          plugins =  [interlinks],
35-          format =  Documenter. HTML (; mathengine, 
36-                             prettyurls =  get (ENV , " CI" nothing ) ==  " true" 
37-                             assets =  [],
38-                             size_threshold= nothing , 
39-                             size_threshold_warn= 2000000 ),
40-          sitename =  " GNNLux.jl" 
41-          pages =  [
37+     modules =  [GNNLux, GNNGraphs, GNNlib],
38+     doctest =  false , #  TODO : enable doctest
39+     plugins =  [interlinks],
40+     format =  Documenter. HTML (; mathengine, 
41+                     prettyurls =  get (ENV , " CI" nothing ) ==  " true" 
42+                     assets =  [],
43+                     size_threshold= nothing , 
44+                     size_threshold_warn= 2000000 ),
45+     sitename =  " GNNLux.jl" 
46+     pages =  [
47+     
48+         " Home" =>  " index.md" 
4249
43-          " Home" =>  " index.md" 
44-         
45-     " Guides" =>  [
46-         " Graphs" =>  " GNNGraphs/guides/gnngraph.md" 
47-         " Message Passing" =>  " GNNlib/guides/messagepassing.md" 
48-         " Models" =>  " guides/models.md" 
49-         " Datasets" =>  " GNNGraphs/guides/datasets.md" 
50-         " Heterogeneous Graphs" =>  " GNNGraphs/guides/heterograph.md" 
51-         " Temporal Graphs" =>  " GNNGraphs/guides/temporalgraph.md" 
52-     ],
50+         " Guides" =>  [
51+             " Graphs" =>  " GNNGraphs/guides/gnngraph.md" 
52+             " Message Passing" =>  " GNNlib/guides/messagepassing.md" 
53+             " Models" =>  " guides/models.md" 
54+             " Datasets" =>  " GNNGraphs/guides/datasets.md" 
55+             " Heterogeneous Graphs" =>  " GNNGraphs/guides/heterograph.md" 
56+             " Temporal Graphs" =>  " GNNGraphs/guides/temporalgraph.md" 
57+         ],
5358
54-     " Tutorials" =>  [
55-         " Introductory tutorials" =>  [
56-             " Hands on" =>  " tutorials/gnn_intro.md" 
59+         " Tutorials" =>  [
60+             " Introductory tutorials" =>  [
61+                 " Hands on" =>  " tutorials/gnn_intro.md" 
62+                 ],
5763            ],
58-         ],
5964
60-     " API Reference" =>  [
61-         " Graphs (GNNGraphs.jl)" =>  [
62-             " GNNGraph" =>  " GNNGraphs/api/gnngraph.md" 
63-             " GNNHeteroGraph" =>  " GNNGraphs/api/heterograph.md" 
64-             " TemporalSnapshotsGNNGraph" =>  " GNNGraphs/api/temporalgraph.md" 
65-             " Samplers" =>  " GNNGraphs/api/samplers.md" 
66-         ]
65+          " API Reference" =>  [
66+              " Graphs (GNNGraphs.jl)" =>  [
67+                  " GNNGraph" =>  " GNNGraphs/api/gnngraph.md" 
68+                  " GNNHeteroGraph" =>  " GNNGraphs/api/heterograph.md" 
69+                  " TemporalSnapshotsGNNGraph" =>  " GNNGraphs/api/temporalgraph.md" 
70+                  " Samplers" =>  " GNNGraphs/api/samplers.md" 
71+              ]
6772
68-         " Message Passing (GNNlib.jl)" =>  [
69-             " Message Passing" =>  " GNNlib/api/messagepassing.md" 
70-             " Other Operators" =>  " GNNlib/api/utils.md" 
71-         ]
73+              " Message Passing (GNNlib.jl)" =>  [
74+                  " Message Passing" =>  " GNNlib/api/messagepassing.md" 
75+                  " Other Operators" =>  " GNNlib/api/utils.md" 
76+              ]
7277
73-         " Layers" =>  [
74-             " Basic layers" =>  " api/basic.md" 
75-             " Convolutional layers" =>  " api/conv.md" 
76-             #  "Pooling layers" => "api/pool.md",
77-             " Temporal Convolutional layers" =>  " api/temporalconv.md" 
78-             #  "Hetero Convolutional layers" => "api/heteroconv.md",
79-         ]
80-     ],
81-     
82-     #  "Developer guide" => "dev.md",
78+              " Layers" =>  [
79+                  " Basic layers" =>  " api/basic.md" 
80+                  " Convolutional layers" =>  " api/conv.md" 
81+                  #  "Pooling layers" => "api/pool.md",
82+                  " Temporal Convolutional layers" =>  " api/temporalconv.md" 
83+                  #  "Hetero Convolutional layers" => "api/heteroconv.md",
84+              ]
85+          ],
86+          
87+          #  "Developer guide" => "dev.md",
8388    ],
8489)
8590
8691rm (joinpath (@__DIR__ , " src/GNNGraphs" = true , recursive= true )
8792rm (joinpath (@__DIR__ , " src/GNNlib" = true , recursive= true )
88-          
89- deploydocs (repo =  " github.com/JuliaGraphs/GraphNeuralNetworks.jl.git" 
90-         devbranch =  " master" 
91-         dirname =  " GNNLux" 
92-         tag_prefix= " GNNLux-" 
93+ 
94+ deploydocs (
95+     repo =  " github.com/JuliaGraphs/GraphNeuralNetworks.jl" 
96+     branch =  " docs-gnnlux" 
97+     devbranch =  " master" 
98+     tag_prefix= " GNNLux-" 
99+ )
0 commit comments