From e89850bd76c55a0ff6dbcf2bca3af609e15b36aa Mon Sep 17 00:00:00 2001 From: aschemmel-git Date: Wed, 19 Aug 2026 14:17:16 +0200 Subject: [PATCH] Add attributes to decision record template --- .../platform/docs/change/decision_record.rst | 18 +++++++++++++++--- ...nge_management_decision_record_template.rst | 2 +- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/process/folder_templates/platform/docs/change/decision_record.rst b/process/folder_templates/platform/docs/change/decision_record.rst index 16b9b54a11..6124819971 100644 --- a/process/folder_templates/platform/docs/change/decision_record.rst +++ b/process/folder_templates/platform/docs/change/decision_record.rst @@ -12,11 +12,20 @@ # SPDX-License-Identifier: Apache-2.0 # ******************************************************************************* -.. _decision_record_template: +.. _decision_record_template_instance: Decision Record Template ======================== +.. document:: [Number] Decision Record + :id: doc__number_decision_record_template + :status: draft + :version: 3 + :safety: ASIL_B + :security: YES + :realizes: wp__feat_request + :tags: template + This template is used to create new Decision Records (DRs) in the project using rst files. For markdown files, please convert the sphinx directive to markdown syntax yourself. The content of the DR is the same, only the syntax differs. @@ -31,9 +40,12 @@ In each DR file, include the following sections: .. dec_rec:: :id: dec_rec__<Platform|Feature|Component>__<Title>, dec_rec__<arch|proc|strat|infra|int>__<slug> :status: <proposed|accepted|deprecated|rejected|superseded> + :context: <what kind of problem does it address> + :decision: <state the decision which alternative is selected> :tracking: <link to GitHub issue URL, required once a DR is confirmed> - :version: 2 - :affects: <link> + :version: <version of the decision record> + :affects: <link to work products> + :consequences: <impact of this change> <Description> Descriptions shall contain at least the following sections: diff --git a/process/process_areas/change_management/guidance/change_management_decision_record_template.rst b/process/process_areas/change_management/guidance/change_management_decision_record_template.rst index 0790da63f7..f05f2c6f2a 100644 --- a/process/process_areas/change_management/guidance/change_management_decision_record_template.rst +++ b/process/process_areas/change_management/guidance/change_management_decision_record_template.rst @@ -23,7 +23,7 @@ Decision Record Template :version: 2 :complies: std_req__aspice_40__SWE-2-BP3[version==1], std_req__aspice_40__iic-17-00[version==1] - For the content see here: :ref:`decision_record_template`. + For the content see here: :ref:`decision_record_template_instance`. .. needextend:: "c.this_doc()" :+tags: change_management