Skip to content

Commit f01f467

Browse files
committed
fix url format for ScreenRelatedResources
1 parent e465012 commit f01f467

1 file changed

Lines changed: 24 additions & 4 deletions

File tree

src/components/ScreenRelatedResources.vue

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,31 +162,51 @@ export default defineComponent({
162162
const helpData = {
163163
repository: {
164164
title: 'repository',
165-
url: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#repository',
165+
url: [
166+
{
167+
text: 'Click here to see the documentation for repository.',
168+
link: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#repository'
169+
}
170+
],
166171
description: 'URL of the work in a repository/archive that is neither a source code repository nor a build artifact repository',
167172
examples: [
168173
'https://ascl.net/2105.013'
169174
]
170175
},
171176
repositoryArtifact: {
172177
title: 'repository-artifact',
173-
url: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#repository-artifact',
178+
url: [
179+
{
180+
text: 'Click here to see the documentation for repository-artifact.',
181+
link: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#repository-artifact'
182+
}
183+
],
174184
description: 'URL of the work in a build artifact/binary repository',
175185
examples: [
176186
'https://search.maven.org/artifact/org.corpus-tools/cff-maven-plugin/0.4.0/maven-plugin'
177187
]
178188
},
179189
repositoryCode: {
180190
title: 'repository-code',
181-
url: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#repository-code',
191+
url: [
192+
{
193+
text: 'Click here to see the documentation for repository-code.',
194+
link: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#repository-code'
195+
}
196+
],
182197
description: 'URL of the work in a source code repository',
183198
examples: [
184199
'https://github.com/citation-file-format/citation-file-format'
185200
]
186201
},
187202
url: {
188203
title: 'url',
189-
url: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#url',
204+
url: [
205+
{
206+
text: 'Click here to see the documentation for url.',
207+
link: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#url'
208+
}
209+
],
190210
description: 'URL of the landing page/website for the work',
191211
examples: [
192212
'https://citation-file-format.github.io/'

0 commit comments

Comments
 (0)