Skip to content

Commit 7fb1c97

Browse files
committed
Restructure the examples
1 parent 106aafe commit 7fb1c97

4 files changed

Lines changed: 39 additions & 30 deletions

File tree

src/docbuild/config/xml/data/config.d/sles/docsets/16.0.xml renamed to src/docbuild/config/xml/data/config.d/sles/16.0.xml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<?xml-model href="../../../portal-config-schema.rnc" type="application/relax-ng-compact-syntax"?>
3-
<docset setid="16.0" lifecycle="supported">
3+
<docset id="v16.0" dir="16.0" lifecycle="supported">
44
<version>16.0</version>
55
<canonical>sles/16.0</canonical>
6+
7+
<descriptions>
8+
</descriptions>
9+
610
<resources>
711
<git remote="https://github.com/SUSE/doc-modular.git"/>
812
<locale lang="en-us">
913
<branch>maintenance/SLE16.0</branch>
1014
<!--************************ about ************************-->
11-
<deliverable category="about">
15+
<deliverable category="about" type="dc">
16+
<git remote="https://github.com/SUSE/doc-modular.git"/>
1217
<dc>DC-SLE-comparison</dc>
1318
<format html="1" pdf="1" single-html="0"/>
1419
</deliverable>
@@ -196,13 +201,16 @@
196201

197202
<external>
198203
<link category="about" gated="false">
199-
<url href="http://example.com" format="html"/> <!-- Cardinality: + -->
204+
<url href="http://example.com" format="html"/>
205+
<url href="http://example.com/doc.pdf" format="pdf"/>
206+
<!-- Cardinality: + -->
200207
<descriptions>
201208
<desc lang="en-us">
202209
<title> </title>
210+
<p>...</p>
203211
</desc>
204212
<!-- more <desc> for other languages -->
205213
</descriptions>
206214
</link>
207215
</external>
208-
</docset>
216+
</docset>

src/docbuild/config/xml/data/config.d/sles/desc/descriptions.xml

Lines changed: 0 additions & 22 deletions
This file was deleted.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<?xml-model href="../../../portal-config-schema.rnc" type="application/relax-ng-compact-syntax"?>
3+
<desc lang="en-us">
4+
<title>THE platform for your business-critical apps in any environment</title>
5+
<p>
6+
A multimodal operating system that paves the way for IT transformation in the
7+
software-defined era.
8+
</p>
9+
<p>
10+
The modern and modular OS helps simplify multimodal IT, makes traditional IT
11+
infrastructure efficient and provides an engaging platform for developers.
12+
As a result, you can easily deploy and transition business-critical workloads
13+
across on-premise and public cloud environments.
14+
</p>
15+
<p>
16+
SUSE Linux Enterprise Server, based on latest SUSE Linux Enterprise, is another
17+
example of our open approach helping you optimize and modernize your multimodal
18+
IT infrastructure.
19+
</p>
20+
</desc>
Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml-model href="file:../../portal-config-schema.rnc" type="application/relax-ng-compact-syntax"?>
2-
<product id="sles" schemaversion="7.0" xmlns:xi="http://www.w3.org/2001/XInclude" family="linux" series="pas">
2+
<product id="sles" schemaversion="7.0" family="linux" series="pas"
3+
xmlns:xi="http://www.w3.org/2001/XInclude">
34
<name>SUSE Linux Enterprise Server</name>
45
<acronym>SLES</acronym>
56
<maintainers>
@@ -8,10 +9,12 @@
89
<contact>[email protected]</contact>
910
</maintainers>
1011

11-
<xi:include href="desc/descriptions.xml" />
12+
<descriptions>
13+
<xi:include href="desc/en-us.xml" />
14+
</descriptions>
1215

1316
<!-- docsets: -->
14-
<xi:include href="docsets/16.0.xml" />
17+
<xi:include href="16.0.xml" />
1518
<!-- <xi:include href="docsets/15-SP7.xml"/> -->
1619

17-
</product>
20+
</product>

0 commit comments

Comments
 (0)