|
28 | 28 | {%- block document %}
|
29 | 29 | <div itemprop="articleBody">
|
30 | 30 | {% if godot_is_latest or godot_show_article_status %}
|
31 |
| - <div class="admonition-grid {% if godot_is_latest and godot_show_article_status %}admonition-grid-2x{% endif %}"> |
| 31 | + <div class="admonition-grid"> |
32 | 32 | {% if godot_is_latest %}
|
33 | 33 | <div class="admonition attention latest-notice">
|
34 |
| - <p class="first admonition-title">Attention</p> |
| 34 | + <p class="first admonition-title">Attention: Here be dragons</p> |
35 | 35 | <p>
|
36 |
| - You are reading the <code class="docutils literal notranslate"><span class="pre">latest</span></code> |
37 |
| - (unstable) version of this documentation, which may document features not available |
38 |
| - or compatible with Godot 3.x. |
| 36 | + This is the <code class="docutils literal notranslate"><span class="pre">latest</span></code> |
| 37 | + (unstable) version of this documentation, which may document features |
| 38 | + not available in or compatible with released stable versions of Godot. |
39 | 39 | </p>
|
40 | 40 | <p class="last latest-notice-link">
|
41 | 41 | Checking the stable version of the documentation...
|
42 | 42 | </p>
|
43 | 43 | </div>
|
44 | 44 | {% endif %}
|
45 | 45 |
|
46 |
| - {% if godot_show_article_status %} |
| 46 | + {% if godot_show_article_status and not godot_is_latest %} |
47 | 47 | <div class="admonition tip article-status">
|
| 48 | + {% if meta and meta.get('article_outdated') == 'True' %} |
48 | 49 | <p class="first admonition-title">Work in progress</p>
|
49 | 50 | <p>
|
50 |
| - Godot documentation is being updated to reflect the latest changes in version |
51 |
| - <code class="docutils literal notranslate">{{ godot_version }}</code>. Some documentation pages may |
52 |
| - still state outdated information. This banner will tell you if you're reading one of such pages. |
| 51 | + The content of this page was not yet updated for Godot |
| 52 | + <code class="docutils literal notranslate">{{ godot_version }}</code> |
| 53 | + and may be <strong>outdated</strong>. If you know how to improve this page or you can confirm |
| 54 | + that it's up to date, feel free to <a href="https://github.com/godotengine/godot-docs">open a pull request</a>. |
53 | 55 | </p>
|
| 56 | + {% else %} |
| 57 | + <p class="first admonition-title">Up to date</p> |
54 | 58 | <p>
|
55 |
| - {% if meta and meta.get('article_outdated') == 'True' %} |
56 |
| - The contents of this page can be <strong>outdated</strong>. If you know how to improve this page or you can confirm |
57 |
| - that it's up to date, feel free to <a href="https://github.com/godotengine/godot-docs">open a pull request</a>. |
58 |
| - {% else %} |
59 |
| - The contents of this page are <strong>up to date</strong>. If you can still find outdated information, please |
60 |
| - <a href="https://github.com/godotengine/godot-docs">open an issue</a>. |
61 |
| - {% endif %} |
| 59 | + This page is <strong>up to date</strong> for Godot <code class="docutils literal notranslate">{{ godot_version }}</code>. |
| 60 | + If you still find outdated information, please <a href="https://github.com/godotengine/godot-docs">open an issue</a>. |
62 | 61 | </p>
|
| 62 | + {% endif %} |
63 | 63 | </div>
|
64 | 64 | {% endif %}
|
65 | 65 | </div>
|
|
0 commit comments