@@ -12,6 +12,10 @@ using GNNLux
1212using Lux, GNNGraphs, GNNlib, Graphs
1313using DocumenterInterLinks
1414
15+ ENV [" DATADEPS_ALWAYS_ACCEPT" ] = true # for MLDatasets
16+
17+ DocMeta. setdocmeta! (GNNGraphs, :DocTestSetup , :(using GNNGraphs, MLUtils); recursive = true )
18+ DocMeta. setdocmeta! (GNNlib, :DocTestSetup , :(using GNNlib); recursive = true )
1519DocMeta. setdocmeta! (GNNLux, :DocTestSetup , :(using GNNLux); recursive = true )
1620
1721mathengine = MathJax3 (Dict (:loader => Dict (" load" => [" [tex]/require" , " [tex]/mathtools" ]),
@@ -37,7 +41,6 @@ cp(joinpath(@__DIR__, "../../GNNlib/docs/src"),
3741
3842makedocs (;
3943 modules = [GNNLux, GNNGraphs, GNNlib],
40- doctest = false , # TODO : enable doctest
4144 plugins = [interlinks],
4245 format = Documenter. HTML (; mathengine,
4346 prettyurls = get (ENV , " CI" , nothing ) == " true" ,
@@ -82,7 +85,7 @@ makedocs(;
8285 " Layers" => [
8386 " Basic layers" => " api/basic.md" ,
8487 " Convolutional layers" => " api/conv.md" ,
85- # "Pooling layers" => "api/pool.md",
88+ " Pooling layers" => " api/pool.md" ,
8689 " Temporal Convolutional layers" => " api/temporalconv.md" ,
8790 # "Hetero Convolutional layers" => "api/heteroconv.md",
8891 ]
0 commit comments