Skip to content

Commit 29bee8c

Browse files
committed
Remove chat ai bot.
1 parent 732f159 commit 29bee8c

File tree

1 file changed

+3
-39
lines changed

1 file changed

+3
-39
lines changed

docs/.vuepress/templates/index.build.html

Lines changed: 3 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
--bg-color: #fff;
1212
}
1313

14-
html[data-theme="dark"] {
14+
html[data-theme='dark'] {
1515
--bg-color: #1d1e1f;
1616
}
1717

@@ -26,48 +26,12 @@
2626
// window.matchMedia &&
2727
// window.matchMedia("(prefers-color-scheme: dark)").matches;
2828

29-
if (userMode === "dark") {
30-
document.documentElement.setAttribute("data-theme", "dark");
29+
if (userMode === 'dark') {
30+
document.documentElement.setAttribute('data-theme', 'dark')
3131
}
3232
</script>
3333
<!--vuepress-ssr-styles-->
3434
<!--vuepress-ssr-resources-->
35-
36-
<script>
37-
window.difyChatbotConfig = {
38-
token: 'JC4nAgS92AgNJuTk',
39-
baseUrl: 'https://dify.easemob.com'
40-
}
41-
</script>
42-
<script
43-
src="https://dify.easemob.com/embed.min.js"
44-
id="JC4nAgS92AgNJuTk"
45-
defer>
46-
</script>
47-
<script
48-
src="https://doc.easemob.com/utm_helper.js"
49-
defer>
50-
</script>
51-
52-
<!-- <script type="text/javascript">window.DocsBotAI=window.DocsBotAI||{},DocsBotAI.init=function(c){return new Promise(function(e,o){var t=document.createElement("script");t.type="text/javascript",t.async=!0,t.src="https://widget.docsbot.ai/chat.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(t,n),t.addEventListener("load",function(){window.DocsBotAI.mount({id:c.id,supportCallback:c.supportCallback,identify:c.identify});var t;t=function(n){return new Promise(function(e){if(document.querySelector(n))return e(document.querySelector(n));var o=new MutationObserver(function(t){document.querySelector(n)&&(e(document.querySelector(n)),o.disconnect())});o.observe(document.body,{childList:!0,subtree:!0})})},t&&t("#docsbotai-root").then(e).catch(o)}),t.addEventListener("error",function(t){o(t.message)})})};</script>
53-
<script type="text/javascript">
54-
function resizeDocBotPosition(){
55-
setTimeout(()=>{
56-
var docRoot = document.querySelector('#docsbotai-root').shadowRoot
57-
if (docRoot) {
58-
var chatButton = docRoot.querySelector(".floating-button")
59-
chatButton.style.right = '15px'
60-
chatButton.style.bottom = '5px'
61-
} else {
62-
resizeDocBotPosition()
63-
}
64-
}, 50)
65-
}
66-
67-
DocsBotAI.init({id: "wAq4J83xvnonxzKkoqyB/RPYdTllyoosTgw216djx"}).then(()=>{
68-
resizeDocBotPosition()
69-
})
70-
</script> -->
7135
</head>
7236
<body>
7337
<div id="app"><!--vuepress-ssr-app--></div>

0 commit comments

Comments
 (0)