* add more anchors to collections docs (#62827) (cherry picked from commit7e01de96d7) * add anchors to support galaxy links (#62808) (cherry picked from commit1b3bf33bdf) * doc: fix typos (#62852) (cherry picked from commitb33ae14949) * Add some documentation about using plugins in collections (#62465) - FQCN requirements - Sharing code in collections - Limitations with inventory caching (cherry picked from commitd41050b28b) * Remove Latin phrases from the docs (#62419) * add styleguide about avoiding use of latin words (cherry picked from commite7436e278f) * ovirt: Fixing typo in ovirt_disk examples (#62962) (cherry picked from commit50dc41cca2) * vmware guidlines: adjust the location of cloud-config-vcenter.ini.template (#62970) Update the location of the cloud-config-vcenter.ini.template template. The file has been moved by:2e7d36a3f9. (cherry picked from commit7ecfa4a471) * Prefer https:// links in the docs site (#62939) This is a follow-up of last year's1a11cec. It deals with links which at that point either were not present or did not support https://. (cherry picked from commitc8315bfd60) * fix minor typos (#62950) (cherry picked from commitad580a71c4) * Modernize Vagrant documentation (#62923) * By requiring a slightly newer Vagrant version (from 2015) we get the same generated Ansible inventory format is still used by today's version of Vagrant. That extended inventory format also has the benefit of allowing for simpler Ansible examples. * Switching to a current and supported Ubuntu LTS version. (cherry picked from commit0d79013f51) * add ios/iosxr deprecated modules (#62908) (cherry picked from commit6bbd9c9eca)
70 lines
2.2 KiB
ReStructuredText
70 lines
2.2 KiB
ReStructuredText
.. _styleguide_basic:
|
|
|
|
Basic rules
|
|
===========
|
|
.. contents::
|
|
:local:
|
|
|
|
Use standard American English
|
|
-----------------------------
|
|
Ansible uses Standard American English. Watch for common words that are spelled differently in American English (color vs colour, organize vs organise, etc.).
|
|
|
|
Write for a global audience
|
|
---------------------------
|
|
Everything you say should be understandable by people of different backgrounds and cultures. Avoid idioms and regionalism and maintain a neutral tone that cannot be misinterpreted. Avoid attempts at humor.
|
|
|
|
Follow naming conventions
|
|
-------------------------
|
|
Always follow naming conventions and trademarks.
|
|
|
|
.. good place to link to an Ansible terminology page
|
|
|
|
Use clear sentence structure
|
|
----------------------------
|
|
Clear sentence structure means:
|
|
|
|
- Start with the important information first.
|
|
- Avoid padding/adding extra words that make the sentence harder to understand.
|
|
- Keep it short - Longer sentences are harder to understand.
|
|
|
|
Some examples of improving sentences:
|
|
|
|
Bad:
|
|
The unwise walking about upon the area near the cliff edge may result in a dangerous fall and therefore it is recommended that one remains a safe distance to maintain personal safety.
|
|
|
|
Better:
|
|
Danger! Stay away from the cliff.
|
|
|
|
Bad:
|
|
Furthermore, large volumes of water are also required for the process of extraction.
|
|
|
|
Better:
|
|
Extraction also requires large volumes of water.
|
|
|
|
Avoid verbosity
|
|
---------------
|
|
Write short, succinct sentences. Avoid terms like:
|
|
|
|
- "...as has been said before,"
|
|
- "..each and every,"
|
|
- "...point in time,"
|
|
- "...in order to,"
|
|
|
|
Highlight menu items and commands
|
|
---------------------------------
|
|
When documenting menus or commands, it helps to **bold** what is important.
|
|
|
|
For menu procedures, bold the menu names, button names, etc to help the user find them on the GUI:
|
|
|
|
1. On the **File** menu, click **Open**.
|
|
2. Type a name in the **User Name** field.
|
|
3. In the **Open** dialog box, click **Save**.
|
|
4. On the toolbar, click the **Open File** icon.
|
|
|
|
For code or command snippets, use the RST `code-block directive <https://www.sphinx-doc.org/en/1.5/markup/code.html#directive-code-block>`_::
|
|
|
|
.. code-block:: bash
|
|
|
|
ssh my_vyos_user@vyos.example.net
|
|
show config
|