Files
godot-docs/_templates/breadcrumbs.html
Yuri Sizov c03229cd9d Port layout changes from the master version
This also updates the index page, changes the first
sidebar section to be "About" without an extra level,
and renames "Tutorials" to "Manual"

(cherry picked from commit 0c100d9f14)
2023-09-20 14:02:23 +02:00

41 lines
857 B
HTML

{%- extends "sphinx_rtd_theme/breadcrumbs.html" %}
{% block breadcrumbs %}
<li>
<div style="font-size: 105%;font-weight: 600;">
{{ godot_docs_title | replace("%s", godot_version) }}
</div>
<ul class="wy-breadcrumbs">
{{ super() }}
</ul>
</li>
{% endblock %}
{% block breadcrumbs_aside %}
{% if not meta or meta.get('github_url') != 'hide' %}
<li style="float: right; text-align: right;">
<ul>
{{ super() }}
</ul>
<style>
.godot-edit-guidelines {
font-size: 14px;
float: right;
clear: both;
padding-top: 4px;
}
@media screen and (max-width: 480px) {
.godot-edit-guidelines {
display: none;
}
}
</style>
<a class="godot-edit-guidelines" href="https://docs.godotengine.org/en/latest/contributing/documentation/index.html#writing-documentation">
Learn how to contribute!
</a>
</li>
{% endif %}
{% endblock %}