Skip to content

Commit

Permalink
add toc to contribute
Browse files Browse the repository at this point in the history
  • Loading branch information
dungscout96 committed May 6, 2024
1 parent 1e09213 commit a4b9843
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@
{% if collections_size > 1 %}
<div class="nav-category">{{ collection_value.name }}</div>
{% 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 %}
</nav>
<footer class="site-footer">
Expand Down
5 changes: 3 additions & 2 deletions tutorials/contribute/Contributing_to_EEGLAB.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
layout: default
title: Modify EEGLAB code
long_title: Modify EEGLAB code
parent: How to contribute?
parent: Contribute
grand_parent: Tutorials
nav_order: 3
---
Contributing to the EEGLAB core code
========================
Expand Down Expand Up @@ -192,4 +193,4 @@ For expedited approval:
- You can never add too much documentation. Make sure you document
your changes clearly and thoroughly!
- Issue pull request for single-function changes.
- 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.
- 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.
3 changes: 2 additions & 1 deletion tutorials/contribute/design_plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
layout: default
title: Create an EEGLAB plugin
long_title: Create an EEGLAB plugin
parent: How to contribute?
parent: Contribute
grand_parent: Tutorials
nav_order: 1
---
Creating EEGLAB plugins and extension
========================
Expand Down
10 changes: 5 additions & 5 deletions tutorials/contribute/index.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
layout: default
title: How to contribute?
title: Contribute
long_title: How to contribute to the EEGLAB project
parent: Tutorials
has_children: true
has_toc: true
---
Contribute to EEGLAB
===
# Contribute to EEGLAB

The pages below detail how you can contribute to EEGLAB
<p>The pages below detail how you can contribute to EEGLAB</p>
{%- assign children_list = site.pages | where: "parent", page.title -%}
{% include toc_nav_recursive.html nav=children_list %}
3 changes: 2 additions & 1 deletion tutorials/contribute/philosophy.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
layout: default
title: EEGLAB dev philosophy
long_title: EEGLAB dev philosophy
parent: How to contribute?
parent: Contribute
grand_parent: Tutorials
nav_order: 2
---
EEGLAB development philosophy
========================
Expand Down

0 comments on commit a4b9843

Please sign in to comment.