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

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

View file

@ -35,7 +35,7 @@ html(lang='ja', dir='ltr')
footer footer
p.contribution 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 してプルリクエストしましょう! a(href='https://github.com/syuilo/misskey/fork', target='_blank') Github からこのサイトを Fork してプルリクエストしましょう!
p.copyright (c) syuilo 2016 p.copyright (c) syuilo 2016

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -90,9 +90,9 @@ gulp.task('build:about:docs', () => {
const licenses = glob.sync('./node_modules/**/LICENSE*'); const licenses = glob.sync('./node_modules/**/LICENSE*');
const licenseHtml = getLicenseHtml('./LICENSE'); const licenseHtml = getLicenseHtml('./LICENSE');
const thirdpartyLicensesHtml = licenses.map(license => getLicenseSectionHtml(license)).join(''); 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 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) return gulp.src(file)
.pipe(pug({ .pipe(pug({
locals: Object.assign({ locals: Object.assign({