Skip to content

Commit 8a9f314

Browse files
committed
Add family and series for <product>
1 parent 30c1f63 commit 8a9f314

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

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

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,20 @@ div {
431431
# TODO: Is it similar to a (product) family now?
432432
attribute site-section { ds.type.alphanumeric }?
433433

434+
ds.series.attr =
435+
## Where a product belongs to which tab (SBP, TRD, Products & Solution)
436+
[
437+
db:refpurpose [ "Where a product belongs to which tab (SBP, TRD, Products & Solution)" ]
438+
]
439+
attribute series { ds.type.alphanumeric } # TODO: IDREF?
440+
441+
ds.family.attr =
442+
## Product family this product belongs to
443+
[
444+
db:refpurpose [ "Product family this product belongs to" ]
445+
]
446+
attribute family { xsd:IDREF }
447+
434448
ds.docset-sort.attr =
435449
## Whether to sort docsets of this product Z-A9-0 (`descending`, default) or 0-9A-Z (`ascending`)
436450
[
@@ -456,7 +470,9 @@ ds.product =
456470
ds.productid.attr & # TODO: use ds.id.attr?
457471
ds.schemaversion.attr? &
458472
ds.enabled.attr? &
459-
ds.site-section.attr? &
473+
ds.site-section.attr? & # TODO: Do we still need this attribute?
474+
ds.series.attr &
475+
ds.family.attr &
460476
ds.docset-sort.attr? &
461477
ds.gated.attr?
462478
),

0 commit comments

Comments
 (0)