ALPHA: wire is a tool to deploy nixos systems wire.althaea.zone/
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

drop giscus

+1 -106
+1 -34
doc/.vitepress/theme/index.ts
··· 1 1 import DefaultTheme from "vitepress/theme"; 2 2 import "virtual:group-icons.css"; 3 - import giscusTalk from "vitepress-plugin-comment-with-giscus"; 4 - import { EnhanceAppContext, useData, useRoute } from "vitepress"; 5 - import { toRefs } from "vue"; 3 + import { EnhanceAppContext } from "vitepress"; 6 4 import "./style.css"; 7 5 8 6 export default { 9 7 ...DefaultTheme, 10 8 enhanceApp(ctx: EnhanceAppContext) { 11 9 DefaultTheme.enhanceApp(ctx); 12 - }, 13 - setup() { 14 - const { frontmatter } = toRefs(useData()); 15 - const route = useRoute(); 16 - 17 - giscusTalk( 18 - { 19 - repo: "mrshmllow/wire", 20 - repoId: "R_kgDOMQQbzw", 21 - category: "giscus", // default: `General` 22 - categoryId: "DIC_kwDOMQQbz84Co4vv", 23 - mapping: "pathname", 24 - inputPosition: "top", 25 - lang: "en", 26 - // i18n setting (Note: This configuration will override the default language set by lang) 27 - // Configured as an object with key-value pairs inside: 28 - // [your i18n configuration name]: [corresponds to the language pack name in Giscus] 29 - locales: { 30 - "en-US": "en", 31 - }, 32 - homePageShowComment: false, 33 - lightTheme: "light", 34 - darkTheme: "transparent_dark", 35 - }, 36 - { 37 - frontmatter, 38 - route, 39 - }, 40 - // Default to false for all pages 41 - false, 42 - ); 43 10 }, 44 11 };
-1
doc/package.json
··· 18 18 }, 19 19 "dependencies": { 20 20 "markdown-it-footnote": "^4.0.0", 21 - "vitepress-plugin-comment-with-giscus": "^1.1.15", 22 21 "vitepress-plugin-group-icons": "^1.6.5" 23 22 } 24 23 }
-71
doc/pnpm-lock.yaml
··· 11 11 markdown-it-footnote: 12 12 specifier: ^4.0.0 13 13 version: 4.0.0 14 - vitepress-plugin-comment-with-giscus: 15 - specifier: ^1.1.15 16 - version: 1.1.15(vue@3.5.26) 17 14 vitepress-plugin-group-icons: 18 15 specifier: ^1.6.5 19 16 version: 1.6.5(vite@5.4.21) ··· 284 281 cpu: [x64] 285 282 os: [win32] 286 283 287 - '@giscus/vue@2.4.0': 288 - resolution: {integrity: sha512-QOxKHgsMT91myyQagP2v20YYAei1ByZuc3qcaYxbHx4AwOeyVrybDIuRFwG9YDv6OraC86jYnU4Ixd37ddC/0A==} 289 - peerDependencies: 290 - vue: '>=3.2.0' 291 - 292 284 '@iconify-json/logos@1.2.10': 293 285 resolution: {integrity: sha512-qxaXKJ6fu8jzTMPQdHtNxlfx6tBQ0jXRbHZIYy5Ilh8Lx9US9FsAdzZWUR8MXV8PnWTKGDFO4ZZee9VwerCyMA==} 294 286 ··· 307 299 '@jridgewell/sourcemap-codec@1.5.5': 308 300 resolution: {integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==} 309 301 310 - '@lit-labs/ssr-dom-shim@1.4.0': 311 - resolution: {integrity: sha512-ficsEARKnmmW5njugNYKipTm4SFnbik7CXtoencDZzmzo/dQ+2Q0bgkzJuoJP20Aj0F+izzJjOqsnkd6F/o1bw==} 312 - 313 - '@lit/reactive-element@2.1.1': 314 - resolution: {integrity: sha512-N+dm5PAYdQ8e6UlywyyrgI2t++wFGXfHx+dSJ1oBrg6FAxUj40jId++EaRm80MKX5JnlH1sBsyZ5h0bcZKemCg==} 315 - 316 302 '@rollup/rollup-android-arm-eabi@4.53.5': 317 303 resolution: {integrity: sha512-iDGS/h7D8t7tvZ1t6+WPK04KD0MwzLZrG0se1hzBjSi5fyxlsiggoJHwh18PCFNn7tG43OWb6pdZ6Y+rMlmyNQ==} 318 304 cpu: [arm] ··· 464 450 465 451 '@types/mdurl@2.0.0': 466 452 resolution: {integrity: sha512-RGdgjQUZba5p6QEFAVx2OGb8rQDL/cPRG7GiedRzMcJ1tYnUANBncjbSB1NRGwbvjcPeikRABz2nshyPk1bhWg==} 467 - 468 - '@types/trusted-types@2.0.7': 469 - resolution: {integrity: sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==} 470 453 471 454 '@types/unist@3.0.3': 472 455 resolution: {integrity: sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==} ··· 639 622 engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} 640 623 os: [darwin] 641 624 642 - giscus@1.6.0: 643 - resolution: {integrity: sha512-Zrsi8r4t1LVW950keaWcsURuZUQwUaMKjvJgTCY125vkW6OiEBkatE7ScJDbpqKHdZwb///7FVC21SE3iFK3PQ==} 644 - 645 625 hast-util-to-html@9.0.5: 646 626 resolution: {integrity: sha512-OguPdidb+fbHQSU4Q4ZiLKnzWo8Wwsf5bZfbvu7//a9oTYoqD/fWpe96NuHkoS9h0ccGOTe0C4NGXdtS0iObOw==} 647 627 ··· 657 637 is-what@5.5.0: 658 638 resolution: {integrity: sha512-oG7cgbmg5kLYae2N5IVd3jm2s+vldjxJzK1pcu9LfpGuQ93MQSzo0okvRna+7y5ifrD+20FE8FvjusyGaz14fw==} 659 639 engines: {node: '>=18'} 660 - 661 - lit-element@4.2.1: 662 - resolution: {integrity: sha512-WGAWRGzirAgyphK2urmYOV72tlvnxw7YfyLDgQ+OZnM9vQQBQnumQ7jUJe6unEzwGU3ahFOjuz1iz1jjrpCPuw==} 663 - 664 - lit-html@3.3.1: 665 - resolution: {integrity: sha512-S9hbyDu/vs1qNrithiNyeyv64c9yqiW9l+DBgI18fL+MTvOtWoFR0FWiyq1TxaYef5wNlpEmzlXoBlZEO+WjoA==} 666 - 667 - lit@3.3.1: 668 - resolution: {integrity: sha512-Ksr/8L3PTapbdXJCk+EJVB78jDodUMaP54gD24W186zGRARvwrsPfS60wae/SSCTCNZVPd1chXqio1qHQmu4NA==} 669 640 670 641 magic-string@0.30.21: 671 642 resolution: {integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==} ··· 841 812 optional: true 842 813 terser: 843 814 optional: true 844 - 845 - vitepress-plugin-comment-with-giscus@1.1.15: 846 - resolution: {integrity: sha512-1DJjgN+7SYvn5ZkjuSXPmz7nlqfcrh4qCGGviiZghA2ELXnaO2m9WY7m+RisPSaqCn90xqe0JbO2T4NMq8iUBg==} 847 815 848 816 vitepress-plugin-group-icons@1.6.5: 849 817 resolution: {integrity: sha512-+pg4+GKDq2fLqKb1Sat5p1p4SuIZ5tEPxu8HjpwoeecZ/VaXKy6Bdf0wyjedjaTAyZQzXbvyavJegqAcQ+B0VA==} ··· 1101 1069 '@esbuild/win32-x64@0.21.5': 1102 1070 optional: true 1103 1071 1104 - '@giscus/vue@2.4.0(vue@3.5.26)': 1105 - dependencies: 1106 - giscus: 1.6.0 1107 - vue: 3.5.26 1108 - 1109 1072 '@iconify-json/logos@1.2.10': 1110 1073 dependencies: 1111 1074 '@iconify/types': 2.0.0 ··· 1127 1090 mlly: 1.8.0 1128 1091 1129 1092 '@jridgewell/sourcemap-codec@1.5.5': {} 1130 - 1131 - '@lit-labs/ssr-dom-shim@1.4.0': {} 1132 - 1133 - '@lit/reactive-element@2.1.1': 1134 - dependencies: 1135 - '@lit-labs/ssr-dom-shim': 1.4.0 1136 1093 1137 1094 '@rollup/rollup-android-arm-eabi@4.53.5': 1138 1095 optional: true ··· 1258 1215 '@types/unist': 3.0.3 1259 1216 1260 1217 '@types/mdurl@2.0.0': {} 1261 - 1262 - '@types/trusted-types@2.0.7': {} 1263 1218 1264 1219 '@types/unist@3.0.3': {} 1265 1220 ··· 1455 1410 fsevents@2.3.3: 1456 1411 optional: true 1457 1412 1458 - giscus@1.6.0: 1459 - dependencies: 1460 - lit: 3.3.1 1461 - 1462 1413 hast-util-to-html@9.0.5: 1463 1414 dependencies: 1464 1415 '@types/hast': 3.0.4 ··· 1483 1434 1484 1435 is-what@5.5.0: {} 1485 1436 1486 - lit-element@4.2.1: 1487 - dependencies: 1488 - '@lit-labs/ssr-dom-shim': 1.4.0 1489 - '@lit/reactive-element': 2.1.1 1490 - lit-html: 3.3.1 1491 - 1492 - lit-html@3.3.1: 1493 - dependencies: 1494 - '@types/trusted-types': 2.0.7 1495 - 1496 - lit@3.3.1: 1497 - dependencies: 1498 - '@lit/reactive-element': 2.1.1 1499 - lit-element: 4.2.1 1500 - lit-html: 3.3.1 1501 - 1502 1437 magic-string@0.30.21: 1503 1438 dependencies: 1504 1439 '@jridgewell/sourcemap-codec': 1.5.5 ··· 1695 1630 rollup: 4.53.5 1696 1631 optionalDependencies: 1697 1632 fsevents: 2.3.3 1698 - 1699 - vitepress-plugin-comment-with-giscus@1.1.15(vue@3.5.26): 1700 - dependencies: 1701 - '@giscus/vue': 2.4.0(vue@3.5.26) 1702 - transitivePeerDependencies: 1703 - - vue 1704 1633 1705 1634 vitepress-plugin-group-icons@1.6.5(vite@5.4.21): 1706 1635 dependencies: