wiki:en/doc-guidelines
developer.jelix.org is not used any more and exists only for history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Version 2 (modified by afroxav, 11 years ago) (diff)

--

Documentation Guidelines

Here is a summary of the guidelines for the english documentation. You are free to apply or not these guidelines in the other language.

General writing

There is simple trick that you use when writing documentation. You need to make sure that the content is reader-friendly, so avoid putting to many technical terms: don't talk about Unix sockets when talking of database, even if they are mentioned in the API. Write your documentation as if the reader remember only half of what he read on the preceding pages, but remembers everything from the current page. Be mindful, and don't over-simplify the documentation: advanced users won't like it.

As always, be careful for grammar and spelling mistake. Write in regular, international english and don't use colloquial terms. Always preview your changes, to double check for errors.

Inline code

There are many guidelines for inline code. However, following them will create a consistent look in the documentation

Files and folders

For files and folders referenced inside text, use the inline code syntax. You simply add @@F@ before the path and @@ after.

@@F@The/path/of/the/file.php@@

Function names

To specify a function name inside a paragraph, surround it with .

**jelixClass::function**
**function** of the jelixClass