mirror of
https://github.com/seigler/dash-docs
synced 2025-07-28 10:16:15 +00:00
New Bitcoin Core subsite
This commit contains a large number of contributions from Saïvann Carignan.
This commit is contained in:
parent
c4517a951e
commit
706c791e92
85 changed files with 17420 additions and 88 deletions
10
_includes/layout/base-core/content.html
Normal file
10
_includes/layout/base-core/content.html
Normal file
|
@ -0,0 +1,10 @@
|
|||
{% comment %}
|
||||
This file is licensed under the MIT License (MIT) available on
|
||||
http://opensource.org/licenses/MIT.
|
||||
{% endcomment %}
|
||||
|
||||
<div id="content" class="content">
|
||||
<div {% if page.columns == 1 and page.lang == 'en' %}class="one-column"{% endif %}>
|
||||
{{ content }}
|
||||
</div>
|
||||
</div>
|
9
_includes/layout/base-core/footer-js-extra.html
Normal file
9
_includes/layout/base-core/footer-js-extra.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
{% comment %}
|
||||
This file is licensed under the MIT License (MIT) available on
|
||||
http://opensource.org/licenses/MIT.
|
||||
{% endcomment %}
|
||||
|
||||
{% comment %}<!-- Try to minimize the amount of JS on the download page -->{% endcomment %}
|
||||
{% if page.id != 'download' %}
|
||||
<script src="/js/bitcoin-core.js"></script>
|
||||
{% endif %}
|
6
_includes/layout/base-core/head-logo.html
Normal file
6
_includes/layout/base-core/head-logo.html
Normal file
|
@ -0,0 +1,6 @@
|
|||
{% comment %}
|
||||
This file is licensed under the MIT License (MIT) available on
|
||||
http://opensource.org/licenses/MIT.
|
||||
{% endcomment %}
|
||||
|
||||
<a class="logo" href="/{{page.lang}}/{% translate bitcoin-core-overview url %}"><img src="/img/bitcoin-core/bitcoin-core.svg" alt="Bitcoin"></a>
|
29
_includes/layout/base-core/head-menu.html
Normal file
29
_includes/layout/base-core/head-menu.html
Normal file
|
@ -0,0 +1,29 @@
|
|||
{% comment %}
|
||||
This file is licensed under the MIT License (MIT) available on
|
||||
http://opensource.org/licenses/MIT.
|
||||
{% endcomment %}
|
||||
|
||||
<ul id="menusimple" class="menusimple menucore" onclick="mobileMenuHover(event);" ontouchstart="mobileMenuHover(event);">
|
||||
<li><a>{% translate menu-bcc-features layout %}</a>
|
||||
<ul>
|
||||
<li{% if page.id == 'bitcoin-core-feature-overview' %} class="active"{% endif %}><a href="/{{page.lang}}/{% translate bitcoin-core-features url %}">{% translate menu-bcc-features-overview layout %}</a></li>
|
||||
<li{% if page.id == 'bitcoin-core-validation' %} class="active"{% endif %}><a href="/{{page.lang}}/{% translate bitcoin-core-validation url %}">{% translate menu-bcc-validation layout %}</a></li>
|
||||
<li{% if page.id == 'bitcoin-core-privacy' %} class="active"{% endif %}><a href="/{{page.lang}}/{% translate bitcoin-core-privacy url %}">{% translate menu-bcc-privacy layout %}</a></li>
|
||||
<li{% if page.id == 'bitcoin-core-requirements' %} class="active"{% endif %}><a href="/{{page.lang}}/{% translate bitcoin-core-requirements url %}">{% translate menu-bcc-requirements layout %}</a></li>
|
||||
<li{% if page.id == 'bitcoin-core-user-interface' %} class="active"{% endif %}><a href="/{{page.lang}}/{% translate bitcoin-core-user-interface url %}">{% translate menu-bcc-user-interface layout %}</a></li>
|
||||
<li{% if page.id == 'bitcoin-core-donate-bandwidth' %} class="active"{% endif %}><a href="/{{page.lang}}/{% translate bitcoin-core-network-support url %}">{% translate menu-bcc-network-support layout %}</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li{% if page.id == 'bitcoin-core-help' %} class="active"{% endif %}><a href="/{{page.lang}}/{% translate bitcoin-core-help url %}">{% translate menu-bcc-help layout %}</a></li>
|
||||
<li{% if page.id == 'bitcoin-core-contribute' %} class="active"{% endif %}><a>{% translate menu-bcc-contribute layout %}</a>
|
||||
<ul>
|
||||
<li{% if page.id == 'bitcoin-core-contribute-issues' %} class="active"{% endif %}><a href="/{{page.lang}}/{% translate bitcoin-core-contribute-issues url %}">{% translate menu-bcc-contribute-issues layout %}</a></li>
|
||||
<li{% if page.id == 'development' %} class="active"{% endif %}><a href="/{{page.lang}}/{% translate development url %}">{% translate menu-bcc-contribute-code layout %}</a></li>
|
||||
<li{% if page.id == 'bitcoin-core-contribute-documentation' %} class="active"{% endif %}><a href="/{{page.lang}}/{% translate bitcoin-core-contribute-documentation url %}">{% translate menu-bcc-contribute-documentation layout %}</a></li>
|
||||
<li{% if page.id == 'bitcoin-core-contribute-translations' %} class="active"{% endif %}><a href="/{{page.lang}}/{% translate bitcoin-core-contribute-translations url %}">{% translate menu-bcc-contribute-translations layout %}</a></li>
|
||||
<li{% if page.id == 'bitcoin-core-contribute-tech-support' %} class="active"{% endif %}><a href="/{{page.lang}}/{% translate bitcoin-core-contribute-tech-support url %}">{% translate menu-bcc-contribute-tech-support layout %}</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li{% if page.id == 'version-history' %} class="active"{% endif %}><a href="/en/version-history">{% translate menu-bcc-news layout %}</a></li>
|
||||
<li{% if page.id == 'download' %} class="active"{% endif %}><a href="/{{ page.lang }}/{% translate download url %}">{% translate menu-bcc-download layout %}</a></li>
|
||||
</ul>
|
10
_includes/layout/base-core/html-head-extra.html
Normal file
10
_includes/layout/base-core/html-head-extra.html
Normal file
|
@ -0,0 +1,10 @@
|
|||
{% comment %}
|
||||
This file is licensed under the MIT License (MIT) available on
|
||||
http://opensource.org/licenses/MIT.
|
||||
{% endcomment %}
|
||||
|
||||
{% comment %}<!-- try to minimize the amount of JS on the Download page -->{% endcomment %}
|
||||
{% if page.id != 'download' %}
|
||||
<script src="/js/jquery/jquery-1.11.2.min.js"></script>
|
||||
<script src="/js/jquery/jquery-ui.min.js"></script>
|
||||
{% endif %}
|
9
_includes/layout/base-core/html-head-jquery-css.html
Normal file
9
_includes/layout/base-core/html-head-jquery-css.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
{% comment %}
|
||||
This file is licensed under the MIT License (MIT) available on
|
||||
http://opensource.org/licenses/MIT.
|
||||
|
||||
<!-- this must come before the main style sheet so that our
|
||||
definitions override the defaults -->
|
||||
{% endcomment %}
|
||||
|
||||
<link rel="stylesheet" href="/css/jquery-ui.min.css">
|
|
@ -12,11 +12,20 @@ http://opensource.org/licenses/MIT.
|
|||
{% for synonym in page.required.synonyms_shown_in_glossary_capitalize_first_letter %}
|
||||
{% if forloop.first %}{{synonym}}{% endif %}
|
||||
{% endfor %}
|
||||
{% when "RELEASE" %}
|
||||
{% comment %}<!-- for Bitcoin Core releases, show the version number -->{% endcomment %}
|
||||
{{page.required_version}}
|
||||
{% else %}{{crumb}}
|
||||
{% endcase %}
|
||||
{% else %}
|
||||
{% case crumb %}
|
||||
{% comment %}/// Alphabetical order by crumb \\\{% endcomment %}
|
||||
{% when "bcc" %}<a href="/en/bitcoin-core/">Core</a>
|
||||
{% when "bcc contribute" %}<a href="/en/bitcoin-core/contribute/">Contribute</a>
|
||||
{% when "bcc documentation" %}<a href="/en/bitcoin-core/help#documentation">Documentation</a>
|
||||
{% when "bcc features" %}<a href="/en/bitcoin-core/features/">Features</a>
|
||||
{% when "bcc help" %}<a href="/en/bitcoin-core/help">Help</a>
|
||||
{% when "bcc news" %}<a href="/en/version-history">News</a>
|
||||
{% when "bitcoin" %}<a href="/{{page.lang}}/">{% translate bitcoin vocabulary %}</a>
|
||||
{% when "dev docs" %}<a href="/en/developer-documentation">Dev Docs</a>
|
||||
{% when "glossary" %}<a href="/en/developer-glossary">Glossary</a>
|
||||
|
|
|
@ -3,7 +3,7 @@ This file is licensed under the MIT License (MIT) available on
|
|||
http://opensource.org/licenses/MIT.
|
||||
{% endcomment %}
|
||||
|
||||
<ul id="menusimple" class="menusimple" onclick="mobileMenuHover(event);" ontouchstart="mobileMenuHover(event);">
|
||||
<ul id="menusimple" class="menusimple menumain" onclick="mobileMenuHover(event);" ontouchstart="mobileMenuHover(event);">
|
||||
<li><a>{% translate menu-intro layout %}</a>
|
||||
<ul>
|
||||
<li{% if page.id == 'bitcoin-for-individuals' %} class="active"{% endif %}><a href="/{{ page.lang }}/{% translate bitcoin-for-individuals url %}">{% translate menu-bitcoin-for-individuals layout %}</a></li>
|
||||
|
@ -21,6 +21,12 @@ http://opensource.org/licenses/MIT.
|
|||
{% if page.lang == 'en' %}<li{% if page.id == 'developer-documentation' %} class="active"{% endif %}><a href="/en/developer-documentation">Documentation</a></li>{% endif %}
|
||||
<li{% if page.id == 'vocabulary' %} class="active"{% endif %}><a href="/{{ page.lang }}/{% translate vocabulary url %}">{% translate menu-vocabulary layout %}</a></li>
|
||||
<li{% if page.id == 'events' %} class="active"{% endif %}><a href="/{{ page.lang }}/{% translate events url %}">{% translate menu-events layout %}</a></li>
|
||||
{% case page.lang %}
|
||||
{% when 'id' or 'da' or 'de' or 'es' or 'fr' or 'it' or 'hu' or 'nl' or 'pl' or 'pt_BR' or 'ro' or 'sl' or 'sv' or 'tr' or 'el' or 'bg' or 'ru' or 'uk' or 'ar' or 'fa' or 'hi' or 'ko' or 'ja' or 'zh_CN' or 'zh_TW' %}
|
||||
<li{% if page.id == 'download' %} class="active"{% endif %}><a href="/{{page.lang}}/{% translate download url %}">{% translate bitcoin-core layout %}</a></li>
|
||||
{% else %}
|
||||
<li><a href="/{{page.lang}}/{% translate bitcoin-core-overview url %}">{% translate bitcoin-core layout %}</a></li>
|
||||
{% endcase %}
|
||||
</ul>
|
||||
</li>
|
||||
<li{% if page.id == 'innovation' %} class="active"{% endif %}><a href="/{{ page.lang }}/{% translate innovation url %}">{% translate menu-innovation layout %}</a></li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue