Skip to content

Commit 8359181

Browse files
authored
Port examples to new schema version (#26)
* fix: moved files into `docs` folder * fix: typos and formatting * fix: port examples to new schema version * fix: moving to RST format, not needed anymore
1 parent 10d6e79 commit 8359181

22 files changed

Lines changed: 208 additions & 176 deletions

_docs/en/conf.py

Lines changed: 0 additions & 15 deletions
This file was deleted.

_docs/en/schema.it.md

Lines changed: 0 additions & 2 deletions
This file was deleted.

_docs/it/conf.py

Lines changed: 0 additions & 15 deletions
This file was deleted.

docs/en/conf.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env python3
2+
# -*- coding: utf-8 -*-
3+
4+
# The master toctree document.
5+
master_doc = 'index'
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
publiccode-yaml-version: "http://w3id.org/publiccode/version/0.1"
1+
publiccodeYmlVersion: "0.1"
22

33
name: Medusa
44
url: "https://example.com/italia/medusa.git"
5-
softwareVersion: "dev"
5+
softwareVersion: "dev" # Optional
66
releaseDate: "2017-04-15"
77
platforms:
88
- web
@@ -16,7 +16,7 @@ softwareType: "standalone"
1616

1717
description:
1818
eng:
19-
localisedName: Medusa
19+
localisedName: medusa # Optional
2020
genericName: Text Editor
2121
shortDescription: >
2222
A rather short description which
@@ -28,7 +28,7 @@ description:
2828
is and why one should need it. We can potentially
2929
have many pages of text here.
3030
31-
featureList:
31+
features:
3232
- Just one feature
3333

3434
legal:
@@ -43,4 +43,4 @@ maintenance:
4343
localisation:
4444
localisationReady: yes
4545
availableLanguages:
46-
- eng
46+
- eng
Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
publiccode-yaml-version: "http://w3id.org/publiccode/version/0.1"
1+
publiccodeYmlVersion: "0.1"
22

33
name: Medusa
44
applicationSuite: MegaProductivitySuite
@@ -20,7 +20,6 @@ platforms:
2020
- android
2121
- ios
2222

23-
# For a list of allowed values, check out w3id.org/publiccode/version/0.1/tags.html
2423
tags:
2524
- content-management
2625
- artificial-intelligence
@@ -67,7 +66,7 @@ description:
6766
freeTags:
6867
- an-english-tag
6968

70-
featureList:
69+
features:
7170
- Very important feature
7271
- Will run without a problem
7372
- Has zero bugs
@@ -82,7 +81,7 @@ description:
8281
- 1st Price Software of the year
8382

8483
legal:
85-
license: AGPL-3.0-or-later # SPDX expression of license
84+
license: AGPL-3.0-or-later
8685
mainCopyrightOwner: City of Chicago
8786
repoOwner: City of Chicago
8887
authorsFile: AUTHORS
@@ -158,4 +157,4 @@ it:
158157
seo: no
159158
ui: yes
160159
web: yes
161-
content: no
160+
content: no
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
[< Back to version 0.1](index.html) -- this file is part of the [`publiccode.yml` specification](http://w3id.org/publiccode/).
2-
31
# Forks and variants
42

53
This document describes how to best handle software forks in the
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
# `publiccode.yml`: version 0.1
1+
# `publiccode.yml`
22

3-
This is the release of version 0.1 of the Public Code specification. Version 0.1 was released on the 20th June 2018.
4-
5-
A PublicCode file written following this specification is guaranteed to remain compatible with all parsers implementing any 0.x release.
3+
A PublicCode file written following this specification is guaranteed to remain
4+
compatible with all parsers implementing any 0.x release.
65

76
For more information on version numbering see [SemVer.org](https://semver.org/).
87

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
[< Back to version 0.1](index.html) -- this file is part of the [`publiccode.yml` specification](http://w3id.org/publiccode/).
2-
31
# Public administration types
42

53
The key `intendedAudience/onlyFor` defines the types of public administration which is
@@ -56,18 +54,3 @@ Value | Description
5654
`it-afam` | Istituzioni per l'Alta Formazione Artistica, Musicale e Coreutica
5755
`school` | Istituti di Istruzione Statale di Ogni Ordine e Grado
5856
`university` | Università e Istituti di Istruzione Universitaria Pubblici
59-
60-
<!--
61-
>Unioni di Comuni e loro Consorzi e Associazioni
62-
>Enti di Regolazione dei Servizi Idrici e o dei Rifiuti
63-
Enti e Istituzioni di Ricerca Pubblici
64-
Enti Pubblici Non Economici
65-
Enti Pubblici Produttori di Servizi Assistenziali, Ricreativi e Culturali
66-
>Federazioni Nazionali, Ordini, Collegi e Consigli Professionali
67-
>Fondazioni Lirico, Sinfoniche
68-
>Istituti Zooprofilattici Sperimentali
69-
Organi Costituzionali e di Rilievo Costituzionale
70-
>Parchi Nazionali, Consorzi e Enti Gestori di Parchi e Aree Naturali Protette
71-
72-
>Teatri Stabili ad Iniziativa Pubblica
73-
-->

docs/en/schema.it.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Placeholder for [schema.it.md](../it/schema.it.md).
2+

0 commit comments

Comments
 (0)