summaryrefslogtreecommitdiff
path: root/src/web/docs
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-01-01 02:08:41 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-01-01 02:08:41 +0900
commit88e4f1b287e9fa6be12b5a2277073265d6732527 (patch)
treee57d73ac9c20358f58c679ae57937c6b0c2e77cc /src/web/docs
parentUpdate dependencies :rocket: (diff)
downloadmisskey-88e4f1b287e9fa6be12b5a2277073265d6732527.tar.gz
misskey-88e4f1b287e9fa6be12b5a2277073265d6732527.tar.bz2
misskey-88e4f1b287e9fa6be12b5a2277073265d6732527.zip
:v:
Diffstat (limited to 'src/web/docs')
-rw-r--r--src/web/docs/license.en.pug3
-rw-r--r--src/web/docs/license.ja.pug3
-rw-r--r--src/web/docs/vars.ts3
3 files changed, 9 insertions, 0 deletions
diff --git a/src/web/docs/license.en.pug b/src/web/docs/license.en.pug
new file mode 100644
index 0000000000..240756e7ea
--- /dev/null
+++ b/src/web/docs/license.en.pug
@@ -0,0 +1,3 @@
+h1 License
+
+div!= common.license
diff --git a/src/web/docs/license.ja.pug b/src/web/docs/license.ja.pug
new file mode 100644
index 0000000000..1f44f3f5e7
--- /dev/null
+++ b/src/web/docs/license.ja.pug
@@ -0,0 +1,3 @@
+h1 ライセンス
+
+div!= common.license
diff --git a/src/web/docs/vars.ts b/src/web/docs/vars.ts
index 65b224fbff..95ae9ee629 100644
--- a/src/web/docs/vars.ts
+++ b/src/web/docs/vars.ts
@@ -4,6 +4,7 @@ import * as yaml from 'js-yaml';
import { fa } from '../../common/build/fa';
import config from '../../conf';
+import { licenseHtml } from '../../common/build/license';
const constants = require('../../const.json');
export default function(): { [key: string]: any } {
@@ -42,5 +43,7 @@ export default function(): { [key: string]: any } {
vars['facss'] = fa.dom.css();
+ vars['license'] = licenseHtml;
+
return vars;
}