mirror of
https://gitee.com/tawords/tawords-docs
synced 2025-09-01 23:43:27 +08:00
网站使用相对路径;整理 [三、接口文档] 部分文档
This commit is contained in:
@@ -13,9 +13,12 @@
|
||||
<link rel="shortcut icon" href="favicon.ico" />
|
||||
|
||||
<style>
|
||||
.cover.show {
|
||||
background: linear-gradient(to left bottom, hsl(189, 100%, 85%) 0%,hsl(232, 100%, 85%) 100%)!important;
|
||||
}
|
||||
/* 首页封面背景渐变色样式 */
|
||||
.cover.show { background: linear-gradient(to left bottom, hsl(189, 100%, 85%) 0%,hsl(232, 100%, 85%) 100%)!important; }
|
||||
/* 左侧侧边栏下面多留出一些空白 */
|
||||
.sidebar-nav { padding-bottom: 60vh!important; }
|
||||
/* 左侧侧边栏缩进更明显一些 */
|
||||
.sidebar ul { margin-left: 23px!important; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
@@ -33,7 +36,7 @@
|
||||
// 显示导航栏
|
||||
loadNavbar: true,
|
||||
|
||||
subMaxLevel: 2, // 最大支持渲染的标题层级
|
||||
subMaxLevel: 3, // 最大支持渲染的标题层级
|
||||
|
||||
// 切换页面后自动跳转到页面顶部
|
||||
auto2top: true,
|
||||
@@ -51,7 +54,7 @@
|
||||
autoHeader: true,
|
||||
|
||||
// 启用相对路径
|
||||
// relativePath: true,
|
||||
relativePath: true,
|
||||
|
||||
// 执行文档里的 script 标签里的脚本,只执行第一个 script
|
||||
executeScript: true,
|
||||
@@ -74,7 +77,7 @@
|
||||
paths: [],
|
||||
placeholder: '搜索',
|
||||
noData: '没有找到结果',
|
||||
depth: 3, // 搜索标题的最大层级, 1 - 6
|
||||
depth: 6, // 搜索标题的最大层级, 1 - 6
|
||||
hideOtherSidebarContent: true, // 是否隐藏其他侧边栏内容
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user