Update more exampleUrls; style tweaks (#2639)
This commit is contained in:
@@ -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 }),
|
||||
},
|
||||
]
|
||||
|
||||
@@ -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 }),
|
||||
},
|
||||
]
|
||||
|
||||
@@ -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 }),
|
||||
},
|
||||
]
|
||||
|
||||
@@ -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 }),
|
||||
},
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user