Skip to content

Commit f79a9b3

Browse files
committed
fix: used same style for strings in all core files
1 parent aa34b9f commit f79a9b3

2 files changed

Lines changed: 34 additions & 34 deletions

File tree

docs/en/schema.core.rst

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Key ``name``
2424

2525
- Type: string
2626
- Presence: mandatory
27-
- Example: Medusa
27+
- Example: ``"Medusa"``
2828

2929
This key contains the name of the software. It contains the (short)
3030
public name of the product, which can be localised in the specific
@@ -37,7 +37,7 @@ Key ``applicationSuite``
3737

3838
- Type: string
3939
- Presence: optional
40-
- Example: MegaProductivitySuite
40+
- Example: ``"MegaProductivitySuite"``
4141

4242
This key contains the name of the “suite” to which the software belongs.
4343

@@ -126,7 +126,7 @@ Key ``logo``
126126
- Type: string (relative path to file or absolute URL)
127127
- Presence: optional
128128
- Acceptable formats: SVG, SVGZ, PNG
129-
- Example: ``img/logo.svg``
129+
- Example: ``"img/logo.svg"``
130130

131131
This key contains the path to the logo of the software. Logos should be
132132
in vector format; raster formats are only allowed as a fallback. In this
@@ -142,7 +142,7 @@ Key ``monochromeLogo``
142142
- Type: string (path to file)
143143
- Presence: optional
144144
- Acceptable formats: SVG, SVGZ, PNG
145-
- Example: ``img/logo-mono.svg``
145+
- Example: ``"img/logo-mono.svg"``
146146

147147
A monochromatic (black) logo. The logo should be in vector format;
148148
raster formats are only allowed as a fallback. In this case, they should
@@ -158,7 +158,7 @@ Key ``inputTypes``
158158
- Type: array of enumerated strings
159159
- Presence: optional
160160
- Values: as per RFC 6838
161-
- Example: ``text/plain``
161+
- Example: ``"text/plain"``
162162

163163
A list of Media Types (MIME Types) as mandated in `RFC
164164
6838 <https://tools.ietf.org/html/rfc6838>`__ which the application can
@@ -173,7 +173,7 @@ Key ``outputTypes``
173173
- Type: array of enumerated strings
174174
- Presence: optional
175175
- Values: as per RFC 6838
176-
- Example: ``text/plain``
176+
- Example: ``"text/plain"``
177177

178178
A list of Media Types (MIME Types) as mandated in `RFC
179179
6838 <https://tools.ietf.org/html/rfc6838>`__ which the application can
@@ -264,9 +264,9 @@ Key ``softwareType``
264264

265265
- Type: enumerated string
266266
- Presence: mandatory
267-
- Allowed values: ``standalone/mobile``, ``standalone/iot``,
268-
``standalone/desktop``, ``standalone/web``, ``standalone/backend``,
269-
``standalone/other``, ``addon``, ``library``, ``configurationFiles``
267+
- Allowed values: ``"standalone/mobile"``, ``"standalone/iot"``,
268+
``"standalone/desktop"``, ``"standalone/web"``, ``"standalone/backend"``,
269+
``"standalone/other"``, ``"addon"``, ``"library"``, ``"configurationFiles"``
270270

271271
The keys are:
272272

@@ -360,7 +360,7 @@ Key ``description/[lang]/localisedName``
360360

361361
- Type: string
362362
- Presence: optional
363-
- Example: Medusa
363+
- Example: ``"Medusa"``
364364

365365
This key is an opportunity to localise the name in a specific language.
366366
It contains the (short) public name of the product. It should be the
@@ -373,7 +373,7 @@ Key ``description/[lang]/genericName``
373373

374374
- Type: string (max 35 chars)
375375
- Presence: mandatory
376-
- Example: Text Editor
376+
- Example: ``"Text Editor"``
377377

378378
This key is the “Generic name”, which refers to the specific category to
379379
which the software belongs. You can usually find the generic name in the
@@ -605,13 +605,13 @@ Key ``maintenance/type``
605605

606606
This key describes how the software is currently maintained.
607607

608-
- ``"internal"`` - means that the software is internally maintained by the
608+
- ``internal`` - means that the software is internally maintained by the
609609
repository owner.
610-
- ``"contract"`` - means that there is a commercial
610+
- ``contract`` - means that there is a commercial
611611
contract that binds an entity to the maintenance of the software;
612-
- ``"community"`` - means that the software is currently maintained by one
612+
- ``community`` - means that the software is currently maintained by one
613613
or more people that donate their time to the project;
614-
- ``"none"`` - means that the software is not actively maintained.
614+
- ``none`` - means that the software is not actively maintained.
615615

616616
Key ``maintenance/contractors``
617617
'''''''''''''''''''''''''''''''
@@ -737,7 +737,7 @@ compatibility matrix.
737737
.. code:: yaml
738738
739739
- name: PostgreSQL
740-
version: 3.2
740+
version: "3.2"
741741
optional: yes
742742
743743
This snippet marks an optional dependency on PostgreSQL exactly version
@@ -748,8 +748,8 @@ This snippet marks an optional dependency on PostgreSQL exactly version
748748
.. code:: yaml
749749
750750
- name: MySQL
751-
versionMin: 1.1
752-
versionMax: 1.3
751+
versionMin: "1.1"
752+
versionMax: "1.3"
753753
754754
This snippet marks a mandatory dependency on MySQL, allowing any version
755755
between 1.1 and 1.3.

docs/it/schema.core.rst

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ Chiave ``logo``
134134
- Tipo: stringa (percorso verso il file)
135135
- Presenza: opzionale
136136
- Formati accettabili: SVG, SVGZ, PNG
137-
- Esempio: ``img/logo.svg``
137+
- Esempio: ``"img/logo.svg"``
138138

139139
Questa chiave indica il logo del software. Il valore può essere il percorso
140140
relativo al file a partire dalla root del repository, oppure una URL assoluta
@@ -150,7 +150,7 @@ Chiave ``monochromeLogo``
150150
- Tipo: stringa (percorso verso il file)
151151
- Presenza: opzionale
152152
- Formati accettabili: SVG, SVGZ, PNG
153-
- Esempio: ``img/logo-mono.svg``
153+
- Esempio: ``"img/logo-mono.svg"``
154154

155155
Questa chiave indica il logo monocromatico (nero) del software. Il valore può
156156
essere il percorso
@@ -167,7 +167,7 @@ Chiave ``inputTypes``
167167
- Tipo: array di stringhe
168168
- Presenza: opzionale
169169
- Valori: vedi RFC 6838
170-
- Esempio: ``text/plain``
170+
- Esempio: ``"text/plain"``
171171

172172
Una lista di Media Types (MIME Types), come specificato dal `RFC
173173
6838 <https://tools.ietf.org/html/rfc6838>`__, che possono essere
@@ -182,7 +182,7 @@ Chiave ``outputTypes``
182182
- Tipo: array di stringhe
183183
- Presenza: opzionale
184184
- Valori: vedi RFC 6838
185-
- Esempio: ``text/plain``
185+
- Esempio: ``"text/plain"``
186186

187187
Una lista di Media Types (MIME Types), come specificato dal `RFC
188188
6838 <https://tools.ietf.org/html/rfc6838>`__, che possono essere
@@ -276,9 +276,9 @@ Chiave ``softwareType``
276276

277277
- Tipo: stringa
278278
- Presenza: obbligatoria
279-
- Valori permessi: ``standalone/mobile``, ``standalone/iot``,
280-
``standalone/desktop``, ``standalone/web``, ``standalone/backend``,
281-
``standalone/other``, ``addon``, ``library``, ``configurationFiles``
279+
- Valori permessi: ``"standalone/mobile"``, ``"standalone/iot"``,
280+
``"standalone/desktop"``, ``"standalone/web"``, ``"standalone/backend"``,
281+
``"standalone/other"``, ``"addon"``, ``"library"``, ``"configurationFiles"``
282282

283283
Le chiavi sono:
284284

@@ -380,7 +380,7 @@ Chiave ``description/[lang]/localisedName``
380380

381381
- Tipo: stringa
382382
- Presenza: opzionale
383-
- Esempio: Medusa
383+
- Esempio: ``"Medusa"``
384384

385385
Questa chiave rappresenta un’opportunità di tradurre il nome in una
386386
lingua specifica. Contiene il nome pubblico (corto) del prodotto.
@@ -394,7 +394,7 @@ Chiave ``description/[lang]/genericName``
394394

395395
- Tipo: stringa (max 35 caratteri)
396396
- Presenza: obbligatoria
397-
- Esempio: Text Editor
397+
- Esempio: ``"Text Editor"``
398398

399399
Questa chiave rappresenta il “Nome generico”, riferito alla categoria
400400
specifica alla quale il software appartiene. Normalmente è possibile
@@ -644,13 +644,13 @@ Chiave ``maintenance/type``
644644
Questa chiave descrive come il software è attualmente manutenuto.
645645
Le chiavi sono:
646646

647-
- ``"internal"`` - significa che il software è manutenuto internamente dal
647+
- ``internal`` - significa che il software è manutenuto internamente dal
648648
proprietario del repository;
649-
- ``"contract"`` - significa che c’è un contratto commerciale che lega un’entità
649+
- ``contract`` - significa che c’è un contratto commerciale che lega un’entità
650650
alla manutenzione del software;
651-
- ``"community"`` - significa che il software è attualmente manutenuto da
651+
- ``community`` - significa che il software è attualmente manutenuto da
652652
una o più persone che offrono il loro tempo al progetto;
653-
- ``"none"`` - significa che il software non è al momento manutenuto.
653+
- ``none`` - significa che il software non è al momento manutenuto.
654654

655655
Chiave ``maintenance/contractors``
656656
''''''''''''''''''''''''''''''''''
@@ -780,7 +780,7 @@ matrice di compatibilità complessa.
780780
.. code:: yaml
781781
782782
- name: PostgreSQL
783-
version: 3.2
783+
version: "3.2"
784784
opzionale: yes
785785
786786
Questo snippet segnala una dipendenza opzionale verso PostgreSQL,
@@ -791,8 +791,8 @@ nell’esattezza la sua versione 3.2.
791791
.. code:: yaml
792792
793793
- name: MySQL
794-
versionMin: 1.1
795-
versionMax: 1.3
794+
versionMin: "1.1"
795+
versionMax: "1.3"
796796
797797
Questo snippet segnala una dipendenza obbligatoria verso MySQL,
798798
permettendo ogni versione tra la 1.1 e la 1.3.

0 commit comments

Comments
 (0)