Skip to content

Commit 24c830c

Browse files
committed
Add "html" tag with title, subtitle
1 parent 4fe667e commit 24c830c

1 file changed

Lines changed: 57 additions & 5 deletions

File tree

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

Lines changed: 57 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -715,6 +715,18 @@ ds.title =
715715
}
716716
}
717717

718+
[
719+
db:refname [ "subtitle" ]
720+
db:refpurpose [ "A short subtitle of the product"]
721+
]
722+
div {
723+
ds.subtitle =
724+
## A short subtitle of the product
725+
element subtitle {
726+
text
727+
}
728+
}
729+
718730
[
719731
db:refname [ "categories" ]
720732
db:refpurpose [ "Wrapper for all category elements" ]
@@ -948,7 +960,6 @@ ds.git =
948960
}
949961

950962

951-
952963
# About @translation-type:
953964
# * "list" creates a list of documents that will be built for the
954965
# translation in question. This is advantageous in the common case that only
@@ -975,7 +986,7 @@ ds.locale_default =
975986

976987

977988
[
978-
db:refname [ "locale (en-us)" ]
989+
db:refname [ "locale (translations)" ]
979990
db:refpurpose [ "Set of deliverables to build for the default language" ]
980991
]
981992
div {
@@ -1047,13 +1058,54 @@ ds.deliverable =
10471058
ds.category.attr?,
10481059
ds.titleformat.attr?,
10491060
ds.gated.attr?,
1061+
# ds.id.attr,
10501062
#
1051-
ds.subdir?,
1052-
ds.git?,
1063+
(
1064+
ds.deliverable.dc
1065+
|
1066+
ds.deliverable.html
1067+
)
1068+
}
1069+
}
1070+
1071+
[
1072+
db:refname [ "dc" ]
1073+
db:refpurpose [ "Standard DocBook/DAPS deliverable definition" ]
1074+
]
1075+
div {
1076+
ds.deliverable.dc.type.attr =
1077+
[ a:defaultValue = "dc" ]
1078+
attribute type { "dc" }
1079+
1080+
ds.deliverable.dc =
1081+
## Standard DocBook/DAPS deliverable definition
1082+
ds.deliverable.dc.type.attr?,
10531083
ds.dc,
10541084
ds.format+,
1085+
ds.subdir?,
1086+
ds.git?,
10551087
ds.partners*
1056-
}
1088+
}
1089+
1090+
1091+
[
1092+
db:refname [ "html" ]
1093+
db:refpurpose [ "Pre-built HTML content definition" ]
1094+
]
1095+
div {
1096+
ds.deliverable.html.type.attr =
1097+
attribute type { "html" }
1098+
1099+
ds.deliverable.html =
1100+
## Pre-built HTML content definition
1101+
element html {
1102+
ds.id.attr,
1103+
ds.deliverable.html.type.attr,
1104+
ds.title,
1105+
ds.subtitle?,
1106+
(ds.desc_default | ds.desc_translation)+,
1107+
ds.link
1108+
}
10571109
}
10581110

10591111
[

0 commit comments

Comments
 (0)