Mirror of
0
fork

Configure Feed

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

fix links

+53 -14
+2
docs/astro.config.mjs
··· 2 2 import starlight from "@astrojs/starlight"; 3 3 import starlightPluginsDocsComponents from "@trueberryless-org/starlight-plugins-docs-components"; 4 4 import { defineConfig } from "astro/config"; 5 + import starlightLinksValidator from "starlight-links-validator"; 5 6 6 7 // https://astro.build/config 7 8 export default defineConfig({ ··· 24 25 }, 25 26 ], 26 27 plugins: [ 28 + starlightLinksValidator(), 27 29 starlightPluginsDocsComponents({ 28 30 pluginName: "starlight-save-file-component", 29 31 }),
+1
docs/package.json
··· 15 15 "@trueberryless-org/starlight-plugins-docs-components": "^0.4.1", 16 16 "astro": "^5.1.5", 17 17 "sharp": "^0.32.5", 18 + "starlight-links-validator": "^0.14.3", 18 19 "starlight-package-managers": "^0.10.0", 19 20 "starlight-save-file-component": "workspace:*" 20 21 },
+1 -1
docs/src/content/docs/getting-started.mdx
··· 25 25 ```mdx title="src/content/docs/example.mdx" 26 26 import { SaveFile } from "starlight-save-file-component"; 27 27 28 - <SaveFile title="Example PDF" href="../../../public/example.pdf" /> 28 + <SaveFile title="Example PDF" href="../../../example.pdf" /> 29 29 ``` 30 30 31 31 3. [Start the development server](https://starlight.astro.build/getting-started/#start-the-development-server) to preview the component.
+13 -13
docs/src/content/docs/usage.mdx
··· 11 11 12 12 <Preview> 13 13 14 - <SaveFile slot="preview" title="Example PDF" href="../../../public/example.pdf" /> 14 + <SaveFile slot="preview" title="Example PDF" href="../../../example.pdf" /> 15 15 16 16 </Preview> 17 17 ··· 31 31 ```mdx 32 32 import { SaveFile } from "starlight-save-file-component"; 33 33 34 - <SaveFile title="Example PDF" href="../../../public/example.pdf" /> 34 + <SaveFile title="Example PDF" href="../../../example.pdf" /> 35 35 ``` 36 36 37 37 <Fragment slot="markdoc"> 38 38 39 39 ```markdoc 40 - {% SaveFile title="Example PDF" href="../../../public/example.pdf" /%} 40 + {% SaveFile title="Example PDF" href="../../../example.pdf" /%} 41 41 ``` 42 42 43 43 </Fragment> 44 44 45 - <SaveFile slot="preview" title="Example PDF" href="../../../public/example.pdf" /> 45 + <SaveFile slot="preview" title="Example PDF" href="../../../example.pdf" /> 46 46 47 47 </Preview> 48 48 ··· 57 57 58 58 <SaveFile 59 59 title="Example PDF" 60 - href="../../../public/example.pdf" 60 + href="../../../example.pdf" 61 61 description="A sample PDF file." 62 62 /> 63 63 ``` ··· 67 67 ```markdoc {4} 68 68 {% SaveFile 69 69 title="Example PDF" 70 - href="../../../public/example.pdf" 70 + href="../../../example.pdf" 71 71 description="A sample PDF file." /%} 72 72 ``` 73 73 ··· 76 76 <SaveFile 77 77 slot="preview" 78 78 title="Example PDF" 79 - href="../../../public/example.pdf" 79 + href="../../../example.pdf" 80 80 description="A sample PDF file." 81 81 /> 82 82 ··· 94 94 import { SaveFile } from "starlight-save-file-component"; 95 95 96 96 <CardGrid> 97 - <SaveFile title="Example PDF" href="../../../public/example.pdf" /> 98 - <SaveFile title="Example PDF 2" href="../../../public/example.pdf" /> 97 + <SaveFile title="Example PDF" href="../../../example.pdf" /> 98 + <SaveFile title="Example PDF 2" href="../../../example.pdf" /> 99 99 </CardGrid> 100 100 ``` 101 101 ··· 103 103 104 104 ```markdoc {1,5} 105 105 {% cardgrid %} 106 - {% SaveFile title="Example PDF" href="../../../public/example.pdf" /%} 106 + {% SaveFile title="Example PDF" href="../../../example.pdf" /%} 107 107 108 - {% SaveFile title="Example PDF 2" href="../../../public/example.pdf" /%} 108 + {% SaveFile title="Example PDF 2" href="../../../example.pdf" /%} 109 109 {% /cardgrid %} 110 110 ``` 111 111 112 112 </Fragment> 113 113 114 114 <CardGrid slot="preview"> 115 - <SaveFile title="Example PDF" href="../../../public/example.pdf" /> 116 - <SaveFile title="Example PDF 2" href="../../../public/example.pdf" /> 115 + <SaveFile title="Example PDF" href="../../../example.pdf" /> 116 + <SaveFile title="Example PDF 2" href="../../../example.pdf" /> 117 117 </CardGrid> 118 118 119 119 </Preview>
+36
pnpm-lock.yaml
··· 41 41 sharp: 42 42 specifier: ^0.32.5 43 43 version: 0.32.6 44 + starlight-links-validator: 45 + specifier: ^0.14.3 46 + version: 0.14.3(@astrojs/starlight@0.32.2(astro@5.4.2(rollup@4.35.0)(typescript@5.8.2))) 44 47 starlight-package-managers: 45 48 specifier: ^0.10.0 46 49 version: 0.10.0(@astrojs/starlight@0.32.2(astro@5.4.2(rollup@4.35.0)(typescript@5.8.2))) ··· 734 737 '@types/node@17.0.45': 735 738 resolution: {integrity: sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==} 736 739 740 + '@types/picomatch@3.0.2': 741 + resolution: {integrity: sha512-n0i8TD3UDB7paoMMxA3Y65vUncFJXjcUf7lQY7YyKGl6031FNjfsLs6pdLFCy2GNFxItPJG8GvvpbZc2skH7WA==} 742 + 737 743 '@types/sax@1.2.7': 738 744 resolution: {integrity: sha512-rO73L89PJxeYM3s3pPPjiPgVVcymqU490g0YO5n5By0k2Erzj6tay/4lr1CHAAU4JyOWd1rpQ8bCf6cZfHU96A==} 739 745 ··· 1351 1357 iron-webcrypto@1.2.1: 1352 1358 resolution: {integrity: sha512-feOM6FaSr6rEABp/eDfVseKyTMDt+KGpeB35SkVn9Tyn0CqvVsY3EwI0v5i8nMHyJnzCIQf7nsy3p41TPkJZhg==} 1353 1359 1360 + is-absolute-url@4.0.1: 1361 + resolution: {integrity: sha512-/51/TKE88Lmm7Gc4/8btclNXWS+g50wXhYJq8HWIBAGUBnoAdRu1aXeh364t/O7wXDAcTJDP8PNuNKWUDWie+A==} 1362 + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} 1363 + 1354 1364 is-alphabetical@2.0.1: 1355 1365 resolution: {integrity: sha512-FWyyY60MeTNyeSRpkM2Iry0G9hpr7/9kD40mD/cGQEuilcZYS4okz8SN2Q6rLCJ8gbCt6fN+rC+6tMGS99LaxQ==} 1356 1366 ··· 2072 2082 2073 2083 sprintf-js@1.0.3: 2074 2084 resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==} 2085 + 2086 + starlight-links-validator@0.14.3: 2087 + resolution: {integrity: sha512-2CvQs0ZdIVExrEQ1bn0r2aFx4n+VSOb6vDWK+gTNb5N1c+nXJ7VjUbEsQhj+9Lb7XgY6Nxqz9JXUM9364hJ3ZA==} 2088 + engines: {node: '>=18.17.1'} 2089 + peerDependencies: 2090 + '@astrojs/starlight': '>=0.15.0' 2075 2091 2076 2092 starlight-package-managers@0.10.0: 2077 2093 resolution: {integrity: sha512-ndliTHXzaCIQ2FFnq5KIH5Uhs9FCACeS3XQMtx/35aSPXzeGsoGxBNreC1zBif4yzGZRCJN3kXBqjUO82WDtcA==} ··· 3214 3230 '@types/node@12.20.55': {} 3215 3231 3216 3232 '@types/node@17.0.45': {} 3233 + 3234 + '@types/picomatch@3.0.2': {} 3217 3235 3218 3236 '@types/sax@1.2.7': 3219 3237 dependencies: ··· 4032 4050 4033 4051 iron-webcrypto@1.2.1: {} 4034 4052 4053 + is-absolute-url@4.0.1: {} 4054 + 4035 4055 is-alphabetical@2.0.1: {} 4036 4056 4037 4057 is-alphanumerical@2.0.1: ··· 5152 5172 signal-exit: 4.1.0 5153 5173 5154 5174 sprintf-js@1.0.3: {} 5175 + 5176 + starlight-links-validator@0.14.3(@astrojs/starlight@0.32.2(astro@5.4.2(rollup@4.35.0)(typescript@5.8.2))): 5177 + dependencies: 5178 + '@astrojs/starlight': 0.32.2(astro@5.4.2(rollup@4.35.0)(typescript@5.8.2)) 5179 + '@types/picomatch': 3.0.2 5180 + github-slugger: 2.0.0 5181 + hast-util-from-html: 2.0.3 5182 + hast-util-has-property: 3.0.0 5183 + is-absolute-url: 4.0.1 5184 + kleur: 4.1.5 5185 + mdast-util-mdx-jsx: 3.2.0 5186 + mdast-util-to-string: 4.0.0 5187 + picomatch: 4.0.2 5188 + unist-util-visit: 5.0.0 5189 + transitivePeerDependencies: 5190 + - supports-color 5155 5191 5156 5192 starlight-package-managers@0.10.0(@astrojs/starlight@0.32.2(astro@5.4.2(rollup@4.35.0)(typescript@5.8.2))): 5157 5193 dependencies: