docs: complete German structured documentation
Module Package Release / publish-packages (push) Successful in 10s

This commit is contained in:
2026-08-24 01:15:31 +02:00
parent 1400a9f6a0
commit 0f73051e6c
4 changed files with 22 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@govoplan/booking", "name": "@govoplan/booking",
"version": "0.1.19", "version": "0.1.20",
"private": true, "private": true,
"description": "GovOPlaN Booking platform module seed.", "description": "GovOPlaN Booking platform module seed.",
"type": "module", "type": "module",
+1 -1
View File
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project] [project]
name = "govoplan-booking" name = "govoplan-booking"
version = "0.1.19" version = "0.1.20"
description = "GovOPlaN Booking platform module seed." description = "GovOPlaN Booking platform module seed."
readme = "README.md" readme = "README.md"
requires-python = ">=3.12" requires-python = ">=3.12"
@@ -0,0 +1,11 @@
"""German translations for public structured documentation metadata."""
from __future__ import annotations
from typing import Any
GERMAN_STRUCTURED_TRANSLATIONS: dict[str, dict[str, Any]] = {'booking.module-boundary': {'consequence_classes': {'seed_boundary': 'Erklärt nur Besitz und '
'Berechtigungen an; es ist '
'noch kein Laufzeit-Workflow '
'verfügbar.'}}}
+9 -1
View File
@@ -1,12 +1,15 @@
from __future__ import annotations from __future__ import annotations
from govoplan_core.core.modules import with_documentation_structured_translations
from govoplan_booking.backend.german_structured_documentation import GERMAN_STRUCTURED_TRANSLATIONS
from govoplan_core.core.access import CAPABILITY_AUTH_PERMISSION_EVALUATOR, CAPABILITY_AUTH_PRINCIPAL_RESOLVER from govoplan_core.core.access import CAPABILITY_AUTH_PERMISSION_EVALUATOR, CAPABILITY_AUTH_PRINCIPAL_RESOLVER
from govoplan_core.core.modules import DocumentationLink, DocumentationTopic, ModuleManifest, PermissionDefinition, RoleTemplate from govoplan_core.core.modules import DocumentationLink, DocumentationTopic, ModuleManifest, PermissionDefinition, RoleTemplate
from govoplan_core.core.provider_governance import declared_module_architecture from govoplan_core.core.provider_governance import declared_module_architecture
MODULE_ID = "booking" MODULE_ID = "booking"
MODULE_NAME = "Booking" MODULE_NAME = "Booking"
MODULE_VERSION = "0.1.19" MODULE_VERSION = "0.1.20"
READ_SCOPE = "booking:workspace:read" READ_SCOPE = "booking:workspace:read"
WRITE_SCOPE = "booking:workspace:write" WRITE_SCOPE = "booking:workspace:write"
ADMIN_SCOPE = "booking:workspace:admin" ADMIN_SCOPE = "booking:workspace:admin"
@@ -122,5 +125,10 @@ manifest = ModuleManifest(
) )
manifest = with_documentation_structured_translations(
manifest, locale="de", translations=GERMAN_STRUCTURED_TRANSLATIONS
)
def get_manifest() -> ModuleManifest: def get_manifest() -> ModuleManifest:
return manifest return manifest