mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-27 14:28:08 +09:00
Move src/web/about/pages --> docs/
This commit is contained in:
parent
88c8581a5a
commit
fcf9af2dcc
@ -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
|
@ -1,4 +1,4 @@
|
||||
extend ../../../base
|
||||
extend ../../BASE
|
||||
|
||||
block title
|
||||
| Entity: Post
|
@ -1,4 +1,4 @@
|
||||
extend ../../../base
|
||||
extend ../../BASE
|
||||
|
||||
block title
|
||||
| Entity: User
|
@ -1,4 +1,4 @@
|
||||
extend ../../base
|
||||
extend ../BASE
|
||||
|
||||
block title
|
||||
| Getting Started
|
@ -1,4 +1,4 @@
|
||||
extend ../../base
|
||||
extend ../BASE
|
||||
|
||||
block title
|
||||
| ライブラリ
|
@ -1,4 +1,4 @@
|
||||
extend ../base
|
||||
extend ./BASE
|
||||
|
||||
block title
|
||||
| About Misskey
|
@ -1,4 +1,4 @@
|
||||
extend ../base
|
||||
extend ./BASE
|
||||
|
||||
block title
|
||||
| ライセンス
|
@ -1,4 +1,4 @@
|
||||
extend ../base
|
||||
extend ./BASE
|
||||
|
||||
block title
|
||||
| 利用規約
|
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user