feat: complete governed documentation sources
This commit is contained in:
@@ -4,6 +4,7 @@ from govoplan_core.core.access import CAPABILITY_AUTH_PERMISSION_EVALUATOR, CAPA
|
||||
from govoplan_core.core.modules import (
|
||||
DocumentationCondition,
|
||||
DocumentationLink,
|
||||
DocumentationSourceDefinition,
|
||||
DocumentationTopic,
|
||||
FrontendModule,
|
||||
FrontendRoute,
|
||||
@@ -193,6 +194,39 @@ manifest = ModuleManifest(
|
||||
},
|
||||
),
|
||||
),
|
||||
documentation_sources=(
|
||||
DocumentationSourceDefinition(
|
||||
id="docs.configuration.packages",
|
||||
kind="configuration_package",
|
||||
label="Configuration package catalog",
|
||||
condition=DocumentationCondition(
|
||||
any_scopes=("system:settings:read", "admin:settings:read"),
|
||||
),
|
||||
provenance={
|
||||
"source": "core_configuration_package_contract",
|
||||
"version": "1",
|
||||
},
|
||||
inspection={
|
||||
"package_id": "govoplan.configuration-packages",
|
||||
"schema_version": "1",
|
||||
"description": "Signed, preflighted platform configuration packages.",
|
||||
},
|
||||
),
|
||||
DocumentationSourceDefinition(
|
||||
id="docs.project.wiki",
|
||||
kind="wiki",
|
||||
label="GovOPlaN Docs wiki",
|
||||
provenance={"source": "gitea_wiki"},
|
||||
link=DocumentationLink(
|
||||
label="GovOPlaN Docs wiki",
|
||||
href="https://git.add-ideas.de/GovOPlaN/govoplan-docs/wiki",
|
||||
kind="wiki",
|
||||
),
|
||||
inspection={
|
||||
"href": "https://git.add-ideas.de/GovOPlaN/govoplan-docs/wiki",
|
||||
},
|
||||
),
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user