0
0

Move src/web/about/pages --> docs/

This commit is contained in:
syuilo 2016-12-31 06:50:13 +09:00
parent c3d5ed19b8
commit 0162ab9645
9 changed files with 10 additions and 10 deletions

View File

@ -35,7 +35,7 @@ html(lang='ja', dir='ltr')
footer
p.contribution
| 間違いを見つけた、またはドキュメントに貢献したいですか?
a(href='https://github.com/syuilo/misskey/blob/master/src/web/about/pages/' + path + '.pug', target='_blank') Github 上でこのページを編集する
a(href='https://github.com/syuilo/misskey/blob/master/docs/' + path + '.pug', target='_blank') Github 上でこのページを編集する
| か、
a(href='https://github.com/syuilo/misskey/fork', target='_blank') Github からこのサイトを Fork してプルリクエストしましょう!
p.copyright (c) syuilo 2016

View File

@ -1,4 +1,4 @@
extend ../../../base
extend ../../BASE
block title
| Entity: Post

View File

@ -1,4 +1,4 @@
extend ../../../base
extend ../../BASE
block title
| Entity: User

View File

@ -1,4 +1,4 @@
extend ../../base
extend ../BASE
block title
| Getting Started

View File

@ -1,4 +1,4 @@
extend ../../base
extend ../BASE
block title
| ライブラリ

View File

@ -1,4 +1,4 @@
extend ../base
extend ./BASE
block title
| About Misskey

View File

@ -1,4 +1,4 @@
extend ../base
extend ./BASE
block title
| ライセンス

View File

@ -1,4 +1,4 @@
extend ../base
extend ./BASE
block title
| 利用規約

View File

@ -90,9 +90,9 @@ gulp.task('build:about:docs', () => {
const licenses = glob.sync('./node_modules/**/LICENSE*');
const licenseHtml = getLicenseHtml('./LICENSE');
const thirdpartyLicensesHtml = licenses.map(license => getLicenseSectionHtml(license)).join('');
const pugs = glob.sync('./src/web/about/pages/**/*.pug');
const pugs = glob.sync('./docs/**/*.pug');
const streams = pugs.map(file => {
const page = file.replace('./src/web/about/pages/', '').replace('.pug', '');
const page = file.replace('./docs/', '').replace('.pug', '');
return gulp.src(file)
.pipe(pug({
locals: Object.assign({