Skip to content

Commit 556497f

Browse files
committed
Remove unused patterns
ds.type.containerref ds.type.hexdigest ds.false.enum ds.true.enum ds.categoryid.attr
1 parent fd48d5d commit 556497f

1 file changed

Lines changed: 7 additions & 31 deletions

File tree

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

Lines changed: 7 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -209,24 +209,7 @@ ds.type.idmulti =
209209
pattern="""([\-_\.\+a-zA-Z0-9]+ )*[\-_\.\+a-zA-Z0-9]+"""
210210
}
211211

212-
ds.type.containerref =
213-
## A reference to a remote container image
214-
# matches the expression used by daps2docker
215-
[
216-
db:refpurpose [ "A reference to a remote container image" ]
217-
]
218-
xsd:token {
219-
pattern="""[\-_\.a-zA-Z0-9]+(/[\-_\.a-zA-Z0-9]+)*(:[\-_\.a-zA-Z0-9]+)?"""
220-
}
221212

222-
ds.type.hexdigest =
223-
## A hash/hex digest (such as a Docker or Git SHA reference)
224-
[
225-
db:refpurpose [ "A hash/hex digest (such as a Docker or Git SHA reference" ]
226-
]
227-
xsd:token {
228-
pattern="""[a-f0-9]{7,}"""
229-
}
230213

231214

232215
# A basic title template that allows strings like "title subtitle product/docset",
@@ -246,14 +229,6 @@ ds.type.titleformat.link =
246229
## Elements of titles displayed on navigational pages for externally-hosted documents
247230
"title" | "title docset"
248231

249-
ds.false.enum =
250-
## Boolean false value
251-
"0" | "false"
252-
253-
ds.true.enum =
254-
## Boolean true value
255-
"1" | "true"
256-
257232
}
258233

259234
# TAG/ATTRIBUTE SETS
@@ -762,12 +737,13 @@ div {
762737
db:refpurpose [ "Definition of category (default language)" ]
763738
]
764739
div {
765-
ds.categoryid.attr =
766-
## Category ID, must be unique across the configuration for a single product
767-
[
768-
db:refpurpose [ "Category ID, must be unique across the configuration for a single product" ]
769-
]
770-
attribute categoryid { ds.type.id }
740+
# UNUSED
741+
# ds.categoryid.attr =
742+
# ## Category ID, must be unique across the configuration for a single product
743+
# [
744+
# db:refpurpose [ "Category ID, must be unique across the configuration for a single product" ]
745+
# ]
746+
# attribute categoryid { ds.type.id }
771747

772748
ds.category.default =
773749
## Definition of category (default language)

0 commit comments

Comments
 (0)