diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2016-12-31 06:50:13 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2016-12-31 06:50:13 +0900 |
| commit | 0162ab96453847592691a65087495976af97a8fa (patch) | |
| tree | 03f2f3e7eae8210c7e9183bfb602fb51a01b6449 | |
| parent | :v: (diff) | |
| download | sharkey-0162ab96453847592691a65087495976af97a8fa.tar.gz sharkey-0162ab96453847592691a65087495976af97a8fa.tar.bz2 sharkey-0162ab96453847592691a65087495976af97a8fa.zip | |
Move src/web/about/pages --> docs/
| -rw-r--r-- | docs/BASE.pug (renamed from src/web/about/base.pug) | 2 | ||||
| -rw-r--r-- | docs/api/entities/post.pug (renamed from src/web/about/pages/api/entities/post.pug) | 2 | ||||
| -rw-r--r-- | docs/api/entities/user.pug (renamed from src/web/about/pages/api/entities/user.pug) | 2 | ||||
| -rw-r--r-- | docs/api/getting-started.pug (renamed from src/web/about/pages/api/getting-started.pug) | 2 | ||||
| -rw-r--r-- | docs/api/library.pug (renamed from src/web/about/pages/api/library.pug) | 2 | ||||
| -rw-r--r-- | docs/index.pug (renamed from src/web/about/pages/index.pug) | 2 | ||||
| -rw-r--r-- | docs/license.pug (renamed from src/web/about/pages/license.pug) | 2 | ||||
| -rw-r--r-- | docs/tou.pug (renamed from src/web/about/pages/tou.pug) | 2 | ||||
| -rw-r--r-- | gulpfile.ts | 4 |
9 files changed, 10 insertions, 10 deletions
diff --git a/src/web/about/base.pug b/docs/BASE.pug index 73ed35a160..d87052b6e6 100644 --- a/src/web/about/base.pug +++ b/docs/BASE.pug @@ -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 diff --git a/src/web/about/pages/api/entities/post.pug b/docs/api/entities/post.pug index ad53be9540..e505d3fcb6 100644 --- a/src/web/about/pages/api/entities/post.pug +++ b/docs/api/entities/post.pug @@ -1,4 +1,4 @@ -extend ../../../base +extend ../../BASE block title | Entity: Post diff --git a/src/web/about/pages/api/entities/user.pug b/docs/api/entities/user.pug index eef973fd63..f5d4be2666 100644 --- a/src/web/about/pages/api/entities/user.pug +++ b/docs/api/entities/user.pug @@ -1,4 +1,4 @@ -extend ../../../base +extend ../../BASE block title | Entity: User diff --git a/src/web/about/pages/api/getting-started.pug b/docs/api/getting-started.pug index 61c9a9305f..8e6e6b4f47 100644 --- a/src/web/about/pages/api/getting-started.pug +++ b/docs/api/getting-started.pug @@ -1,4 +1,4 @@ -extend ../../base +extend ../BASE block title | Getting Started diff --git a/src/web/about/pages/api/library.pug b/docs/api/library.pug index b1ed16e71d..4b2943b2a9 100644 --- a/src/web/about/pages/api/library.pug +++ b/docs/api/library.pug @@ -1,4 +1,4 @@ -extend ../../base +extend ../BASE block title | ライブラリ diff --git a/src/web/about/pages/index.pug b/docs/index.pug index 1fcd364689..bae22d9c7f 100644 --- a/src/web/about/pages/index.pug +++ b/docs/index.pug @@ -1,4 +1,4 @@ -extend ../base +extend ./BASE block title | About Misskey diff --git a/src/web/about/pages/license.pug b/docs/license.pug index 2d91a00f53..229a47385a 100644 --- a/src/web/about/pages/license.pug +++ b/docs/license.pug @@ -1,4 +1,4 @@ -extend ../base +extend ./BASE block title | ライセンス diff --git a/src/web/about/pages/tou.pug b/docs/tou.pug index dc0c266fd7..cb3ab84a48 100644 --- a/src/web/about/pages/tou.pug +++ b/docs/tou.pug @@ -1,4 +1,4 @@ -extend ../base +extend ./BASE block title | 利用規約 diff --git a/gulpfile.ts b/gulpfile.ts index 144a3733db..9afbd5796c 100644 --- a/gulpfile.ts +++ b/gulpfile.ts @@ -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({ |