feat(docs): bind semantic publication to help
Module Package Release / publish-packages (push) Successful in 12s

This commit is contained in:
2026-08-24 11:36:39 +02:00
parent 92dc91885b
commit 9055f3437f
6 changed files with 10 additions and 7 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@govoplan/docs-webui", "name": "@govoplan/docs-webui",
"version": "0.1.21", "version": "0.1.22",
"private": true, "private": true,
"type": "module", "type": "module",
"main": "webui/src/index.ts", "main": "webui/src/index.ts",
+1 -1
View File
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project] [project]
name = "govoplan-docs" name = "govoplan-docs"
version = "0.1.21" version = "0.1.22"
description = "GovOPlaN documentation module for configured-system, available, and evidence documentation." description = "GovOPlaN documentation module for configured-system, available, and evidence documentation."
readme = "README.md" readme = "README.md"
requires-python = ">=3.12" requires-python = ">=3.12"
+1 -1
View File
@@ -2,4 +2,4 @@
__all__ = ["__version__"] __all__ = ["__version__"]
__version__ = "0.1.21" __version__ = "0.1.22"
+5 -2
View File
@@ -131,7 +131,7 @@ def _dsar_provider(_context: ModuleContext) -> DocsDsarProvider:
manifest = ModuleManifest( manifest = ModuleManifest(
id="docs", id="docs",
name="Docs", name="Docs",
version="0.1.21", version="0.1.22",
required_capabilities=( required_capabilities=(
CAPABILITY_AUTH_PRINCIPAL_RESOLVER, CAPABILITY_AUTH_PRINCIPAL_RESOLVER,
CAPABILITY_AUTH_PERMISSION_EVALUATOR, CAPABILITY_AUTH_PERMISSION_EVALUATOR,
@@ -355,7 +355,10 @@ manifest = ModuleManifest(
), ),
} }
}, },
metadata={"kind": "workflow"}, metadata={
"kind": "workflow",
"help_contexts": ["docs.semantic-documentation.publish"],
},
), ),
DocumentationTopic( DocumentationTopic(
id="docs.data-subject-requests", id="docs.data-subject-requests",
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@govoplan/docs-webui", "name": "@govoplan/docs-webui",
"version": "0.1.21", "version": "0.1.22",
"private": true, "private": true,
"type": "module", "type": "module",
"main": "src/index.ts", "main": "src/index.ts",
@@ -235,7 +235,7 @@ export default function SemanticDocumentationPage({ settings }: { settings: ApiS
refreshable refreshable
reloadAction={{ onReload: () => void load(), loading }} reloadAction={{ onReload: () => void load(), loading }}
primaryActions={selectedEntry?.lifecycle_state === "draft" && !dirty ? ( primaryActions={selectedEntry?.lifecycle_state === "draft" && !dirty ? (
<Button onClick={() => void transition("publish")}> <Button helpContextId="docs.semantic-documentation.publish" helpModuleId="docs" onClick={() => void transition("publish")}>
<Check size={16} /> Publish <Check size={16} /> Publish
</Button> </Button>
) : null} ) : null}