This repository has been archived by the owner on Nov 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Editor's Guide
Johannes Ernst edited this page Apr 29, 2018
·
3 revisions
(just started, work in progress)
- Nouns that have a specific meaning in the UBOS context are spelled in CamelCase. Specifically, this is the way the following items should be written:
:term:`App`
:term:`Accessory`
:term:`Site`
:term:`AppConfiguration`
:term:`AppConfigurationItem`
All code is shown like this: print()
.
All text that could appear verbatim in a Site JSON file or a UBOS Manifest is shown like this: mysql
.
When performing a command as a non-root user, the shell prompt is %
:
% whoami
shepherd
When performing a command as root, the shell prompt is #
:
# whoami
shepherd
Inline code goes in single backquotes like this: `printf()`
.
Multi-line code goes into a pre
section (not tilde):
<pre>
printf();
printf();
</pre>
Inline code goes in double backquotes like this: ``printf()``
.
Single back quotes are for italics (which we don't use).
Multi-line code goes into this special construct, here for json
:
.. code-block:: json
{
"retention" : "backup",
"retentionbucket" : "uploads"
}
Text in square brackets, followed by the URL in parentheses:
[Getting started](https://ubos.net/quickstart/)