1 Star 0 Fork 290

欧阳智/usage-docs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
index.html 5.90 KB
一键复制 编辑 原始数据 按行查看 历史
Louis Chan 提交于 2023-11-16 10:24 . 修改名称
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>RNOH三方库文档</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="description" content="Description">
<!-- 设置浏览器图标 -->
<link rel="icon" href="/img/logo.ico" type="image/x-icon" />
<link rel="shortcut icon" href="https://librarycodes.gitee.io/docsify-plus/img/logo.ico" type="image/x-icon" />
<!-- 默认主题 -->
<meta name="theme-color" content="#f2f4f6">
<link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/flexboxgrid/6.3.1/flexboxgrid.min.css" type="text/css" >
<link rel="stylesheet" href="css/card.min.css" type="text/css" >
<!-- <link rel="stylesheet" href="//fastly.jsdelivr.net/npm/docsify/lib/themes/vue.css"> -->
<!-- <link rel="stylesheet" href="//fastly.jsdelivr.net/npm/docsify/lib/themes/vue.css" /> -->
<!-- <link rel="stylesheet" href="//fastly.jsdelivr.net/npm/docsify/lib/themes/buble.css" /> -->
<!-- <link rel="stylesheet" href="//fastly.jsdelivr.net/npm/docsify/lib/themes/dark.css" /> -->
<!-- <link rel="stylesheet" href="//fastly.jsdelivr.net/npm/docsify/lib/themes/pure.css" /> -->
</head>
<body>
<div data-app id="main">加载中</div>
<script>
window.$docsify = {
el: '#main',
themeColor: '#876296',
// 项目名称
name: 'RNOH三方库说明文档',
// 项目图标
// logo: '/img/icon.svg',
// 仓库地址,点击右上角的Github章鱼猫头像会跳转到此地址
repo: 'https://gitee.com/react-native-oh-library/usage-docs/tree/master',
// 封面支持,默认加载的是项目根目录下的_coverpage.md文件
coverpage: true,
// 侧边栏支持,默认加载的是项目根目录下的_sidebar.md文件
loadSidebar: true,
// 导航栏支持,默认加载的是项目根目录下的_navbar.md文件
loadNavbar: true,
// 最大支持渲染的标题层级
maxLevel: 5,
// 自定义侧边栏后默认不会再生成目录,设置生成目录的最大层级(建议配置为2-4)
subMaxLevel: 4,
// 小屏设备下合并导航栏到侧边栏
mergeNavbar: true,
// 未找到页面 _404.md
notFoundPage: true,
// 搜索配置
search:{
// 过期时间,单位毫秒,默认一天
maxAge: 86400000,
// 注意:仅适用于 paths: 'auto' 模式
paths: "auto",
// 支持本地化
placeholder: {
'/': '搜索',
'/zh-cn/': '搜索',
'/zh-en/': 'Type to search'
},
noData: {
'/': '搜索',
'/zh-cn/': '找不到结果',
'/zh-en/': 'No Results'
},
depth: 4,
hideOtherSidebarContent: false,
namespace: 'website-1',
},
formatUpdated: '{YYYY}-{MM}-{DD} {HH}:{mm}',
formatUpdated: function(time) {
return time;
},
// 目标是在 markdown 中打开外部链接。默认'_blank'(新窗口/标签)
externalLinkTarget: '_blank', // default: '_blank' '_self'
hideCode: {
scroll: false, // 启用滚动
height: 300 // 折叠高度
},
plugins: [
function (hook, vm) {
// load livere
hook.beforeEach(function(content) {
var comment = "<div id='lv-container' data-id='city' data-uid='MTAyMC81OTIwMy8zNTY2NQ=='></div>\n\n----\n"
return content + comment;
});
hook.doneEach(function() {
(function(d, s) {
var j, e = d.getElementsByTagName(s)[0];
if (typeof LivereTower === 'function') { return; }
j = d.createElement(s);
j.src = 'https://cdn-city.livere.com/js/embed.dist.js';
j.async = true;
e.parentNode.insertBefore(j, e);
})(document, 'script');
});
},
],
}
</script>
<!-- docsify的js依赖 -->
<script src="//fastly.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script>
<!-- emoji表情支持 -->
<script src="//fastly.jsdelivr.net/npm/docsify/lib/plugins/emoji.min.js"></script>
<!-- 图片放大缩小支持 -->
<script src="//fastly.jsdelivr.net/npm/docsify/lib/plugins/zoom-image.min.js"></script>
<!-- 搜索功能支持 -->
<script src="//fastly.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script>
<!--在所有的代码块上添加一个简单的Click to copy按钮来允许用户从你的文档中轻易地复制代码-->
<script src="//fastly.jsdelivr.net/npm/docsify-copy-code/dist/docsify-copy-code.min.js"></script>
<!-- 分页导航 -->
<script src="//fastly.jsdelivr.net/npm/docsify-pagination/dist/docsify-pagination.min.js"></script>
<!-- 外部脚本 如果页面上的脚本是外部脚本(通过src属性导入 js 文件) -->
<script src="//fastly.jsdelivr.net/npm/docsify/lib/plugins/external-script.min.js"></script>
<!-- docsify-tabs (latest v1.x.x) -->
<script src="https://cdn.jsdelivr.net/npm/docsify-tabs@1"></script>
<!-- 代码折叠 -->
<script src="https://unpkg.com/docsify-hide-code"></script>
<!-- 代码高亮 -->
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-bash.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-java.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-typescript.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-cmake.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-cpp.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-gradle.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-json.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-markdown.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-diff.min.js"></script>
<!-- 文本高亮 -->
<script src="https://unpkg.com/docsify-plugin-flexible-alerts"></script>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ouyang-zhi1/usage-docs.git
git@gitee.com:ouyang-zhi1/usage-docs.git
ouyang-zhi1
usage-docs
usage-docs
master

搜索帮助