From 56ed01420de93d03733080ae73e53a88de2a266f Mon Sep 17 00:00:00 2001 From: TOUFIKI Zakarya Date: Wed, 4 Dec 2024 10:00:00 +0100 Subject: [PATCH] Add the description to properties --- CHANGELOG.md | 6 ++++++ pyproject.toml | 2 +- sekoia_automation/scripts/documentation/templates/module.md | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 604237f..650d448 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## 1.18.3 - 2024-12-04 + +### Fixed + +- Fix the configuration part in action documentation + ## 1.18.2 - 2024-12-03 ### Add diff --git a/pyproject.toml b/pyproject.toml index 665a12d..8ab1f19 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "sekoia-automation-sdk" -version = "1.18.2" +version = "1.18.3" description = "SDK to create Sekoia.io playbook modules" license = "MIT" readme = "README.md" diff --git a/sekoia_automation/scripts/documentation/templates/module.md b/sekoia_automation/scripts/documentation/templates/module.md index cec97d4..8d125d6 100644 --- a/sekoia_automation/scripts/documentation/templates/module.md +++ b/sekoia_automation/scripts/documentation/templates/module.md @@ -69,11 +69,11 @@ This module accepts no configuration. {{action.description}} -{%- if action.arguments.description %} +{%- if action.arguments.properties.description %} **Configuration** -{{action.arguments.description}} +{{action.arguments.properties.description}} {%- endif -%}