Mirror of
0
fork

Configure Feed

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

Merge pull request #13 from trueberryless-org/fix-cooler-credit

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

authored by

Felix Schneider
coderabbitai[bot]
and committed by
GitHub
57bc2fc4 c3c44f63

+74 -47
+43 -27
pnpm-lock.yaml
··· 57 57 specifier: ^0.3.0 58 58 version: 0.3.0(@astrojs/starlight@0.33.1(astro@5.6.1(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2))) 59 59 starlight-cooler-credit: 60 - specifier: ^0.3.1 61 - version: 0.3.1(@astrojs/starlight@0.33.1(astro@5.6.1(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2))) 60 + specifier: ^0.4.0 61 + version: 0.4.0(@astrojs/starlight@0.33.1(astro@5.6.1(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2))) 62 62 starlight-image-zoom: 63 - specifier: ^0.11.1 64 - version: 0.11.1(@astrojs/starlight@0.33.1(astro@5.6.1(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2))) 63 + specifier: ^0.12.0 64 + version: 0.12.0(@astrojs/starlight@0.33.1(astro@5.6.1(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2))) 65 65 starlight-links-validator: 66 - specifier: ^0.14.3 67 - version: 0.14.3(@astrojs/starlight@0.33.1(astro@5.6.1(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2))) 66 + specifier: ^0.16.0 67 + version: 0.16.0(@astrojs/starlight@0.33.1(astro@5.6.1(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2))) 68 + starlight-sidebar-topics: 69 + specifier: ^0.6.0 70 + version: 0.6.0(@astrojs/starlight@0.33.1(astro@5.6.1(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2))) 68 71 starlight-sidebar-topics-dropdown: 69 - specifier: ^0.4.1 70 - version: 0.4.1(@astrojs/starlight@0.33.1(astro@5.6.1(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2))) 72 + specifier: ^0.5.1 73 + version: 0.5.1(@astrojs/starlight@0.33.1(astro@5.6.1(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2)))(starlight-sidebar-topics@0.6.0(@astrojs/starlight@0.33.1(astro@5.6.1(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2)))) 71 74 starlight-theme-rapide: 72 75 specifier: ^0.4.0 73 76 version: 0.4.0(@astrojs/starlight@0.33.1(astro@5.6.1(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2))) 74 77 starlight-view-modes: 75 - specifier: ^0.10.1 76 - version: 0.10.1(@astrojs/starlight@0.33.1(astro@5.6.1(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2))) 78 + specifier: ^0.10.2 79 + version: 0.10.2(@astrojs/starlight@0.33.1(astro@5.6.1(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2))) 77 80 78 81 packages: 79 82 ··· 1856 1859 peerDependencies: 1857 1860 '@astrojs/starlight': '>=0.30' 1858 1861 1859 - starlight-cooler-credit@0.3.1: 1860 - resolution: {integrity: sha512-HIWP9YWnM26roiroTzLUgBK8IiyMuYyhdLjfk1OGv2609YbRvHoa1BoRYmS4YJpXg8S6ljqlw+b+nNI4m1u9tg==} 1862 + starlight-cooler-credit@0.4.0: 1863 + resolution: {integrity: sha512-f2BYcZ9NpBcykzJWpC6/aTXDM6X0ztz25ZBexGhU1hI8R1HvlDJwpYPw4bKQUSaI1+pWyaarbehodouh9B7ekw==} 1861 1864 engines: {node: ^18.17.1 || ^20.3.0 || >=21.0.0} 1862 1865 peerDependencies: 1863 1866 '@astrojs/starlight': '>=0.32' 1864 1867 1865 - starlight-image-zoom@0.11.1: 1866 - resolution: {integrity: sha512-TmnAyS+MWWV6h1fjuezrMFA36REd+7QzcjDFFFyC4ws5FDMoHsjQn0MlHM0cUaHEKfQ9y1PpL9LijCvRFuGbuw==} 1868 + starlight-image-zoom@0.12.0: 1869 + resolution: {integrity: sha512-Zt9DuqXEw4JBBRc67wL9EP7DE9cSa+o2nyjQU6Xq+gRp388Wcu9C9FPROLuaYXbxpE93bbj5oyrhhMaiEWOZzg==} 1867 1870 engines: {node: '>=18'} 1868 1871 peerDependencies: 1869 1872 '@astrojs/starlight': '>=0.32.0' 1870 1873 1871 - starlight-links-validator@0.14.3: 1872 - resolution: {integrity: sha512-2CvQs0ZdIVExrEQ1bn0r2aFx4n+VSOb6vDWK+gTNb5N1c+nXJ7VjUbEsQhj+9Lb7XgY6Nxqz9JXUM9364hJ3ZA==} 1874 + starlight-links-validator@0.16.0: 1875 + resolution: {integrity: sha512-wInToor19C7UxhesPuxTBIhB1LH1wzNQHD4HaumfcB+yFhg5u80yQEnkZDrABHrUEEEwFm//NoZbWhnUj1m2ug==} 1873 1876 engines: {node: '>=18.17.1'} 1874 1877 peerDependencies: 1875 - '@astrojs/starlight': '>=0.15.0' 1878 + '@astrojs/starlight': '>=0.32.0' 1876 1879 1877 - starlight-sidebar-topics-dropdown@0.4.1: 1878 - resolution: {integrity: sha512-T5hv24mP6/lWZR4IU4ppLYY0V1iWsff9TiHJov3eVSV2TmXPUweKyK0QXRGdTGl9XHNbpwDhlor1MjhwgjVOFw==} 1880 + starlight-sidebar-topics-dropdown@0.5.1: 1881 + resolution: {integrity: sha512-vEKQZnl90dVdqQWTauUs+L4I9cOqmw0gnNa6C9dB8KgXE1QxFAJikEMDDS9IF24kGRL+7dXr+ZZWWhY6Ve+mEA==} 1879 1882 engines: {node: ^18.17.1 || ^20.3.0 || >=21.0.0} 1880 1883 peerDependencies: 1881 1884 '@astrojs/starlight': '>=0.30' 1885 + starlight-sidebar-topics: '>=0.6' 1886 + 1887 + starlight-sidebar-topics@0.6.0: 1888 + resolution: {integrity: sha512-ysmOR7zaHYKtk18/mpW4MbEMDioR/ZBsisu9bdQrq0v9BlHWpW7gAdWlqFWO9zdv1P7l0Mo1WKd0wJ0UtqOVEQ==} 1889 + engines: {node: '>=18'} 1890 + peerDependencies: 1891 + '@astrojs/starlight': '>=0.32.0' 1882 1892 1883 1893 starlight-theme-rapide@0.4.0: 1884 1894 resolution: {integrity: sha512-go2JEA3p1CNo3zqhS1pDkhCXAJNG8O7sX7KdIebae+ogaAndFRKXFtXhmw+9O/CWM785Vje6mGIXlwLer0faLQ==} ··· 1886 1896 peerDependencies: 1887 1897 '@astrojs/starlight': '>=0.32.0' 1888 1898 1889 - starlight-view-modes@0.10.1: 1890 - resolution: {integrity: sha512-uRb8DpTtz5ygTvE8s5RTJjXRWqC9Ic/MMuT1d/6YYIWIU3gz1NyA67HiA24HsC+T5LzmT9SRy+as+ImSdweqig==} 1891 - engines: {node: '>=18'} 1899 + starlight-view-modes@0.10.2: 1900 + resolution: {integrity: sha512-BEfExA/kC8QsmagONiI8W40teuicXuO2UadWUAuVpGJhYlK0gck4gPFRfBRMfU2aeDL68fQPhFhrzHakYyrI6A==} 1901 + engines: {node: ^18.17.1 || ^20.3.0 || >=21.0.0} 1892 1902 peerDependencies: 1893 1903 '@astrojs/starlight': '>=0.32' 1894 1904 ··· 4634 4644 - encoding 4635 4645 - supports-color 4636 4646 4637 - starlight-cooler-credit@0.3.1(@astrojs/starlight@0.33.1(astro@5.6.1(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2))): 4647 + starlight-cooler-credit@0.4.0(@astrojs/starlight@0.33.1(astro@5.6.1(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2))): 4638 4648 dependencies: 4639 4649 '@astrojs/starlight': 0.33.1(astro@5.6.1(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2)) 4640 4650 change-case: 5.4.4 4641 4651 4642 - starlight-image-zoom@0.11.1(@astrojs/starlight@0.33.1(astro@5.6.1(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2))): 4652 + starlight-image-zoom@0.12.0(@astrojs/starlight@0.33.1(astro@5.6.1(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2))): 4643 4653 dependencies: 4644 4654 '@astrojs/starlight': 0.33.1(astro@5.6.1(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2)) 4645 4655 mdast-util-mdx-jsx: 3.2.0 ··· 4649 4659 transitivePeerDependencies: 4650 4660 - supports-color 4651 4661 4652 - starlight-links-validator@0.14.3(@astrojs/starlight@0.33.1(astro@5.6.1(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2))): 4662 + starlight-links-validator@0.16.0(@astrojs/starlight@0.33.1(astro@5.6.1(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2))): 4653 4663 dependencies: 4654 4664 '@astrojs/starlight': 0.33.1(astro@5.6.1(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2)) 4655 4665 '@types/picomatch': 3.0.2 ··· 4665 4675 transitivePeerDependencies: 4666 4676 - supports-color 4667 4677 4668 - starlight-sidebar-topics-dropdown@0.4.1(@astrojs/starlight@0.33.1(astro@5.6.1(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2))): 4678 + starlight-sidebar-topics-dropdown@0.5.1(@astrojs/starlight@0.33.1(astro@5.6.1(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2)))(starlight-sidebar-topics@0.6.0(@astrojs/starlight@0.33.1(astro@5.6.1(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2)))): 4669 4679 dependencies: 4670 4680 '@astrojs/starlight': 0.33.1(astro@5.6.1(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2)) 4681 + starlight-sidebar-topics: 0.6.0(@astrojs/starlight@0.33.1(astro@5.6.1(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2))) 4682 + 4683 + starlight-sidebar-topics@0.6.0(@astrojs/starlight@0.33.1(astro@5.6.1(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2))): 4684 + dependencies: 4685 + '@astrojs/starlight': 0.33.1(astro@5.6.1(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2)) 4686 + picomatch: 4.0.2 4671 4687 4672 4688 starlight-theme-rapide@0.4.0(@astrojs/starlight@0.33.1(astro@5.6.1(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2))): 4673 4689 dependencies: 4674 4690 '@astrojs/starlight': 0.33.1(astro@5.6.1(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2)) 4675 4691 4676 - starlight-view-modes@0.10.1(@astrojs/starlight@0.33.1(astro@5.6.1(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2))): 4692 + starlight-view-modes@0.10.2(@astrojs/starlight@0.33.1(astro@5.6.1(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2))): 4677 4693 dependencies: 4678 4694 '@astrojs/starlight': 0.33.1(astro@5.6.1(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2)) 4679 4695 '@pagefind/default-ui': 1.3.0
+4 -3
starlight/astro.config.mjs
··· 6 6 import starlightCoolerCredit from "starlight-cooler-credit"; 7 7 import starlightImageZoom from "starlight-image-zoom"; 8 8 import starlightLinksValidator from "starlight-links-validator"; 9 - import starlightSidebarTopicsDropdown from "starlight-sidebar-topics-dropdown"; 9 + import starlightSidebarTopics from "starlight-sidebar-topics"; 10 10 import starlightThemeRapide from "starlight-theme-rapide"; 11 11 import starlightViewModes from "starlight-view-modes"; 12 12 ··· 57 57 "@fontsource-variable/jetbrains-mono/wght.css", 58 58 ], 59 59 components: { 60 - Pagination: "./src/components/CustomPagination.astro", 60 + Pagination: "./src/components/Pagination.astro", 61 61 TableOfContents: "./src/components/TableOfContents.astro", 62 + Sidebar: "./src/components/Sidebar.astro", 62 63 }, 63 64 plugins: [ 64 65 lunaria({ ··· 71 72 }), 72 73 starlightImageZoom(), 73 74 starlightLinksValidator(), 74 - starlightSidebarTopicsDropdown([ 75 + starlightSidebarTopics([ 75 76 { 76 77 label: { 77 78 en: "Software Development",
+6 -5
starlight/package.json
··· 23 23 "remark-math": "^6.0.0", 24 24 "sharp": "^0.33.5", 25 25 "starlight-contributor-list": "^0.3.0", 26 - "starlight-cooler-credit": "^0.3.1", 27 - "starlight-image-zoom": "^0.11.1", 28 - "starlight-links-validator": "^0.14.3", 29 - "starlight-sidebar-topics-dropdown": "^0.4.1", 26 + "starlight-cooler-credit": "^0.4.0", 27 + "starlight-image-zoom": "^0.12.0", 28 + "starlight-links-validator": "^0.16.0", 29 + "starlight-sidebar-topics": "^0.6.0", 30 + "starlight-sidebar-topics-dropdown": "^0.5.1", 30 31 "starlight-theme-rapide": "^0.4.0", 31 - "starlight-view-modes": "^0.10.1" 32 + "starlight-view-modes": "^0.10.2" 32 33 }, 33 34 "packageManager": "pnpm@9.6.0" 34 35 }
-11
starlight/src/components/CustomPagination.astro
··· 1 - --- 2 - import Pagination from "starlight-theme-rapide/overrides/Pagination.astro"; 3 - import FeedbackComponent from "./FeedbackComponent.astro"; 4 - 5 - const { entry } = Astro.locals.starlightRoute; 6 - --- 7 - 8 - <> 9 - {!entry.data.hero && <FeedbackComponent />} 10 - <Pagination /> 11 - </>
+13
starlight/src/components/Pagination.astro
··· 1 + --- 2 + import StarlightThemeRapidePagination from "starlight-theme-rapide/overrides/Pagination.astro"; 3 + import FeedbackComponent from "./FeedbackComponent.astro"; 4 + import StarlightCoolerCreditPagination from "starlight-cooler-credit/components/Pagination.astro"; 5 + 6 + const { entry } = Astro.locals.starlightRoute; 7 + --- 8 + 9 + <> 10 + {!entry.data.hero && <FeedbackComponent />} 11 + <StarlightThemeRapidePagination /> 12 + <StarlightCoolerCreditPagination /> 13 + </>
+7
starlight/src/components/Sidebar.astro
··· 1 + --- 2 + import Default from "@astrojs/starlight/components/Sidebar.astro"; 3 + import TopicsDropdown from "starlight-sidebar-topics-dropdown/TopicsDropdown.astro"; 4 + --- 5 + 6 + <TopicsDropdown /> 7 + <Default><slot /></Default>
+1 -1
starlight/src/content.config.ts
··· 1 1 import { docsLoader } from "@astrojs/starlight/loaders"; 2 2 import { docsSchema } from "@astrojs/starlight/schema"; 3 3 import { defineCollection } from "astro:content"; 4 - import { topicSchema } from "starlight-sidebar-topics-dropdown/schema"; 4 + import { topicSchema } from "starlight-sidebar-topics/schema"; 5 5 6 6 export const collections = { 7 7 docs: defineCollection({