summaryrefslogtreecommitdiff
path: root/src/client/assets
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2020-04-03 23:35:14 +0900
committersyuilo <syuilotan@yahoo.co.jp>2020-04-03 23:35:14 +0900
commiteec1af1f52aa217e12e52c7c9d66f0106e66a200 (patch)
treec89a99e6d289c411f1457743776a9d097c9e6554 /src/client/assets
parentAPメンションはaudienceじゃなくてtagを参照するなど (#6128) (diff)
downloadsharkey-eec1af1f52aa217e12e52c7c9d66f0106e66a200.tar.gz
sharkey-eec1af1f52aa217e12e52c7c9d66f0106e66a200.tar.bz2
sharkey-eec1af1f52aa217e12e52c7c9d66f0106e66a200.zip
Revert
Diffstat (limited to 'src/client/assets')
-rw-r--r--src/client/assets/redoc.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/client/assets/redoc.html b/src/client/assets/redoc.html
new file mode 100644
index 0000000000..9803464cb1
--- /dev/null
+++ b/src/client/assets/redoc.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Misskey API</title>
+ <!-- needed for adaptive design -->
+ <meta charset="utf-8"/>
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,700|Roboto:300,400,700" rel="stylesheet">
+
+ <!--
+ ReDoc doesn't change outer page styles
+ -->
+ <style>
+ body {
+ margin: 0;
+ padding: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <redoc spec-url='/api.json'></redoc>
+ <script src="https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js"> </script>
+ </body>
+</html>