From 9055f3437f0296f15f63a6fc89ff65f133a7bfaf Mon Sep 17 00:00:00 2001 From: Albrecht Degering Date: Mon, 24 Aug 2026 11:36:39 +0200 Subject: [PATCH] feat(docs): bind semantic publication to help --- package.json | 2 +- pyproject.toml | 2 +- src/govoplan_docs/__init__.py | 2 +- src/govoplan_docs/backend/manifest.py | 7 +++++-- webui/package.json | 2 +- webui/src/features/docs/SemanticDocumentationPage.tsx | 2 +- 6 files changed, 10 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 933d7cd..c2be8de 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@govoplan/docs-webui", - "version": "0.1.21", + "version": "0.1.22", "private": true, "type": "module", "main": "webui/src/index.ts", diff --git a/pyproject.toml b/pyproject.toml index dafa9e1..ac49fd9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "govoplan-docs" -version = "0.1.21" +version = "0.1.22" description = "GovOPlaN documentation module for configured-system, available, and evidence documentation." readme = "README.md" requires-python = ">=3.12" diff --git a/src/govoplan_docs/__init__.py b/src/govoplan_docs/__init__.py index 74ca00b..deb01d3 100644 --- a/src/govoplan_docs/__init__.py +++ b/src/govoplan_docs/__init__.py @@ -2,4 +2,4 @@ __all__ = ["__version__"] -__version__ = "0.1.21" +__version__ = "0.1.22" diff --git a/src/govoplan_docs/backend/manifest.py b/src/govoplan_docs/backend/manifest.py index 168d501..29ae151 100644 --- a/src/govoplan_docs/backend/manifest.py +++ b/src/govoplan_docs/backend/manifest.py @@ -131,7 +131,7 @@ def _dsar_provider(_context: ModuleContext) -> DocsDsarProvider: manifest = ModuleManifest( id="docs", name="Docs", - version="0.1.21", + version="0.1.22", required_capabilities=( CAPABILITY_AUTH_PRINCIPAL_RESOLVER, CAPABILITY_AUTH_PERMISSION_EVALUATOR, @@ -355,7 +355,10 @@ manifest = ModuleManifest( ), } }, - metadata={"kind": "workflow"}, + metadata={ + "kind": "workflow", + "help_contexts": ["docs.semantic-documentation.publish"], + }, ), DocumentationTopic( id="docs.data-subject-requests", diff --git a/webui/package.json b/webui/package.json index 251acc3..edb0572 100644 --- a/webui/package.json +++ b/webui/package.json @@ -1,6 +1,6 @@ { "name": "@govoplan/docs-webui", - "version": "0.1.21", + "version": "0.1.22", "private": true, "type": "module", "main": "src/index.ts", diff --git a/webui/src/features/docs/SemanticDocumentationPage.tsx b/webui/src/features/docs/SemanticDocumentationPage.tsx index 20409d2..d732a5d 100644 --- a/webui/src/features/docs/SemanticDocumentationPage.tsx +++ b/webui/src/features/docs/SemanticDocumentationPage.tsx @@ -235,7 +235,7 @@ export default function SemanticDocumentationPage({ settings }: { settings: ApiS refreshable reloadAction={{ onReload: () => void load(), loading }} primaryActions={selectedEntry?.lifecycle_state === "draft" && !dirty ? ( - ) : null}