feat: 文档整合scalar 主题, 优化 redoc-free主题, 优化页面渲染
This commit is contained in:
@@ -4,10 +4,10 @@
|
||||
<title>{{DOC_TITLE}}</title>
|
||||
<!-- needed for adaptive design -->
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta content="width=device-width, initial-scale=1" name="viewport">
|
||||
<!-- https://fonts.googleapis.com/css?family=Montserrat:300,400,700|Roboto:300,400,700 -->
|
||||
<!-- 预留占位符, 可以通过外部替换 -->
|
||||
<link href="{{CSS_FAMILY}}" rel="stylesheet">
|
||||
<link href="style.css?family=Montserrat:300,400,700|Roboto:300,400,700" rel="stylesheet">
|
||||
|
||||
<!--
|
||||
Redoc doesn't change outer page styles
|
||||
@@ -24,6 +24,6 @@
|
||||
<!--doc.json, 相对于外部设置好的base_url-->
|
||||
<redoc spec-url='{{DOC_PATH}}'></redoc>
|
||||
<!--https://cdn.redoc.ly/redoc/latest/bundles/redoc.standalone.js-->
|
||||
<script src="{{REDOC_STANDALONE_JS}}"> </script>
|
||||
<script src="redoc.standalone.js"> </script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user