udpate index
This commit is contained in:
@@ -7,15 +7,15 @@
|
|||||||
<meta name="description" content="Description">
|
<meta name="description" content="Description">
|
||||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
||||||
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/vue.css">
|
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/vue.css">
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.10.0-rc.1/dist/katex.min.css">
|
<!-- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.10.0-rc.1/dist/katex.min.css"> -->
|
||||||
<script src="https://cdn.jsdelivr.net/npm/katex@0.10.0-rc.1/dist/katex.min.js"></script>
|
<!-- <script src="https://cdn.jsdelivr.net/npm/katex@0.10.0-rc.1/dist/katex.min.js"></script> -->
|
||||||
<!-- <link rel="stylesheet" href="//unpkg.com/docsify@4.7.0/lib/themes/vue.css"> -->
|
<!-- <link rel="stylesheet" href="//unpkg.com/docsify@4.7.0/lib/themes/vue.css"> -->
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
<script>
|
<script>
|
||||||
window.$docsify = {
|
window.$docsify = {
|
||||||
name: 'EasyRL',
|
name: '蘑菇书EasyRL',
|
||||||
repo:'https://github.com/datawhalechina/easy-rl',
|
repo:'https://github.com/datawhalechina/easy-rl',
|
||||||
loadSidebar: true,
|
loadSidebar: true,
|
||||||
subMaxLevel: 3,
|
subMaxLevel: 3,
|
||||||
@@ -23,9 +23,9 @@
|
|||||||
previousText:'上一篇',
|
previousText:'上一篇',
|
||||||
nextText:'下一篇',
|
nextText:'下一篇',
|
||||||
},
|
},
|
||||||
markdown: {
|
// markdown: {
|
||||||
latexRender: katex.renderToString.bind(katex)
|
// latexRender: katex.renderToString.bind(katex)
|
||||||
},
|
// },
|
||||||
search:{
|
search:{
|
||||||
placeholder:'搜索',
|
placeholder:'搜索',
|
||||||
noData:'找不到结果',
|
noData:'找不到结果',
|
||||||
@@ -41,15 +41,15 @@
|
|||||||
return content.replace(/..\/img/g, "img");
|
return content.replace(/..\/img/g, "img");
|
||||||
})
|
})
|
||||||
|
|
||||||
hook.doneEach(function () {
|
// hook.doneEach(function () {
|
||||||
window.MathJax.Hub.Queue(["Typeset", MathJax.Hub, document.getElementById('app')]);
|
// window.MathJax.Hub.Queue(["Typeset", MathJax.Hub, document.getElementById('app')]);
|
||||||
})
|
// })
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<!-- 公式 -->
|
<!-- 公式 -->
|
||||||
<script type="text/x-mathjax-config">
|
<!-- <script type="text/x-mathjax-config">
|
||||||
MathJax.Hub.Config({
|
MathJax.Hub.Config({
|
||||||
extensions: ["tex2jax.js"],
|
extensions: ["tex2jax.js"],
|
||||||
jax: ["input/TeX", "output/HTML-CSS"],
|
jax: ["input/TeX", "output/HTML-CSS"],
|
||||||
@@ -61,15 +61,13 @@
|
|||||||
},
|
},
|
||||||
"HTML-CSS": { fonts: ["TeX"] }
|
"HTML-CSS": { fonts: ["TeX"] }
|
||||||
});
|
});
|
||||||
</script>
|
</script> -->
|
||||||
|
|
||||||
<!-- <script src="//cdn.jsdelivr.net/npm/docsify-katex@latest/dist/docsify-katex.js"></script> -->
|
|
||||||
|
|
||||||
|
|
||||||
|
<script src="//cdn.jsdelivr.net/npm/docsify-katex@latest/dist/docsify-katex.js"></script>
|
||||||
|
|
||||||
<!-- or <script src="//cdn.jsdelivr.net/gh/upupming/docsify-katex/dist/docsify-katex.js"></script> -->
|
<!-- or <script src="//cdn.jsdelivr.net/gh/upupming/docsify-katex/dist/docsify-katex.js"></script> -->
|
||||||
|
|
||||||
<!-- <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css"> -->
|
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css">
|
||||||
|
|
||||||
<!-- Put them above docsify.min.js -->
|
<!-- Put them above docsify.min.js -->
|
||||||
<script src="//cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script>
|
<script src="//cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script>
|
||||||
|
|||||||
Reference in New Issue
Block a user