message-registry.md.jinja 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. # Error index { {#--#} #error-index}
  2. {# NOTE: Prevent Doxygen issue by writing the comment after the first header. #}
  3. <!--
  4. NOTE: This file has been generated automatically by “{{script}}”.
  5. Do not edit manually!
  6. -->
  7. This page lists the warnings and errors generated by xkbcommon.
  8. There are currently {{ entries|length }} entries.
  9. @todo The documentation of the log messages is a work in progress.
  10. ## Index {% raw %}{#error-code-list}{% endraw +%}
  11. | Code | Identifier | Description | Type |
  12. | --------- | ---------------------------- | ----------- | ---- |
  13. {% for entry in entries %}
  14. | [{{entry.message_code}}] | `{{entry.id}}` | {{entry.description|prepend_todo}} | {{entry.type|capitalize}} |
  15. {% endfor %}
  16. ## Details
  17. {% for entry in entries %}
  18. ### {{entry.message_code}} – {{entry.message_name}} { {#--#}#{{entry.message_code}}}
  19. <dl>
  20. {% if entry.removed %}
  21. <dt>Added in</dt><dd>{{entry.added}}</dd>
  22. <dt>Removed in</dt><dd>{{entry.removed}}</dd>
  23. {% else %}
  24. <dt>Since</dt><dd>{{entry.added}}</dd>
  25. {% endif %}
  26. <dt>Type</dt><dd>{{entry.type|capitalize}}</dd>
  27. <dt>Summary</dt><dd>{{entry.description|prepend_todo}}</dd>
  28. </dl>
  29. {% if entry.details %}
  30. {{entry.details}}
  31. {% endif %}
  32. {% if entry.examples %}
  33. #### Examples
  34. {% for example in entry.examples %}
  35. <details>
  36. <summary>{{example.name}}</summary>
  37. {{example.description}}
  38. {% if example.before %}
  39. **Fix:**
  40. <div class="example-container">
  41. <div class="example">
  42. <div class="example-inner">
  43. <div class="example-title">Before</div>
  44. {{example.before-}}
  45. </div>
  46. </div>
  47. <div class="example">
  48. <div class="example-inner">
  49. <div class="example-title">After</div>
  50. {{example.after-}}
  51. </div>
  52. </div>
  53. </div>
  54. {% endif %}
  55. </details>
  56. {% endfor %}
  57. {% endif %}
  58. {% endfor %}
  59. {% for entry in entries %}
  60. [{{entry.message_code}}]: @ref {{entry.message_code}}
  61. {% endfor %}