Skip to content

Commit

Permalink
Remove remaining REMARK stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
programming-wolf committed Sep 5, 2024
1 parent 4127a55 commit 3111f4d
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 41 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,3 @@ Das Modul kann unabhängig von einer CPSA-F-Zertifizierung besucht werden.
- The certification is done as an assignment. The assessment and oral exam is conducted by experts appointed by the iSAQB.
// end::EN[]

// tag::REMARK[]
// end::REMARK[]
2 changes: 0 additions & 2 deletions docs/00a-preamble/02-advanced-level-knowledge.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,3 @@ CPSA-A graduates can:
- Control and execute architecture-relevant communication in medium to large development teams
// end::EN[]

// tag::REMARK[]
// end::REMARK[]
3 changes: 0 additions & 3 deletions docs/00a-preamble/03-prerequisites.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,3 @@
[.text-center]
image:00-preamble/cpsa-a-logo.png[pdfwidth=50%,align=center,alt="Certified Professional for Software Architecture^(R)^ Advanced Level (CPSA-A)"]


// tag::REMARK[]
// end::REMARK[]
6 changes: 0 additions & 6 deletions docs/00b-basics/03-timing-didactics-and-more.adoc
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
// tag::REMARK[]
[NOTE]
====
Bitte die **?** durch die Anzahl der Tage sowie die erreichbaren Punkte ersetzen.
====
// end::REMARK[]
:recommended-duration-in-days: 3
:methodical-credits: 10
:technical-credits: 20
Expand Down
2 changes: 0 additions & 2 deletions docs/00b-basics/06-complementary-information.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,3 @@ Soweit für das Verständnis des Lehrplans erforderlich, haben wir Fachbegriffe
To the extent necessary for understanding the curriculum, we have added definitions of technical terms to the https://github.com/isaqb-org/glossary[iSAQB glossary] and complemented them by references to (translated) literature.
// end::EN[]

// tag::REMARK[]
// end::REMARK[]
24 changes: 1 addition & 23 deletions docs/config/setup.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,15 @@
:icons: font
:sectnumlevels: 2
:imagesdir: images

// if the attribute ":withRemarks:" is set, we amend every content-include
// by ";REMARK", so that the sections tagged "REMARK" are always included.
:withRemarks!:
:remarks:
ifdef::withRemarks[]
:remarks: ;REMARK
endif::withRemarks[]
:!chapter-signifier:

// ":language:" denotes the language or the target document.
// currently only DE and EN are supported
:language: DE

// ":include_configuration:" always consists of the language, optionally
// followed by ";REMARK"
// additional markers might be configured here!
:include_configuration: tags=**;{language}{remarks};!*
:include_configuration: tags=**;{language};!*

:curriculum-short: EMBEDDED

Expand All @@ -32,16 +23,3 @@ ifeval::["{language}" == "EN"]
:curriculum-name: Dependable Embedded Systems
:curriculum-header-title: iSAQB curriculum for Advanced Level: {curriculum-short}
endif::[]

// you might want to output some internal information...
ifdef::debug_adoc[]
[NOTE]
====
Current configuration:

* Language(s): {language}
* Document version: {document-version}
* Include-configuration: {include_configuration}
====
endif::debug_adoc[]
3 changes: 0 additions & 3 deletions scripts/includeLearningObjectives.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,10 @@ ext.writeLearningObjectives = { contentDE, contentEN ->

println "Learning objectives file: " + outFile.getAbsolutePath()

final String EMPTYRemark = """// tag::REMARK[]\n// end::REMARK[]\n"""

outFile.withWriter('UTF-8') { writer ->
writer.writeLine("// this is autogenerated - please do not modify manually!\n")
writer.writeLine(contentDE)
writer.writeLine(contentEN)
writer.writeLine(EMPTYRemark)
}
}

0 comments on commit 3111f4d

Please sign in to comment.