@rspress-theme-anatole/theme-default 0.5.6 → 0.5.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/bundle.js +7 -4
  2. package/package.json +3 -3
package/dist/bundle.js CHANGED
@@ -5434,13 +5434,16 @@ function loadGiscus() {
5434
5434
 
5435
5435
  const script = document.createElement('script');
5436
5436
  script.src = 'https://giscus.app/client.js';
5437
- script.setAttribute('data-repo', 'anatole-tong-avepoint/rspress-theme-anatole');
5438
- script.setAttribute('data-repo-id', 'R_kgDOO69M6A');
5437
+
5438
+ // script.setAttribute('data-repo', 'anatole-tong-avepoint/rspress-theme-anatole');
5439
+ script.setAttribute('data-repo', 'AvePoint/wiki-comments');
5440
+ // script.setAttribute('data-repo-id', 'R_kgDOO69M6A');
5441
+ script.setAttribute('data-repo-id', 'R_kgDOO8WYwg');
5439
5442
  script.setAttribute('data-category', 'Announcements');
5440
- script.setAttribute('data-category-id', 'DIC_kwDOO69M6M4CrcUp');
5443
+ // script.setAttribute('data-category-id', 'DIC_kwDOO69M6M4CrcUp');
5444
+ script.setAttribute('data-category-id', 'DIC_kwDOO8WYws4CrjjN');
5441
5445
  script.setAttribute('data-mapping', 'pathname');
5442
5446
  script.setAttribute('data-reactions-enabled', '1');
5443
- // script.setAttribute('data-theme', 'light');
5444
5447
  script.setAttribute('data-theme', 'https://unpkg.com/@rspress-theme-anatole/theme-default@0.5.4/dist/giscus_custom_theme.css');
5445
5448
  script.setAttribute('crossorigin', 'anonymous');
5446
5449
  script.setAttribute('data-input-position', 'top');
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rspress-theme-anatole/theme-default",
3
3
  "author": "Anatole Tong",
4
- "version": "0.5.6",
4
+ "version": "0.5.8",
5
5
  "license": "MIT",
6
6
  "sideEffects": [
7
7
  "*.css",
@@ -21,7 +21,7 @@
21
21
  "types": "./dist/bundle.d.ts",
22
22
  "dependencies": {
23
23
  "@mdx-js/react": "2.3.0",
24
- "@rspress-theme-anatole/shared": "0.5.6",
24
+ "@rspress-theme-anatole/shared": "0.5.8",
25
25
  "@rspress/runtime": "1.43.8",
26
26
  "body-scroll-lock": "4.0.0-beta.0",
27
27
  "copy-to-clipboard": "^3.3.3",
@@ -35,7 +35,7 @@
35
35
  "react-helmet-async": "^1.3.0",
36
36
  "react-router-dom": "6.29.0",
37
37
  "react-syntax-highlighter": "^15.6.1",
38
- "@rspress-theme-anatole/rspress-plugin-mermaid": "0.5.6"
38
+ "@rspress-theme-anatole/rspress-plugin-mermaid": "0.5.8"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@microsoft/api-extractor": "^7.49.2",