-
Notifications
You must be signed in to change notification settings - Fork 326
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding sphinx sidebars functionality
- Loading branch information
Showing
11 changed files
with
66 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div class="sidebar-message"> | ||
This is a community-supported theme. | ||
If you'd like to contribute, | ||
<a href="https://github.com/pandas-dev/pydata-sphinx-theme">check out our GitHub repository</a> | ||
Your contributions are welcome! | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<nav class="bd-links" id="bd-docs-nav" aria-label="Main navigation"> | ||
|
||
<div class="bd-toc-item active"> | ||
{% set nav = get_nav_object(maxdepth=3, collapse=True) %} | ||
|
||
<ul class="nav bd-sidenav"> | ||
{% for main_nav_item in nav %} | ||
{% if main_nav_item.active %} | ||
{% for nav_item in main_nav_item.children %} | ||
{% if nav_item.children %} | ||
|
||
<li class="{% if nav_item.active%}active{% endif %}"> | ||
<a href="{{ nav_item.url }}">{{ nav_item.title }}</a> | ||
<ul> | ||
{% for nav_item in nav_item.children %} | ||
<li class="{% if nav_item.active%}active{% endif %}"> | ||
<a href="{{ nav_item.url }}">{{ nav_item.title }}</a> | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
</li> | ||
{% else %} | ||
<li class="{% if nav_item.active%}active{% endif %}"> | ||
<a href="{{ nav_item.url }}">{{ nav_item.title }}</a> | ||
</li> | ||
{% endif %} | ||
{% endfor %} | ||
{% endif %} | ||
{% endfor %} | ||
</ul> | ||
|
||
</nav> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{% if theme_search_bar_position == "sidebar" %} | ||
{%- include "search-field.html" %} | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +0,0 @@ | ||
|
||
|
||
{% if theme_search_bar_position == "sidebar" %} | ||
{%- include "search-field.html" %} | ||
{% endif %} | ||
|
||
<nav class="bd-links" id="bd-docs-nav" aria-label="Main navigation"> | ||
|
||
<div class="bd-toc-item active"> | ||
{% set nav = get_nav_object(maxdepth=3, collapse=True) %} | ||
|
||
<ul class="nav bd-sidenav"> | ||
{% for main_nav_item in nav %} | ||
{% if main_nav_item.active %} | ||
{% for nav_item in main_nav_item.children %} | ||
{% if nav_item.children %} | ||
|
||
<li class="{% if nav_item.active%}active{% endif %}"> | ||
<a href="{{ nav_item.url }}">{{ nav_item.title }}</a> | ||
<ul> | ||
{% for nav_item in nav_item.children %} | ||
<li class="{% if nav_item.active%}active{% endif %}"> | ||
<a href="{{ nav_item.url }}">{{ nav_item.title }}</a> | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
</li> | ||
{% else %} | ||
<li class="{% if nav_item.active%}active{% endif %}"> | ||
<a href="{{ nav_item.url }}">{{ nav_item.title }}</a> | ||
</li> | ||
{% endif %} | ||
{% endfor %} | ||
{% endif %} | ||
{% endfor %} | ||
</ul> | ||
|
||
</nav> | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters