Skip to content

Commit

Permalink
Make it possible to generate separate and all-in-one release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
KucharczykL committed Nov 25, 2024
1 parent 2c5fd75 commit fc7cda7
Show file tree
Hide file tree
Showing 11 changed files with 90 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/asciidoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v4
- uses: openSUSE/doc-ci@gha-validate
with:
dc-files: "DC-release-notes-micro"
dc-files: "DC-release-notes-micro DC-release-notes-micro-60 DC-release-notes-micro-61"
validate-ids: true
validate-images: true
validate-tables: true
Expand Down
2 changes: 1 addition & 1 deletion DC-release-notes-micro
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
MAIN=adoc/micro/release-notes.adoc
MAIN=adoc/micro/release-notes-micro.adoc
ADOC_POST=yes
ADOC_TYPE=article
ADOC_POST_STYLE=adoc_postprocess.xsl
Expand Down
8 changes: 8 additions & 0 deletions DC-release-notes-micro-60
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
MAIN=adoc/micro/release-notes-micro-60.adoc
ADOC_POST=yes
ADOC_TYPE=article
ADOC_POST_STYLE=adoc_postprocess.xsl
STYLEROOT=/usr/share/xml/docbook/stylesheet/suse2022-ns
XSLTPARAM="--stringparam "homepage=https://www.suse.com""
XSLTPARAM+="--stringparam "overview-page=https://www.suse.com/releasenotes""
XSLTPARAM+="--stringparam "overview-page-title=Back\ to\ Release\ Notes\ for\ SUSE\ products""
8 changes: 8 additions & 0 deletions DC-release-notes-micro-61
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
MAIN=adoc/micro/release-notes-micro-61.adoc
ADOC_POST=yes
ADOC_TYPE=article
ADOC_POST_STYLE=adoc_postprocess.xsl
STYLEROOT=/usr/share/xml/docbook/stylesheet/suse2022-ns
XSLTPARAM="--stringparam "homepage=https://www.suse.com""
XSLTPARAM+="--stringparam "overview-page=https://www.suse.com/releasenotes""
XSLTPARAM+="--stringparam "overview-page-title=Back\ to\ Release\ Notes\ for\ SUSE\ products""
4 changes: 2 additions & 2 deletions adoc/micro/attributes.adoc
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
:productname: SL Micro
:productnameshort: SLM
:previous-version: 5.5
:rel-date: TBD

:power-product: {productname} for POWER

:doc-url: https://documentation.suse.com
:doc-url-beta: https://susedoc.github.io/doc-sle/main
:doc-url-source: https://www.suse.com/download/sle-micro/

Expand All @@ -13,7 +13,7 @@

// conditionals-begin
// lifecycle: beta|maintained|unmaintained
:lifecycle: beta
// :lifecycle: beta
// conditionals-end

:copyright-begin: 2024
Expand Down
12 changes: 12 additions & 0 deletions adoc/micro/release-notes-micro-60-docinfo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<dm:docmanager xmlns:dm="urn:x-suse:ns:docmanager">
<dm:bugtracker>
<dm:url>https://bugzilla.suse.com/enter_bug.cgi</dm:url>
<dm:component>Release Notes</dm:component>
<dm:product>SUSE Linux Enterprise Micro 6.0</dm:product>
<dm:assignee>[email protected]</dm:assignee>
</dm:bugtracker>
</dm:docmanager>
<releaseinfo>@VERSION@</releaseinfo>
<productname>SL Micro Release Notes</productname>
<productnumber>{this-version}</productnumber>
<date><?dbtimestamp format="Y-m-d"?></date>
24 changes: 24 additions & 0 deletions adoc/micro/release-notes-micro-60.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
include::../common/attributes-generic.adoc[]
include::attributes.adoc[]

:previous-version: 5.5
:this-version: 6.0
:next-version: 6.1

= SL Micro Release Notes

:abstract: This document provides an overview of high-level general features, capabilities, and limitations of {productname} and important product updates.

{productname} is a modern operating system primarily targeted for edge computing. This document provides a high-level overview of its features, capabilities, and limitations.

include::../common/about-rn.adoc[]

include::../common/about-documentation.adoc[]

:leveloffset: +1
include::version60.adoc[]
:leveloffset: -1

include::../common/source-code.adoc[]

include::../common/legal.adoc[]
12 changes: 12 additions & 0 deletions adoc/micro/release-notes-micro-61-docinfo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<dm:docmanager xmlns:dm="urn:x-suse:ns:docmanager">
<dm:bugtracker>
<dm:url>https://bugzilla.suse.com/enter_bug.cgi</dm:url>
<dm:component>Release Notes</dm:component>
<dm:product>SUSE Linux Enterprise Micro 6.1</dm:product>
<dm:assignee>[email protected]</dm:assignee>
</dm:bugtracker>
</dm:docmanager>
<releaseinfo>@VERSION@</releaseinfo>
<productname>SL Micro Release Notes</productname>
<productnumber>{this-version}</productnumber>
<date><?dbtimestamp format="Y-m-d"?></date>
22 changes: 22 additions & 0 deletions adoc/micro/release-notes-micro-61.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
include::../common/attributes-generic.adoc[]
include::attributes.adoc[]

:previous-version: 6.0
:this-version: 6.1
:next-version: 6.2

= SL Micro Release Notes

:abstract: This document provides an overview of high-level general features, capabilities, and limitations of {productname} and important product updates.

{productname} is a modern operating system primarily targeted for edge computing. This document provides a high-level overview of its features, capabilities, and limitations.

include::../common/about-rn.adoc[]

include::../common/about-documentation.adoc[]

include::version61.adoc[]

include::../common/source-code.adoc[]

include::../common/legal.adoc[]
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ include::attributes.adoc[]

= SL Micro Release Notes

:productname: SL Micro
:doc-url: https://documentation.suse.com
:abstract: This document provides an overview of high-level general features, capabilities, and limitations of {productname} and important product updates.
:rn-url: https://www.suse.com/releasenotes

{productname} is a modern operating system primarily targeted for edge computing. This document provides a high-level overview of its features, capabilities, and limitations.

Expand Down

0 comments on commit fc7cda7

Please sign in to comment.