-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DOC: [FEATURE] Improve documentation generally
- use piccolo theme - add ndk fpga logo - improve deprecation warnings - improve welcome page to make user more interested
- Loading branch information
1 parent
119e2d1
commit ddccb0e
Showing
13 changed files
with
288 additions
and
75 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
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,115 @@ | ||
{% extends "basic/layout.html" %} {%- block body_tag %} | ||
<body | ||
data-dark_mode_code_blocks="{{ 'true' if theme_dark_mode_code_blocks else 'false' }}" | ||
> | ||
{% endblock %} {%- block header %} | ||
|
||
<div id="top_nav"> | ||
{% if theme_banner_text and theme_banner_text != 'false' %} {% include | ||
"./components/notification_banner.html" %} {% endif %} | ||
|
||
<nav> | ||
{% if logo_url %} {% set nav_title = '<img | ||
src="' + logo_url + '" | ||
/>' %} {% else %} {% set nav_title = shorttitle %} {% endif %} | ||
|
||
<p id="toggle_sidebar"> | ||
<a href="#" title="Toggle sidebar">|||</a> | ||
</p> | ||
<h1> | ||
<a href="{{ pathto(root_doc)|e }}" title="Go to homepage" | ||
>{{ nav_title }}</a | ||
> | ||
</h1> | ||
|
||
{%- if theme_source_url %} {% include | ||
"./components/source_link.html" %} {% endif %} {% include | ||
"./components/dark_mode_toggle.html" %} {%- if pagename != "search" | ||
%} | ||
<p class="mobile_search_link"> | ||
<a href="{{ pathto('search') }}" title="Search"> | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
viewBox="0 0 65 64" | ||
fill-rule="evenodd" | ||
stroke-linejoin="round" | ||
stroke-miterlimit="2" | ||
> | ||
<path | ||
d="M14.873 40.009c-2.315-3.943-3.642-8.532-3.642-13.429C11.231 11.91 23.141 0 37.811 0s26.58 11.91 26.58 26.58-11.91 26.58-26.58 26.58a26.44 26.44 0 0 1-14.277-4.161L9.739 62.794a3.12 3.12 0 0 1-4.413 0L.913 58.382c-1.217-1.218-1.217-3.196 0-4.413l13.96-13.96zM37.811 8.054c10.225 0 18.526 8.301 18.526 18.526s-8.301 18.526-18.526 18.526-18.526-8.301-18.526-18.526S27.586 8.054 37.811 8.054z" | ||
fill="#fff" | ||
/> | ||
</svg> | ||
</a> | ||
</p> | ||
{% endif %} | ||
|
||
<div class="searchbox_wrapper"> | ||
{% include "basic/searchbox.html" %} | ||
</div> | ||
</nav> | ||
</div> | ||
{% endblock %} {%- block sidebar1 %} {{ sidebar() }} {%- block sidebarlogo | ||
%}{% endblock %} {% endblock %} {%- block sidebar2 %} {% if display_toc %} | ||
<div id="show_right_sidebar"> | ||
<p> | ||
<a class="toggle_right_sidebar" href="#" | ||
><span class="icon"><</span><span>Page contents</span></a | ||
> | ||
</p> | ||
</div> | ||
|
||
<div id="right_sidebar"> | ||
<p> | ||
<a class="toggle_right_sidebar" href="#" | ||
><span class="icon">></span><span>Page contents:</span></a | ||
> | ||
</p> | ||
<div class="page_toc">{{ toc }}</div> | ||
</div> | ||
{% endif %} {% endblock %} {%- block relbar1 %}{% endblock %} {%- block | ||
scripts %} {{- script() }} | ||
<script src="{{ pathto('_static/js/theme.js', 1) }}"></script> | ||
<script src="{{ pathto('_static/js/petite-vue.js', 1) }}"></script> | ||
{%- endblock %} {%- block relbar2 %} | ||
<div class="button_nav_wrapper"> | ||
<div class="button_nav"> | ||
<div class="left"> | ||
{% if prev %} | ||
<a href="{{ prev.link }}"> | ||
<span class="icon"><</span | ||
><span>{{ prev.title }}</span></a | ||
> | ||
{% endif %} | ||
</div> | ||
|
||
<div class="right"> | ||
{% if next %} | ||
<a href="{{ next.link }}" | ||
><span>{{ next.title }}</span | ||
><span class="icon">></span></a | ||
> | ||
{% endif %} | ||
</div> | ||
</div> | ||
</div> | ||
{% endblock %} {%- block footer %} {{ super() }} | ||
<div | ||
style=" | ||
box-sizing: border-box; | ||
padding-top: 0.2rem; | ||
font-size: 0.7rem; | ||
text-align: center; | ||
color: var(--faintFontColor); | ||
" | ||
> | ||
{{ version }} | ||
</div> | ||
|
||
<p id="theme_credit"> | ||
{% if theme_show_theme_credit %}Styled using the | ||
<a href="https://github.com/piccolo-orm/piccolo_theme">Piccolo Theme</a | ||
>{% endif %} | ||
</p> | ||
{%- endblock %} | ||
</body> |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.