Update more exampleUrls; style tweaks (#2639)

This commit is contained in:
Paul Melnikow
2019-01-06 08:18:19 -05:00
committed by GitHub
parent 2e1ce1a4ca
commit 83044ce325
32 changed files with 211 additions and 138 deletions

View File

@@ -52,9 +52,10 @@ module.exports = class DockerAutomatedBuild extends BaseJsonService {
return [
{
title: 'Docker Automated build',
exampleUrl: 'jrottenberg/ffmpeg',
pattern: ':user/:repo',
keywords: ['docker', 'automated', 'build'],
namedParams: {
user: 'jrottenberg',
repo: 'ffmpeg',
},
staticExample: this.render({ isAutomated: true }),
},
]

View File

@@ -56,9 +56,10 @@ module.exports = class DockerBuild extends BaseJsonService {
return [
{
title: 'Docker Build Status',
exampleUrl: 'jrottenberg/ffmpeg',
pattern: ':user/:repo',
keywords: ['docker', 'build', 'status'],
namedParams: {
user: 'jrottenberg',
repo: 'ffmpeg',
},
staticExample: this.render({ status: 10 }),
},
]

View File

@@ -53,9 +53,10 @@ module.exports = class DockerPulls extends BaseJsonService {
return [
{
title: 'Docker Pulls',
exampleUrl: '_/ubuntu',
keywords: ['docker', 'pulls'],
pattern: ':user/:repo',
namedParams: {
user: '_',
repo: 'ubuntu',
},
staticExample: this.render({ count: 765400000 }),
},
]

View File

@@ -49,9 +49,10 @@ module.exports = class DockerStars extends BaseService {
return [
{
title: 'Docker Stars',
exampleUrl: '_/ubuntu',
pattern: ':user/:repo',
keywords: ['docker', 'stars'],
namedParams: {
user: '_',
repo: 'ubuntu',
},
staticExample: this.render({ stars: 9000 }),
},
]