From a6318d625c217b626903004c16814097b5e1f00e Mon Sep 17 00:00:00 2001 From: Guillaume Dalle <22795598+gdalle@users.noreply.github.com> Date: Wed, 22 Feb 2023 09:13:53 +0100 Subject: [PATCH] Fix docs build error --- .gitignore | 2 +- docs/make.jl | 1 + docs/src/tutorial/.gitkeep | 0 src/weights.jl | 4 ++-- 4 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 docs/src/tutorial/.gitkeep diff --git a/.gitignore b/.gitignore index 7174249..7535d44 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ /Manifest.toml docs/build/ .vscode/settings.json -docs/src/tutorial \ No newline at end of file +docs/src/tutorial/*.md \ No newline at end of file diff --git a/docs/make.jl b/docs/make.jl index a429aca..6ea3d0b 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -1,4 +1,5 @@ using Documenter +using Graphs using Literate using MetaGraphsNext diff --git a/docs/src/tutorial/.gitkeep b/docs/src/tutorial/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/src/weights.jl b/src/weights.jl index ccac7ce..d0a01c5 100644 --- a/src/weights.jl +++ b/src/weights.jl @@ -18,9 +18,9 @@ function MetaWeights(meta_graph::MetaGraph) end """ - weigths(meta_graph) + weights(meta_graph) -Return a matrix-like `MetaWeights` object containing the edge weights for meta_graph `meta_graph`. +Return a matrix-like `MetaWeights` object containing the edge weights for metagraph `meta_graph`. """ Graphs.weights(meta_graph::MetaGraph) = MetaWeights(meta_graph)