Skip to content

Commit 68204a1

Browse files
committed
Idea: A translated deliverable only allows <ref/>
As <ref> also allows descriptions, a prebuilt is not really necessary.
1 parent ea08b93 commit 68204a1

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,13 +1027,14 @@ div {
10271027
& ds.deliverable.trans.type.attr
10281028
),
10291029
#
1030-
(ds.ref | ds.deliverable.prebuilt)
1030+
# TODO: Do we want only have references in translations?
1031+
# The <ref> content model allows also descriptions.
1032+
ds.ref # | ds.deliverable.prebuilt
10311033
}
10321034

10331035
}
10341036

10351037

1036-
10371038
[
10381039
db:refname [ "branch" ]
10391040
db:refpurpose [ "Branch of the source Git repository" ]

0 commit comments

Comments
 (0)