2016-02-08 23:45:57 +01:00
|
|
|
.. _doc_doc_and_l10n_guidelines:
|
2016-02-08 22:07:55 +01:00
|
|
|
|
2016-02-19 20:15:14 +01:00
|
|
|
Documentation and localisation guidelines
|
|
|
|
=========================================
|
2016-02-06 01:54:33 +01:00
|
|
|
|
|
|
|
This page describes the rules to follow if you want to contribute Godot
|
|
|
|
Engine by writing documentation or translating existing documentation.
|
|
|
|
|
2016-10-25 11:34:53 +02:00
|
|
|
Contribute
|
|
|
|
----------------------
|
|
|
|
|
|
|
|
Creating/Updating a documentation page or tutorial page is done via the `github repo <https://github.com/godotengine/godot-docs>`_.
|
|
|
|
The README file contains all the information you need to get you started.
|
|
|
|
|
2016-02-19 20:15:14 +01:00
|
|
|
What is a good documentation?
|
|
|
|
-----------------------------
|
2016-02-06 01:54:33 +01:00
|
|
|
|
|
|
|
A good documentation is well written in plain English and well-formed
|
|
|
|
sentences. It is clear and objective.
|
|
|
|
|
|
|
|
A documentation page is not a tutorial page. We differentiate these
|
|
|
|
concepts by these definitions :
|
|
|
|
|
|
|
|
- tutorial : a page aiming at explaining how to use one or more
|
|
|
|
concepts in Godot Editor in order to achieve a specific goal with a
|
|
|
|
learning purpose (ie. "make a simple 2d Pong game", "apply forces to
|
|
|
|
an object"...)
|
|
|
|
- documentation : a page describing precisely one and only one concept
|
|
|
|
at the time, if possible exhaustively (ie. the list of methods of the
|
|
|
|
Sprite class for example).
|
|
|
|
|
|
|
|
You are free to write the kind of documentation you wish, as long as you
|
2016-10-25 11:34:53 +02:00
|
|
|
respect the following rules (and the ones on the repo).
|
2016-02-06 01:54:33 +01:00
|
|
|
|
|
|
|
Titles
|
2016-10-25 11:34:53 +02:00
|
|
|
------
|
2016-02-06 01:54:33 +01:00
|
|
|
|
2016-10-25 11:34:53 +02:00
|
|
|
Always begin pages with their title and a Sphinx reference name:
|
2016-02-19 20:15:14 +01:00
|
|
|
|
2016-02-19 22:00:07 +01:00
|
|
|
::
|
2016-02-19 22:09:40 +01:00
|
|
|
|
2016-10-25 11:34:53 +02:00
|
|
|
.. _doc_insert_your_title_here:
|
2016-02-09 23:40:35 +01:00
|
|
|
|
2016-02-19 22:00:07 +01:00
|
|
|
Insert your title here
|
|
|
|
======================
|
2016-02-06 01:54:33 +01:00
|
|
|
|
2016-10-25 11:34:53 +02:00
|
|
|
Also, avoid American CamelCase titles: title's first word should begin
|
2016-02-06 01:54:33 +01:00
|
|
|
with a capitalized letter, and every following word should not. Thus,
|
|
|
|
this is a good example:
|
|
|
|
|
|
|
|
- Insert your title here
|
2016-10-25 11:34:53 +02:00
|
|
|
|
|
|
|
And this is a bad example:
|
|
|
|
|
2016-02-06 01:54:33 +01:00
|
|
|
- Insert Your Title Here
|
|
|
|
|
|
|
|
Only project names (and people names) should have capitalized first
|
|
|
|
letter. This is good:
|
|
|
|
|
|
|
|
- Starting up with Godot Engine
|
|
|
|
|
2016-10-25 11:34:53 +02:00
|
|
|
And this is bad:
|
2016-02-06 01:54:33 +01:00
|
|
|
|
2016-10-25 11:34:53 +02:00
|
|
|
- Starting up with godot engine
|
2016-02-06 01:54:33 +01:00
|
|
|
|
|
|
|
Translating existing pages
|
|
|
|
--------------------------
|
|
|
|
|
2016-10-25 11:34:53 +02:00
|
|
|
For the moment, only English documentation is supported. So localization is not possible right now.
|
|
|
|
But please be patient, we are working on it ;) (`see issue #4 <https://github.com/godotengine/godot-docs/issues/4>`_)
|
|
|
|
|
|
|
|
**Remember** : even if Godot aims at being accessible to everyone, English is the most frequent language for documentation.
|
2016-02-06 01:54:33 +01:00
|
|
|
|
|
|
|
Important changes and discussions
|
|
|
|
---------------------------------
|
|
|
|
|
|
|
|
You are welcome to correct mistakes or styles to respect these
|
2016-10-25 11:34:53 +02:00
|
|
|
guidelines. However, in case of important changes: Use the forum, create a new topic with a link
|
2016-02-06 01:54:33 +01:00
|
|
|
to the incriminated page and start discussing there about your remarks.
|
|
|
|
|
|
|
|
Licence
|
|
|
|
-------
|
|
|
|
|
2016-10-25 11:34:53 +02:00
|
|
|
This documentation and every page it contains is published under the terms of the
|
2016-02-07 23:59:10 +01:00
|
|
|
Creative Commons BY 3.0 license.
|