From 9d58d710718689193b5e1b45cb78fa123fc8d298 Mon Sep 17 00:00:00 2001 From: Cristian Le Date: Fri, 24 May 2024 19:29:55 +0200 Subject: [PATCH] Document new feature Signed-off-by: Cristian Le --- docs/code/plugin-introduction.rst | 4 ++++ docs/releases.rst | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/docs/code/plugin-introduction.rst b/docs/code/plugin-introduction.rst index de2dd190d9..2ef105b4b8 100644 --- a/docs/code/plugin-introduction.rst +++ b/docs/code/plugin-introduction.rst @@ -11,6 +11,10 @@ standard location under ``tmt/steps`` , from all directories provided in the ``TMT_PLUGINS`` environment variable and from ``tmt.plugin`` entry point. +.. versionadded:: 1.35 + You can use ``tmt.resources`` entry point to inject resource + files to be used for tmt, e.g. schemas or templates. + Inheritance ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/docs/releases.rst b/docs/releases.rst index 2659a33a05..56a20b62b8 100644 --- a/docs/releases.rst +++ b/docs/releases.rst @@ -27,6 +27,10 @@ generated report. Change of Polarion field to store tmt id. Now using 'tmt ID' field, specifically created for this purpose instead of 'Test Case ID' field. +External plugins can inject additional resources to be used by tmt using +the ``tmt.resources`` entry-point, e.g. to extend the schema validation +or tmt templates. + tmt-1.34 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~