Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arthas网站支持DocSearch #2231

Closed
hengyunabc opened this issue Jul 29, 2022 · 1 comment · Fixed by #2233
Closed

arthas网站支持DocSearch #2231

hengyunabc opened this issue Jul 29, 2022 · 1 comment · Fixed by #2233
Milestone

Comments

@hengyunabc
Copy link
Collaborator

CSS
Copy this snippet at the end of the HTML <head> tag
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@docsearch/css@3"/></pre></li>

JavaScript
Copy this snippet at the end of the HTML <body> tag
<script src="https://cdn.jsdelivr.net/npm/@docsearch/js@3"></script>

<script type="text/javascript">

  docsearch({

    appId: UX8WBNVHHR,

    apiKey: 03fb4b6577b57b5dafc792d9ddf66508,

    indexName: arthas,

    container: '### REPLACE ME WITH A CONTAINER (e.g. div) ###'

    debug: false // Set debug to true if you want to inspect the modal

  });

</script>

@hengyunabc hengyunabc added this to the 3.6.4 milestone Jul 29, 2022
@hengyunabc
Copy link
Collaborator Author

在国内访问jsdelivr可能有网络问题,可能要换个国内的cdn。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant