Skip to content

Commit

Permalink
chore: modify data-category
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkasany committed Sep 25, 2023
1 parent 994254a commit 61cf89a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
Binary file added images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
<body>
<div id="app"></div>
<script src="./main.js"></script>
<script src="https://unpkg.com/docsify-copy-code@2"></script>
<script src="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/[email protected]/lib/docsify.min.js"></script>
<script src="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/docsify/lib/plugins/search.min.js"></script>
<script src="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/docsify-lastmodified/index.min.js"></script>
Expand All @@ -47,8 +48,8 @@
<script src="https://giscus.app/client.js"
data-repo="thinkasany/docs"
data-repo-id="R_kgDOKXpjaA"
data-category="Ideas"
data-category-id="DIC_kwDOKXpjaM4CZl9B"
data-category="Announcements"
data-category-id="DIC_kwDOKXpjaM4CZl8-"
data-mapping="pathname"
data-strict="0"
data-reactions-enabled="1"
Expand Down
6 changes: 6 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ window.$docsify = {
lastModifiedBranch: 'master',
loadSidebar: sidebar(),
lastModifiedText: '最近更新时间:',
logo: '/images/logo.png',
copyCode: {
buttonText: 'Copy to clipboard',
errorText: 'Error',
successText: 'Copied',
},
search: {
depth: 2,
hideOtherSidebarContent: true,
Expand Down

0 comments on commit 61cf89a

Please sign in to comment.