Move src/web/about/pages --> docs/
This commit is contained in:
parent
c3d5ed19b8
commit
0162ab9645
9 changed files with 10 additions and 10 deletions
|
@ -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
|
|
@ -1,4 +1,4 @@
|
||||||
extend ../../../base
|
extend ../../BASE
|
||||||
|
|
||||||
block title
|
block title
|
||||||
| Entity: Post
|
| Entity: Post
|
|
@ -1,4 +1,4 @@
|
||||||
extend ../../../base
|
extend ../../BASE
|
||||||
|
|
||||||
block title
|
block title
|
||||||
| Entity: User
|
| Entity: User
|
|
@ -1,4 +1,4 @@
|
||||||
extend ../../base
|
extend ../BASE
|
||||||
|
|
||||||
block title
|
block title
|
||||||
| Getting Started
|
| Getting Started
|
|
@ -1,4 +1,4 @@
|
||||||
extend ../../base
|
extend ../BASE
|
||||||
|
|
||||||
block title
|
block title
|
||||||
| ライブラリ
|
| ライブラリ
|
|
@ -1,4 +1,4 @@
|
||||||
extend ../base
|
extend ./BASE
|
||||||
|
|
||||||
block title
|
block title
|
||||||
| About Misskey
|
| About Misskey
|
|
@ -1,4 +1,4 @@
|
||||||
extend ../base
|
extend ./BASE
|
||||||
|
|
||||||
block title
|
block title
|
||||||
| ライセンス
|
| ライセンス
|
|
@ -1,4 +1,4 @@
|
||||||
extend ../base
|
extend ./BASE
|
||||||
|
|
||||||
block title
|
block title
|
||||||
| 利用規約
|
| 利用規約
|
|
@ -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({
|
||||||
|
|
Loading…
Reference in a new issue