Add a link to doc writing guidelines to the header (#5947)

(cherry picked from commit 21f92e43d6)
This commit is contained in:
Yuri Sizov
2022-07-19 00:42:20 +03:00
committed by Max Hilbrunner
parent a12f4479f8
commit e1edd96070

View File

@@ -3,5 +3,22 @@
{% block breadcrumbs_aside %}
{% if not meta or meta.get('github_url') != 'hide' %}
{{ super() }}
<style>
.godot-edit-guidelines {
font-size: 14px;
float: right;
clear: both;
}
@media screen and (max-width: 480px) {
.godot-edit-guidelines {
display: none;
}
}
</style>
<a class="godot-edit-guidelines" href="https://docs.godotengine.org/en/latest/community/contributing/index.html#writing-documentation">
Learn how to contribute!
</a>
{% endif %}
{% endblock %}