Skip to content

Commit 25c012a

Browse files
committed
Add optional path attribute for product & docset
1 parent d0d690c commit 25c012a

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

src/docbuild/config/xml/data/portal-config-schema.rnc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,13 @@ ds.id.attr =
304304
]
305305
attribute id { xsd:ID }
306306

307+
ds.path.attr =
308+
## Relative path to a file or directory, with no leading or trailing slash
309+
[
310+
db:refpurpose [ "Relative path to a file or directory, with no leading or trailing slash" ]
311+
]
312+
attribute path { ds.type.dirname }
313+
307314
ds.class.attr =
308315
## Class attribute (HTML)
309316
[
@@ -551,6 +558,7 @@ ds.product =
551558
# of these ID per productconfig file.
552559
(
553560
ds.xmlbase.attr? &
561+
ds.path.attr? &
554562
ds.productid.attr & # TODO: use ds.id.attr?
555563
ds.schemaversion.attr? &
556564
ds.enabled.attr? &
@@ -850,6 +858,7 @@ ds.docset =
850858
element docset {
851859
(
852860
ds.xmlbase.attr? &
861+
ds.path.attr? &
853862
ds.id.attr &
854863
ds.lifecycle.attr &
855864
ds.navigation.attr? &

0 commit comments

Comments
 (0)