summaryrefslogtreecommitdiff
path: root/src/web/docs/gulpfile.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-12-17 04:02:30 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-12-17 04:02:30 +0900
commitda279f9e50839da68746ad6460045d0f358818ae (patch)
treeb8442b8de433a53d9ba0105eaaec2426206b2aaa /src/web/docs/gulpfile.ts
parentMerge pull request #1002 from syuilo/greenkeeper/style-loader-0.19.1 (diff)
downloadsharkey-da279f9e50839da68746ad6460045d0f358818ae.tar.gz
sharkey-da279f9e50839da68746ad6460045d0f358818ae.tar.bz2
sharkey-da279f9e50839da68746ad6460045d0f358818ae.zip
:v:
Diffstat (limited to 'src/web/docs/gulpfile.ts')
-rw-r--r--src/web/docs/gulpfile.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/web/docs/gulpfile.ts b/src/web/docs/gulpfile.ts
index 61e44a1dc3..6668abdec6 100644
--- a/src/web/docs/gulpfile.ts
+++ b/src/web/docs/gulpfile.ts
@@ -37,7 +37,8 @@ gulp.task('doc:docs', () => {
const vars = {
common: commonVars,
lang: lang,
- title: fs.readFileSync(file, 'utf-8').match(/^h1 (.+?)\r?\n/)[1]
+ title: fs.readFileSync(file, 'utf-8').match(/^h1 (.+?)\r?\n/)[1],
+ src: `https://github.com/syuilo/misskey/tree/master/src/web/docs/${name}.${lang}.pug`,
};
pug.renderFile(file, vars, (renderErr, content) => {
if (renderErr) {