diff --git a/GraphNeuralNetworks/docs/Project.toml b/GraphNeuralNetworks/docs/Project.toml index ae13fe2db..f317ed97f 100644 --- a/GraphNeuralNetworks/docs/Project.toml +++ b/GraphNeuralNetworks/docs/Project.toml @@ -1,12 +1,21 @@ [deps] +CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba" +CairoMakie = "13f3f980-e62b-5c42-98c6-ff1f3baf88f0" Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" DocumenterInterLinks = "d12716ef-a0f6-4df4-a9f1-a5a34e75c656" Flux = "587475ba-b771-5e3f-ad9e-33799f191a9c" GNNGraphs = "aed8fd31-079b-4b5a-b342-a13352159b8c" GNNlib = "a6a84749-d869-43f8-aacc-be26a1996e48" +GraphMakie = "1ecd5474-83a3-4783-bb4f-06765db800d2" GraphNeuralNetworks = "cffab07f-9bc2-4db1-8861-388f63bf7694" Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6" LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" +MLDatasets = "eb30cadb-4394-5ae3-aed4-317e484a6458" +Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80" +PlutoStaticHTML = "359b1769-a58e-495b-9770-312e911026ad" +PlutoUI = "7f904dfe-b85e-4ff6-b463-dae2292396a8" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" +TSne = "24678dba-d5e9-5843-a4c6-250288b04835" +cuDNN = "02a925ec-e4fe-4b08-9a7e-0d78e3d38ccd" diff --git a/GraphNeuralNetworks/docs/make_tutorials.jl b/GraphNeuralNetworks/docs/make_tutorials.jl index f87f5c14c..5091a696f 100644 --- a/GraphNeuralNetworks/docs/make_tutorials.jl +++ b/GraphNeuralNetworks/docs/make_tutorials.jl @@ -1 +1,35 @@ -# TODO \ No newline at end of file +using PlutoStaticHTML + +function move_tutorials(source, dest) + files = readdir(source) + + for file in files + if endswith(file, ".md") + mv(joinpath(source, file), joinpath(dest, file); force = true) + end + end +end + +# Build intro tutorials +bopt = BuildOptions("src_tutorials/introductory_tutorials"; + output_format = documenter_output, use_distributed = false) + +build_notebooks(bopt, + ["gnn_intro_pluto.jl", "node_classification_pluto.jl", "graph_classification_pluto.jl"], + OutputOptions() +) + +move_tutorials("src_tutorials/introductory_tutorials/", "src/tutorials/") + +# Build temporal tutorials +bopt_temp = BuildOptions("src_tutorials/temporalconv_tutorials/"; + output_format = documenter_output, use_distributed = false) + +build_notebooks( + BuildOptions(bopt_temp; + output_format = documenter_output), + ["temporal_graph_classification_pluto.jl", "traffic_prediction.jl"], + OutputOptions() +) + +move_tutorials("src_tutorials/temporalconv_tutorials/", "src/tutorials/") \ No newline at end of file