Skip to content

Commit ac442d2

Browse files
author
Alan Christie
committed
docs: Refined documentation of doc-url
1 parent fb9068c commit ac442d2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

decoder/job-definition-schema.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,14 @@ definitions:
7272
type: string
7373
# The doc-url must either start 'https', or with a letter.
7474
# It cannot end with '/'.
75+
# If it starts 'https' it will be used verbatim, and is expected
76+
# to refer to a documentation file, e.g. 'https://example.com/job-doc.md'
77+
# Otherwise it is assumed to be relative to the URL used for the Manifest
78+
# that loaded this file, where all documents are expected to reside in
79+
# 'docs'. If the doc-url is not set the decoder will expect documentation for the
80+
# job to be found in 'docs/{collection}/{job}.md'. If doc-url is not null
81+
# (and does not start 'https') the decoder will expect the documentation
82+
# to be found in 'docs/{doc-url}'.
7583
doc-url:
7684
type: string
7785
pattern: '^(https|[a-z]).+(?<!/)$'

0 commit comments

Comments
 (0)