From a4b984341452fc1268fc4f4ec2cd91f35bae297f Mon Sep 17 00:00:00 2001
From: Dung Truong
Date: Mon, 6 May 2024 10:16:12 -0400
Subject: [PATCH] add toc to contribute
---
Gemfile | 2 +-
_layouts/default.html | 4 ++--
tutorials/contribute/Contributing_to_EEGLAB.md | 5 +++--
tutorials/contribute/design_plugin.md | 3 ++-
tutorials/contribute/index.md | 10 +++++-----
tutorials/contribute/philosophy.md | 3 ++-
6 files changed, 15 insertions(+), 12 deletions(-)
diff --git a/Gemfile b/Gemfile
index 26aac534..df9cbac8 100644
--- a/Gemfile
+++ b/Gemfile
@@ -4,7 +4,7 @@ gem "jekyll", "~> 4.3.3"
# This is the default theme for new Jekyll sites. You may change this to anything you like.
#gem "just-the-docs", github:"pmarsceill/just-the-docs"
-gem "just-the-docs", "~> 0.6.2"
+gem "just-the-docs", "~> 0.8.2"
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
# gem "github-pages", group: :jekyll_plugins
diff --git a/_layouts/default.html b/_layouts/default.html
index e21b41e4..13446740 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -58,11 +58,11 @@
{% if collections_size > 1 %}
{{ collection_value.name }}
{% endif %}
- {% include nav.html pages=collection %}
+ {% include components/nav.html pages=collection %}
{% endif %}
{% endfor %}
{% else %}
- {% include nav.html pages=site.html_pages %}
+ {% include components/nav.html pages=site.html_pages %}
{% endif %}