Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
python-poetry
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
python-poetry
Commits
702e0601
Unverified
Commit
702e0601
authored
Sep 08, 2018
by
Sébastien Eustace
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix documentation template
parent
8bd83dda
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
docs/theme/nav.html
+4
-4
docs/theme/toc.html
+5
-5
No files found.
docs/theme/nav.html
View file @
702e0601
{%- if nav_item.url %}
{%- if nav_item.url %}
<a
class=
"{% if nav_item.active%}current{%endif%}"
href=
"
{{ nav_item.url }}"
>
{{ nav_item.title }}
</a>
<a
class=
"{% if nav_item.active%}current{%endif%}"
href=
"{{ base_url }}/
{{ nav_item.url }}"
>
{{ nav_item.title }}
</a>
{%- else %}
{%- else %}
<span
class=
"caption-text"
>
{{ nav_item.title }}
</span>
<span
class=
"caption-text"
>
{{ nav_item.title }}
</span>
{%- endif %}
{%- endif %}
{%- if nav_item == page or nav_item.children %}
{%- if nav_item == page or nav_item.children %}
<ul
class=
"subnav"
>
<ul
class=
"subnav"
>
{%- if nav_item == page %}
{%- if nav_item == page %}
{% include 'toc.html' %}
{% include 'toc.html' %}
{%- endif %}
{%- endif %}
...
@@ -18,5 +18,5 @@
...
@@ -18,5 +18,5 @@
{%- endfor %}
{%- endfor %}
{%- set navlevel = navlevel - 1%}
{%- set navlevel = navlevel - 1%}
{%- endif %}
{%- endif %}
</ul>
</ul>
{%- endif %}
{%- endif %}
docs/theme/toc.html
View file @
702e0601
{% for toc_item in page.toc %}
{% for toc_item in page.toc %}
<!--<li class="toctree-l{{ navlevel + 1 }}"><a href="{{ toc_item.url }}">{{ toc_item.title }}</a></li>-->
<!--<li class="toctree-l{{ navlevel + 1 }}"><a href="{{ toc_item.url }}">{{ toc_item.title }}</a></li>-->
{% if toc_item.children %}
{% if toc_item.children %}
<ul>
<ul>
{% for toc_item in toc_item.children %}
{% for toc_item in toc_item.children %}
<li><a
class=
"toctree-l{{ navlevel + 2 }}"
href=
"{{ toc_item.url }}"
>
{{ toc_item.title }}
</a></li>
<li><a
class=
"toctree-l{{ navlevel + 2 }}"
href=
"{{ toc_item.url }}"
>
{{ toc_item.title }}
</a></li>
{% endfor %}
{% endfor %}
</ul>
</ul>
{% endif %}
{% endif %}
{% endfor %}
{% endfor %}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment