chore: Changelog update
This commit is contained in:
parent
4b9706886d
commit
6d011f1eae
4 changed files with 14 additions and 5 deletions
|
@ -17,6 +17,7 @@ const theme = require('../packages/plugin-theme/dist')
|
|||
const pi = require('../packages/pattern-info/dist')
|
||||
const models = require('../packages/models/dist')
|
||||
const wb32 = models.withBreasts.size32
|
||||
const noVersions = require('../packages/plugin-versionfree-svg')
|
||||
|
||||
const image = (pattern, option) => `
|
||||
|
||||
|
@ -29,7 +30,6 @@ const insertImage = (file, pattern, option) => {
|
|||
if (md.indexOf('image shows the effect of this option') === -1) fs.writeFileSync(file, md+image(pattern, option))
|
||||
}
|
||||
|
||||
|
||||
const createImages = () => {
|
||||
for (const pattern of pi.list) {
|
||||
const Pattern = require(`../packages/${pattern}/dist`)
|
||||
|
@ -40,7 +40,7 @@ const createImages = () => {
|
|||
idPrefix: `${pattern}_${option}`,
|
||||
embed: true,
|
||||
}
|
||||
}).use(theme)
|
||||
}).use(theme).use(noVersions)
|
||||
const file = path.join('markdown', 'org', 'docs', 'patterns', pattern, 'options', option.toLowerCase(), `${pattern}_${option.toLowerCase()}_sample.svg`)
|
||||
console.log(file)
|
||||
const svg = p.sampleOption(option).render()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue