Skip to content

Commit b7699ce

Browse files
committed
Adapt example files
1 parent 4f4e305 commit b7699ce

5 files changed

Lines changed: 35 additions & 12 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<?xml-model href="file:../portal-config-schema.rnc" type="application/relax-ng-compact-syntax"?>
3+
<categories xmlns:xi="http://www.w3.org/2001/XInclude">
4+
<xi:include href="categories/en-us.xml" />
5+
<!--<xi:include href="categories/de-de.xml" />-->
6+
</categories>

src/docbuild/config/xml/data/config.d/categories/en-us.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<category lang="en-us" default="true">
1+
<?xml-model href="file:../../portal-config-schema.rnc" type="application/relax-ng-compact-syntax"?>
2+
3+
<category lang="en-us">
24
<language categoryid="about" title="About" />
35
<language categoryid="deployment" title="Deployment" />
46
<language categoryid="inital-config" title="Initial configuration" />

src/docbuild/config/xml/data/config.d/portal.xml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,10 @@
22
<?xml-model href="file:../portal-config-schema.rnc" type="application/relax-ng-compact-syntax"?>
33
<portal xmlns:xi="http://www.w3.org/2001/XInclude" schemaversion="7.0">
44

5-
<categories>
6-
<!--<xi:include href="categories/en-us.xml" />
7-
<xi:include href="categories/de-de.xml" />-->
8-
<category lang="en-us" default="true"/>
9-
<category lang="de-de"/>
10-
</categories>
5+
<xi:include href="categories.xml" />
116

127
<productfamilies>
13-
<item id="linux">>Linux</item>
8+
<item id="linux">Linux</item>
149
<item id="cn">Cloud Native</item>
1510
<item id="suse-edge">SUSE Edge</item>
1611
<item id="suse-ai">SUSE AI</item>
@@ -22,6 +17,6 @@
2217
<item id="rn">Release Notes</item>
2318
</series>
2419

25-
<xi:include href="sles/sles.xml" />
20+
<xi:include href="sles/sles.xml" />
2621

2722
</portal>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<?xml-model href="../../../portal-config-schema.rnc" type="application/relax-ng-compact-syntax"?>
33
<descriptions>
4-
<desc default="1" lang="en-us">
4+
<desc lang="en-us">
55
<title>THE platform for your business-critical apps in any environment</title>
66
<p>
77
A multimodal operating system that paves the way for IT transformation in the

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

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<canonical>sles/16.0</canonical>
66
<builddocs>
77
<git remote="https://github.com/SUSE/doc-modular.git"/>
8-
<language default="1" lang="en-us">
8+
<locale lang="en-us">
99
<branch>maintenance/SLE16.0</branch>
1010
<!--************************ about ************************-->
1111
<deliverable category="about">
@@ -183,6 +183,26 @@
183183
<dc>DC-SAP-saptune</dc>
184184
<format html="1" pdf="1" single-html="0"/>
185185
</deliverable>
186-
</language>
186+
</locale>
187+
188+
<locale lang="de-de">
189+
<branch>main</branch>
190+
<deliverable>
191+
<dc>DC-foo</dc>
192+
<format html="1"/>
193+
</deliverable>
194+
</locale>
187195
</builddocs>
196+
197+
<external>
198+
<link category="about" gated="false">
199+
<url href="http://example.com" format="html"/> <!-- Cardinality: + -->
200+
<descriptions>
201+
<desc lang="en-us">
202+
<title> </title>
203+
</desc>
204+
<!-- more <desc> for other languages -->
205+
</descriptions>
206+
</link>
207+
</external>
188208
</docset>

0 commit comments

Comments
 (0)