Skip to content

Commit

Permalink
reintroduce tutorials
Browse files Browse the repository at this point in the history
  • Loading branch information
CarloLucibello committed Jul 25, 2024
1 parent 6f7a64a commit 3c5b826
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 441 deletions.
11 changes: 5 additions & 6 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@ using Pluto, PlutoStaticHTML # for tutorials
using Documenter, DemoCards
using DocumenterInterLinks

#

# tutorials, tutorials_cb, tutorial_assets = makedemos("tutorials")
tutorials, tutorials_cb, tutorial_assets = makedemos("tutorials")
assets = []
# isnothing(tutorial_assets) || push!(assets, tutorial_assets)
isnothing(tutorial_assets) || push!(assets, tutorial_assets)

interlinks = InterLinks(
"NNlib" => "https://fluxml.ai/NNlib.jl/stable/",
Expand All @@ -27,14 +26,14 @@ makedocs(;
doctest = false,
clean = true,
plugins = [interlinks],
format = Documenter.HTML(; mathengine, prettyurls, assets = assets),
format = Documenter.HTML(; mathengine, prettyurls, assets = assets, size_threshold=nothing),
sitename = "GraphNeuralNetworks.jl",
pages = ["Home" => "index.md",
"Graphs" => ["gnngraph.md", "heterograph.md", "temporalgraph.md"],
"Message Passing" => "messagepassing.md",
"Model Building" => "models.md",
"Datasets" => "datasets.md",
# "Tutorials" => tutorials,
"Tutorials" => tutorials,
"API Reference" => [
"GNNGraph" => "api/gnngraph.md",
"Basic Layers" => "api/basic.md",
Expand All @@ -49,6 +48,6 @@ makedocs(;
"Summer Of Code" => "gsoc.md",
])

# tutorials_cb()
tutorials_cb()

deploydocs(repo = "github.com/CarloLucibello/GraphNeuralNetworks.jl.git")
211 changes: 0 additions & 211 deletions docs/pluto_output/temporal_graph_classification_pluto.md

This file was deleted.

224 changes: 0 additions & 224 deletions docs/pluto_output/traffic_prediction.md

This file was deleted.

18 changes: 18 additions & 0 deletions docs/src/dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,24 @@ pkg> activate .

pkg> dev ./GNNGraphs
```


For generating the documentation locally instead
```
cd docs
julia
```
```julia
(@v1.10) pkg> activate .
Activating project at `~/.julia/dev/GraphNeuralNetworks/docs`

(docs) pkg> dev ../ ../GNNGraphs/
Resolving package versions...
No Changes to `~/.julia/dev/GraphNeuralNetworks/docs/Project.toml`
No Changes to `~/.julia/dev/GraphNeuralNetworks/docs/Manifest.toml`

julia> include("make.jl")
```
## Benchmarking

You can benchmark the effect on performance of your commits using the script `perf/perf.jl`.
Expand Down
File renamed without changes.

0 comments on commit 3c5b826

Please sign in to comment.