Skip to content

Commit d495fcd

Browse files
authored
Merge pull request #1 from apinnick/troubleshooting
Add troubleshooting section
2 parents 78e7a18 + 35d248d commit d495fcd

4 files changed

+68
-0
lines changed

Diff for: docs/assembly_troubleshooting.adoc

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
:_content-type: ASSEMBLY
2+
3+
[id="troubleshooting"]
4+
= Troubleshooting
5+
6+
:context: troubleshooting
7+
8+
You might run into the following problems if you organize your chapters into subsections.
9+
10+
include::modules/proc_ticket-missing-in-subsection.adoc[leveloffset=+1]
11+
12+
include::modules/proc_chapter-missing-in-build.adoc[leveloffset=+1]

Diff for: docs/main.adoc

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ include::modules/proc_publishing-previous-releases-in-one-continuous-document.ad
2424

2525
include::modules/ref_differences-between-acorns-and-corn-3.adoc[leveloffset=+1]
2626

27+
include::assembly_troubleshooting.adoc[leveloffset=+1]
2728

2829
== Known issues and limitations
2930

Diff for: docs/modules/proc_chapter-missing-in-build.adoc

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
:_content-type: PROCEDURE
2+
3+
[id="chapter-missing-in-build_{context}"]
4+
= Chapter does not appear in build
5+
6+
The following error message in an aCoRNs build indicates that the file for a chapter was not generated:
7+
8+
[source,text]
9+
----
10+
Unresolved directive in master-template.adoc - include::acorns/generated/internal/assembly_deprecated-functionality.adoc[leveloffset=+1]
11+
----
12+
13+
aCoRNs generates either an assembly or a reference module for a chapter, depending on the structure:
14+
15+
* If a chapter contains subsections, aCoRNs generates an assembly:
16+
+
17+
`acorns/generated/internal/assembly_deprecated-functionality.adoc`.
18+
19+
* If a chapter contains no subsections, aCoRNs generates a reference module:
20+
+
21+
`acorns/generated/internal/ref_deprecated-functionality.adoc`.
22+
23+
If you change a section from _no subsections_ to _subsections_ or vice versa, you must manually update the `master-template.adoc` file so that the included file is correct.

Diff for: docs/modules/proc_ticket-missing-in-subsection.adoc

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
:_content-type: PROCEDURE
2+
3+
[id="ticket-missing-in-subsection_{context}"]
4+
= Ticket does not appear in subsection
5+
6+
If you created subsections in the `templates.yaml` file and a ticket does not appear in the builds, the most common reason is that the ticket does not match the filter.
7+
For example, the *Component* field of the ticket might not match the component filter of the subsection.
8+
9+
. Check the ticket to ensure that the value of the *Component* field is correct, for example, `FIPS`.
10+
. In your repository, check the filter of the subsection in the `acorns/templates.yaml` file:
11+
+
12+
[source,text]
13+
----
14+
- &security
15+
title: "Security and authentication"
16+
filter
17+
component: ['Security','SCAP Plugin']
18+
----
19+
20+
. Add the ticket component to the subsection filter:
21+
+
22+
[source,text]
23+
----
24+
component: ['Security','SCAP Plugin','FIPS']
25+
----
26+
+
27+
Alternatively, add a component override to the ticket in the `acorns/tickets.yaml` file:
28+
+
29+
[source,text]
30+
----
31+
- [Jira, key: PROJECT-12345, { overrides: {components: ['Security']} }]
32+
----

0 commit comments

Comments
 (0)