From 1420c5452a101479a2698700e34d2aaa841e3083 Mon Sep 17 00:00:00 2001 From: Fabio Bonelli Date: Thu, 3 Dec 2026 08:36:50 +0000 Subject: [PATCH] doc: call publiccode.yml the Spec instead of the Standard --- .github/workflows/build.yml | 2 +- CONTRIBUTING.md | 6 +++--- README.md | 12 ++++++------ _templates/page.html | 2 +- conf.py | 2 +- poly.py | 2 +- spec/v0/index.rst | 2 +- spec/v1/types/boolean.rst | 2 +- templates/404.html | 4 ++-- 9 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 833aaa7..d81cfbf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: Build Standard +name: Build Spec on: pull_request: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 74241e0..20a940a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,15 +1,15 @@ -# Contributing to this Standard +# Contributing to this Spec Thank you for your interest in contributing! 🙇 -We, the maintainers and contributors of this project, understand that a Standard +We, the maintainers and contributors of this project, understand that a Spec like this can only be set in collaboration with as many public technologists, policymakers and interested folks as possible. Thus, we appreciate your input, enjoy feedback and welcome improvements to this project and are very open to collaboration. We love issues and pull requests from everyone. -## I want to help develop the standard +## I want to help develop the Spec Please help development by reporting problems, suggesting changes and asking questions. You don't need to change any of our code or documentation to be a contributor! diff --git a/README.md b/README.md index 6da9534..c76a8de 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -

The publiccode.yml Standard

+

The publiccode.yml Spec

@@ -42,7 +42,7 @@ the project evolves**. ## Example -The example below follows the draft of version 1.0 of the Standard. +The example below follows the draft of version 1.0 of the Spec. Validators accept it once a [libpubliccode](https://github.com/publiccodeyml/libpubliccode) release supports version 1.0. Until then, write `publiccodeYmlVersion: "0"` and @@ -118,7 +118,7 @@ a pull request. Questions and proposals are welcome in Translations of the documentation live in [publiccodeyml/translations](https://github.com/publiccodeyml/translations). -The [Standard's website](https://publiccodeyml.github.io) is built using the +The [Spec's website](https://publiccodeyml.github.io) is built using the Python Sphinx package and [deployed](https://github.com/publiccodeyml/publiccodeyml.github.io/blob/main/.github/workflows/publish.yml) on GitHub Pages from the @@ -131,7 +131,7 @@ repository. ### Local development process -Each major version of the Standard has its own directory, `spec/v0` and +Each major version of the Spec has its own directory, `spec/v0` and `spec/v1`. `sphinx-build` compiles one of them to static HTML files. Run this command to generate the version 1 website: @@ -154,7 +154,7 @@ uv run sphinx-autobuild spec/v1 build -c . --watch conf.py --watch _static --wat #### All the versions -The published website puts every major version of the Standard side by +The published website puts every major version of the Spec side by side, one directory per major version (`/v0/`, `/v1/`, ...) with a version switcher on each page. A major version with a release is built from its newest release tag (`v0.8.0`, ...). A major version with no @@ -176,7 +176,7 @@ uv run sphinx-polyversion poly.py build/html -l ## Tooling -Tools and libraries that implement and support the publiccode.yml Standard. +Tools and libraries that implement and support the publiccode.yml Spec. ### Core tools diff --git a/_templates/page.html b/_templates/page.html index f3cb586..3a12314 100644 --- a/_templates/page.html +++ b/_templates/page.html @@ -147,7 +147,7 @@

{{ current.name }} is not released

-

This is a draft of the next version of the Standard. Keys and rules +

This is a draft of the next version of the Spec. Keys and rules can still change or be removed before the release. {%- if latest %} Write your publiccode.yml files against the released version, {{ latest.name }}.{% endif %}

diff --git a/conf.py b/conf.py index 16c47a1..aa4486a 100644 --- a/conf.py +++ b/conf.py @@ -6,7 +6,7 @@ # No version in the name: under sphinx-polyversion the switcher shows it, # and a hardcoded one goes stale on the branches that change version. -project = "publiccode.yml Standard" +project = "publiccode.yml Spec" # Under sphinx-polyversion (poly.py) POLYVERSION_DATA carries the version # being built and the list of all of them; load() copies it into diff --git a/poly.py b/poly.py index c5f1b62..e1dec57 100644 --- a/poly.py +++ b/poly.py @@ -89,7 +89,7 @@ -publiccode.yml Standard +publiccode.yml Spec diff --git a/spec/v0/index.rst b/spec/v0/index.rst index 5d4fa14..447fa49 100644 --- a/spec/v0/index.rst +++ b/spec/v0/index.rst @@ -21,7 +21,7 @@ provide the reference implementations to build on. according to the national `guidelines `__: this enables the Developers Italia crawler to build the `national software -catalog `__. The standard is also used at +catalog `__. The Spec is also used at `opencode.de `__, the German registry of open source for public administration. ``publiccode.yml`` is designed to be interoperable internationally. diff --git a/spec/v1/types/boolean.rst b/spec/v1/types/boolean.rst index 5a75fc0..6613796 100644 --- a/spec/v1/types/boolean.rst +++ b/spec/v1/types/boolean.rst @@ -10,5 +10,5 @@ Boolean YAML 1.2 reads ``yes``, ``no``, ``on`` and ``off`` as strings, like any quoted value such as ``"true"``, so they are an error where a boolean is expected. Files written for early versions of the - Standard often use them: write ``localisationReady: true``, not + Spec often use them: write ``localisationReady: true``, not ``localisationReady: yes``. diff --git a/templates/404.html b/templates/404.html index 6467334..ec766b0 100644 --- a/templates/404.html +++ b/templates/404.html @@ -3,7 +3,7 @@ -Page not found - publiccode.yml Standard +Page not found - publiccode.yml Spec