Ver Fonte

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

(cherry picked from commit 21f92e43d6e16f64d5fddd9945aa80555fda9d29)
Yuri Sizov há 3 anos atrás
pai
commit
16a3e6b695
1 ficheiros alterados com 17 adições e 0 exclusões
  1. 17 0
      _templates/breadcrumbs.html

+ 17 - 0
_templates/breadcrumbs.html

@@ -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 %}