Skip to content

Commit a4b9843

Browse files
committed
add toc to contribute
1 parent 1e09213 commit a4b9843

File tree

6 files changed

+15
-12
lines changed

6 files changed

+15
-12
lines changed

Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ gem "jekyll", "~> 4.3.3"
44

55
# This is the default theme for new Jekyll sites. You may change this to anything you like.
66
#gem "just-the-docs", github:"pmarsceill/just-the-docs"
7-
gem "just-the-docs", "~> 0.6.2"
7+
gem "just-the-docs", "~> 0.8.2"
88
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
99
# uncomment the line below. To upgrade, run `bundle update github-pages`.
1010
# gem "github-pages", group: :jekyll_plugins

_layouts/default.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@
5858
{% if collections_size > 1 %}
5959
<div class="nav-category">{{ collection_value.name }}</div>
6060
{% endif %}
61-
{% include nav.html pages=collection %}
61+
{% include components/nav.html pages=collection %}
6262
{% endif %}
6363
{% endfor %}
6464
{% else %}
65-
{% include nav.html pages=site.html_pages %}
65+
{% include components/nav.html pages=site.html_pages %}
6666
{% endif %}
6767
</nav>
6868
<footer class="site-footer">

tutorials/contribute/Contributing_to_EEGLAB.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
layout: default
33
title: Modify EEGLAB code
44
long_title: Modify EEGLAB code
5-
parent: How to contribute?
5+
parent: Contribute
66
grand_parent: Tutorials
7+
nav_order: 3
78
---
89
Contributing to the EEGLAB core code
910
========================
@@ -192,4 +193,4 @@ For expedited approval:
192193
- You can never add too much documentation. Make sure you document
193194
your changes clearly and thoroughly!
194195
- Issue pull request for single-function changes.
195-
- Avoid making large numbers of cosmetic changes (indentation, etc.). If there are too many changes, they take a long time to review and are often rejected.
196+
- Avoid making large numbers of cosmetic changes (indentation, etc.). If there are too many changes, they take a long time to review and are often rejected.

tutorials/contribute/design_plugin.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
layout: default
33
title: Create an EEGLAB plugin
44
long_title: Create an EEGLAB plugin
5-
parent: How to contribute?
5+
parent: Contribute
66
grand_parent: Tutorials
7+
nav_order: 1
78
---
89
Creating EEGLAB plugins and extension
910
========================

tutorials/contribute/index.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
layout: default
3-
title: How to contribute?
3+
title: Contribute
44
long_title: How to contribute to the EEGLAB project
55
parent: Tutorials
66
has_children: true
7-
has_toc: true
87
---
9-
Contribute to EEGLAB
10-
===
8+
# Contribute to EEGLAB
119

12-
The pages below detail how you can contribute to EEGLAB
10+
<p>The pages below detail how you can contribute to EEGLAB</p>
11+
{%- assign children_list = site.pages | where: "parent", page.title -%}
12+
{% include toc_nav_recursive.html nav=children_list %}

tutorials/contribute/philosophy.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
layout: default
33
title: EEGLAB dev philosophy
44
long_title: EEGLAB dev philosophy
5-
parent: How to contribute?
5+
parent: Contribute
66
grand_parent: Tutorials
7+
nav_order: 2
78
---
89
EEGLAB development philosophy
910
========================

0 commit comments

Comments
 (0)