docs_contribution_checklist.rst 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. .. _docs_contribution_checklist:
  2. Documentation contribution checklist
  3. ====================================
  4. This page is a summary of the guidelines to follow when contributing to the
  5. documentation. Before you press that **Create pull request** button on GitHub,
  6. read over this list to double check if you missed anything.
  7. You don't need to read all the guidelines here in order to start contributing.
  8. If you do miss something, it will be pointed out during review. However,
  9. following the guidelines you are aware of as best you can will help speed up the
  10. review process.
  11. Writing style
  12. -------------
  13. :ref:`See here. <doc_docs_writing_guidelines_clear_english_rules>`
  14. - Use the active voice.
  15. - Use precise action verbs.
  16. - Avoid verbs that end in -ing.
  17. - Remove unnecessary adverbs and adjectives.
  18. - Ban these 8 words: obvious, simple, basic, easy, actual, just, clear, and however.
  19. - Use explicit references.
  20. - Use 's to show possession.
  21. - Use the Oxford comma.
  22. Code examples
  23. -------------
  24. - Use dynamic typing. :ref:`See here. <doc_docs_writing_guidelines_dynamic_typing>`
  25. - Use real, practical examples. Avoid ``foo`` / ``bar`` examples. :ref:`See here. <doc_docs_writing_guidelines_real_world_code_example>`
  26. Manual style and formatting
  27. ---------------------------
  28. - Use common vocabulary for the editor interface. :ref:`See here. <doc_docs_writing_guidelines_common_vocabulary>`
  29. - Use ``:kbd:`` for keyboard shortcuts. :ref:`See here. <doc_docs_writing_guidelines_keyboard_shortcuts>`
  30. - Literals use ``code style``. :ref:`See here. <doc_docs_writing_guidelines_literals>`
  31. - Classes link to the class reference once, then use ``ClassName`` for the rest
  32. of the page.
  33. Methods and properties link to the class ref once, then use ``PropertyName``
  34. for the rest of the page. :ref:`See here. <doc_docs_writing_guidelines_class_properties_methods>`
  35. - Editor UI, like menus, windows, and editor navigation paths, use
  36. ``Bold Style``. :ref:`See here. <doc_docs_writing_guidelines_editor_ui>`
  37. - Link to project settings when referencing them. :ref:`See here. <doc_docs_writing_guidelines_project_settings>`
  38. - Text is manually wrapped to 80-100 characters. :ref:`See here. <doc_docs_writing_guidelines_manually_wrapping_lines>`
  39. - No trailing whitespace at the end of lines.
  40. - Most of the time, avoid mentioning a specific Godot version. :ref:`See here. <doc_docs_writing_guidelines_specific_version>`
  41. Images and videos
  42. -----------------
  43. - New (and updated) images are in WebP format. :ref:`See here. <doc_docs_image_guidelines_format_conversion>`
  44. - Editor screenshots are cropped. :ref:`See here. <doc_docs_image_guidelines_cropping>`
  45. - Images larger than 1080p or 300kb are scaled down. :ref:`See here. <doc_docs_image_guidelines_scaling_down>`
  46. - Outlines in images use ``fffb44`` yellow. :ref:`See here. <doc_docs_image_guidelines_outlines>`
  47. - Videos use the ``:autoplay:``, ``:loop:``, and ``:muted:`` tags. :ref:`See here. <doc_docs_image_guidelines_videos>`
  48. GitHub
  49. ------
  50. - The PR title starts with a word like ``Fix``, ``Add``, ``Update``,
  51. ``Clarify``, or ``Improve``.
  52. - If the PR closes an issue, link to the issue with one of GitHub's
  53. `keywords <https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests>`__:
  54. ``closes``, ``fixes``, or ``resolves``, in the text of the PR.
  55. - Ideally, PR contains a single commit. However, multiple commits can be
  56. :ref:`squashed <doc_pr_workflow_rebase>` later.