Skip to content

Commit 775aad3

Browse files
authored
cleanup templates (eclipse-score#198)
1 parent f9532a9 commit 775aad3

19 files changed

Lines changed: 47 additions & 30 deletions

‎docs/module/manuals/safety_manual.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
The above directive must be updated according to your Module.
3131

3232
- Modify ``Your Module Name`` to be your Module Name or put "Platform"
33-
- Modify ``id`` to be your Module Name in upper snake case preceded by ``doc__`` and succeeded by ``safety_manual``
33+
- Modify ``id`` to be your Module Name in lower snake case preceded by ``doc__`` and followed by ``_safety_manual``
3434
- Adjust ``status`` to be ``valid``
3535
- Adjust ``safety`` and ``tags`` according to your needs
3636

@@ -106,5 +106,5 @@ Safety Anomalies
106106
107107
References
108108
----------
109-
| <link to the user manual>
109+
| :need:`doc__mod_temp_module_name_user_manual`
110110
| <other links>

‎docs/module/manuals/security_manual.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
The above directive must be updated according to your Module.
3131

3232
- Modify ``Your Module Name`` to be your Module Name
33-
- Modify ``id`` to be your Module Name in upper snake case preceded by ``doc__`` and succeeded by ``_security_manual``
33+
- Modify ``id`` to be your Module Name in lower snake case preceded by ``doc__`` and followed by ``_security_manual``
3434
- Adjust ``status`` to be ``valid``
3535
- Adjust ``security`` and ``tags`` according to your needs
3636

@@ -98,5 +98,5 @@ Security Weaknesses, Vulnerabilities
9898
9999
References
100100
----------
101-
| <link to the user manual>
101+
| :need:`doc__mod_temp_module_name_user_manual`
102102
| <other links>

‎docs/module/manuals/user_manual.rst‎

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,21 @@
1818
=========================
1919

2020
.. document:: [Module Name] User Manual
21-
:id: doc__user_manual
21+
:id: doc__mod_temp_module_name_user_manual
2222
:status: draft
2323
:version: 1
2424
:safety: QM
2525
:security: NO
2626
:realizes: wp__module_user_manual[version==1]
27-
27+
:tags: template
2828

2929
.. attention::
30-
Update the document metadata according to your needs.
30+
The above directive must be updated according to your Module.
31+
32+
- Modify ``Your Module Name`` to be your Module Name
33+
- Modify ``id`` to be your Module Name in lower snake case preceded by ``doc__`` and followed by ``_user_manual``
34+
- Adjust ``status`` to be ``valid``
35+
- Adjust ``safety``, ``security`` and ``tags`` according to your needs
3136

3237
Overview
3338
========

‎docs/module/release/release_note.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
The above directive must be updated according to your Module.
3131

3232
- Modify ``Your Module Name`` to be your Module Name
33-
- Modify ``id`` to be your Module Name in upper snake case preceded by ``doc_`` and succeeded by ``release_note``
33+
- Modify ``id`` to be your Module Name in lower snake case preceded by ``doc__`` and followed by ``_release_note``
3434
- Adjust ``status`` to be ``valid``
3535
- Adjust ``safety`` and ``tags`` according to your needs
3636

‎docs/module/safety_mgt/module_safety_analysis_fdr.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
The above directive must be updated according to your Module.
3030

3131
- Modify ``Your Module Name`` to be your Module Name
32-
- Modify ``id`` to be your Module Name in lower snake case preceded by ``doc__`` and followed by ``_safety _analysis_fdr``
32+
- Modify ``id`` to be your Module Name in lower snake case preceded by ``doc__`` and followed by ``_safety_analysis_fdr``
3333
- Adjust ``status`` to be ``valid``
3434
- Adjust ``safety``, ``security`` and ``tags`` according to your needs
3535

‎docs/module/safety_mgt/module_safety_package_fdr.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
The above directive must be updated according to your Module.
3131

3232
- Modify ``Your Module Name`` to be your Module Name
33-
- Modify ``id`` to be your Module Name in upper snake case preceded by ``doc_`` and succeeded by ``safety_package_fdr``
33+
- Modify ``id`` to be your Module Name in lower snake case preceded by ``doc__`` and followed by ``_safety_package_fdr``
3434
- Adjust ``status`` to be ``valid``
3535
- Adjust ``safety`` and ``tags`` according to your needs
3636

‎docs/module/safety_mgt/module_safety_plan.rst‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
The above directive must be updated according to your Module.
3131

3232
- Modify ``Your Module Name`` to be your Module Name
33-
- Modify ``id`` to be your Module Name in upper snake case preceded by ``doc_`` and succeeded by ``safety_plan``
33+
- Modify ``id`` to be your Module Name in lower snake case preceded by ``doc__`` and followed by ``_safety_plan``
3434
- Adjust ``status`` to be ``valid``
3535
- Adjust ``safety`` and ``tags`` according to your needs
3636

@@ -133,6 +133,11 @@ Module Work products List
133133
- :ndf:`copy('status', need_id='gd_temp__rel_mod_rel_note')`
134134
- :need:`doc__mod_temp_module_name_release_note`
135135

136+
* - :need:`wp__module_user_manual`
137+
- :need:`gd_temp__rel_mod_user_manual`
138+
- :ndf:`copy('status', need_id='gd_temp__rel_mod_user_manual')`
139+
- :need:`doc__mod_temp_module_name_user_manual`
140+
136141
Component <name> Work products List
137142
-----------------------------------
138143

‎docs/module/safety_mgt/module_safety_plan_fdr.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
The above directive must be updated according to your Module.
3131

3232
- Modify ``Your Module Name`` to be your Module Name
33-
- Modify ``id`` to be your Module Name in upper snake case preceded by ``doc_`` and succeeded by ``safety_plan_fdr``
33+
- Modify ``id`` to be your Module Name in lower snake case preceded by ``doc__`` and followed by ``_safety_plan_fdr``
3434
- Adjust ``status`` to be ``valid``
3535
- Adjust ``safety`` and ``tags`` according to your needs
3636

‎docs/module/security_mgt/module_security_package_fdr.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@
2323
:version: 1
2424
:safety: ASIL_B
2525
:security: YES
26-
:realizes: wp__fdr_reports
26+
:realizes: wp__fdr_reports_security
2727
:tags: template
2828

2929
.. attention::
3030
The above directive must be updated according to your Module.
3131

3232
- Modify ``Your Module Name`` to be your Module Name
33-
- Modify ``id`` to be your Module Name in upper snake case preceded by ``doc_`` and succeeded by ``safety_package_fdr``
33+
- Modify ``id`` to be your Module Name in lower snake case preceded by ``doc__`` and followed by ``_sec_pkg_fdr``
3434
- Adjust ``status`` to be ``valid``
3535
- Adjust ``safety`` and ``tags`` according to your needs
3636

‎docs/module/security_mgt/module_security_plan.rst‎

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
The above directive must be updated according to your Module.
3131

3232
- Modify ``Your Module Name`` to be your Module Name
33-
- Modify ``id`` to be your Module Name in upper snake case preceded by ``doc_`` and succeeded by ``security_plan``
33+
- Modify ``id`` to be your Module Name in lower snake case preceded by ``doc__`` and followed by ``_security_plan``
3434
- Adjust ``status`` to be ``valid``
3535
- Adjust ``safety`` and ``tags`` according to your needs
3636

@@ -83,21 +83,21 @@
8383
- <Link to WP>
8484
- <automated>
8585

86-
* - :need:`wp__fdr_reports` (Module Security Plan)
86+
* - :need:`wp__fdr_reports_security` (Module Security Plan)
8787
- :need:`gd_chklst__security_plan`
8888
- <automated>
8989
- <Link to issue>
9090
- <Link to WP>
9191
- <automated>
9292

93-
* - :need:`wp__fdr_reports` (Module Security Package)
93+
* - :need:`wp__fdr_reports_security` (Module Security Package)
9494
- :need:`Security Package Formal Review Checklist <gd_chklst__security_package>`
9595
- <automated>
9696
- <Link to issue>
9797
- <Link to WP>
9898
- <automated>
9999

100-
* - :need:`wp__fdr_reports` (Module's Security Analyses)
100+
* - :need:`wp__fdr_reports_security` (Module's Security Analyses)
101101
- Security Analysis FDR tbd
102102
- <automated>
103103
- <Link to issue>
@@ -132,6 +132,13 @@
132132
- <Link to WP>
133133
- <automated>
134134

135+
* - :need:`wp__module_user_manual`
136+
- :need:`gd_temp__rel_mod_user_manual`
137+
- <automated>
138+
- <Link to issue>
139+
- :need:`doc__mod_temp_module_name_user_manual`
140+
- <automated>
141+
135142
* - :need:`wp__sw_module_sbom`
136143
- Security management guidance
137144
- not started

0 commit comments

Comments
 (0)