Replies: 1 comment
-
it was a CORS issue, I resolved it, thanks |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I would like to add a chatbot in mkdocs, and I have a very few knowledge about javascript.
I searched on google, tried something, but still failed. There's no chatbot displayed in the rendered pages.
I post my question here hoping someone could help me. Thanks in advance.
In fact, I registrered on botstar.com, it provided me an embedded code as shown in below screenshot:
And here's the source code:
I tried 2 solutions:
1st solution:
javascripts/botstar.js
, and copy the above content without the<script>
and</script>
tags (I also tested with the tags).mkdocs,yml
, addjavascripts/botstar.js
, the syntax should be ok, as another jstablesort.js
works well.2nd solution
overrides/main.html
, and set the content as follows:Unfortunately, both solutions failed, and with my poor javascript knowledge, I've really no idea now.
Beta Was this translation helpful? Give feedback.
All reactions