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({