@rspress-theme-anatole/theme-default 0.7.21 → 0.7.22
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.
- package/dist/bundle.js +4 -1
- package/package.json +3 -3
package/dist/bundle.js
CHANGED
|
@@ -4744,7 +4744,7 @@ function UserAuth() {
|
|
|
4744
4744
|
const showSignInButton = siteData?.auth?.showSignInButton !== false;
|
|
4745
4745
|
|
|
4746
4746
|
// Get sign in URL from site config
|
|
4747
|
-
const signInUrl = siteData?.auth?.
|
|
4747
|
+
const signInUrl = siteData?.auth?.endpoints?.signIn;
|
|
4748
4748
|
|
|
4749
4749
|
// Cookie name for KBGateway
|
|
4750
4750
|
const KB_COOKIE_NAME = 'KBGateway-User-Context';
|
|
@@ -6600,11 +6600,14 @@ function loadGiscus() {
|
|
|
6600
6600
|
script.src = 'https://giscus.app/client.js';
|
|
6601
6601
|
|
|
6602
6602
|
// script.setAttribute('data-repo', 'anatole-tong-avepoint/rspress-theme-anatole');
|
|
6603
|
+
// script.setAttribute('data-repo', 'avepoint-copilot-enterprise/aprm-server');
|
|
6603
6604
|
script.setAttribute('data-repo', 'AvePoint/wiki-comments');
|
|
6604
6605
|
// script.setAttribute('data-repo-id', 'R_kgDOO69M6A');
|
|
6606
|
+
// script.setAttribute('data-repo-id', 'R_kgDOPr00TQ');
|
|
6605
6607
|
script.setAttribute('data-repo-id', 'R_kgDOO8WYwg');
|
|
6606
6608
|
script.setAttribute('data-category', 'Announcements');
|
|
6607
6609
|
// script.setAttribute('data-category-id', 'DIC_kwDOO69M6M4CrcUp');
|
|
6610
|
+
// script.setAttribute('data-category-id', 'DIC_kwDOPr00Tc4Cv1Li');
|
|
6608
6611
|
script.setAttribute('data-category-id', 'DIC_kwDOO8WYws4CrjjN');
|
|
6609
6612
|
script.setAttribute('data-mapping', 'pathname');
|
|
6610
6613
|
script.setAttribute('data-reactions-enabled', '1');
|
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.7.
|
|
4
|
+
"version": "0.7.22",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.css",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"types": "./dist/bundle.d.ts",
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@mdx-js/react": "2.3.0",
|
|
24
|
-
"@rspress-theme-anatole/rspress-plugin-mermaid": "0.7.
|
|
25
|
-
"@rspress-theme-anatole/shared": "0.7.
|
|
24
|
+
"@rspress-theme-anatole/rspress-plugin-mermaid": "0.7.22",
|
|
25
|
+
"@rspress-theme-anatole/shared": "0.7.22",
|
|
26
26
|
"@rspress/runtime": "1.43.8",
|
|
27
27
|
"body-scroll-lock": "4.0.0-beta.0",
|
|
28
28
|
"copy-to-clipboard": "^3.3.3",
|