diff --git a/package.json b/package.json index a669484..d347315 100644 --- a/package.json +++ b/package.json @@ -11,8 +11,8 @@ }, "dependencies": { "@astrojs/check": "^0.9.4", - "@astrojs/starlight": "^0.30.3", - "astro": "^5.1.2", + "@astrojs/starlight": "^0.30.5", + "astro": "^5.1.4", "sharp": "^0.32.5", "starlight-blog": "^0.16.1", "starlight-links-validator": "^0.14.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8e92bb4..09fff04 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,20 +12,20 @@ importers: specifier: ^0.9.4 version: 0.9.4(prettier-plugin-astro@0.14.1)(prettier@3.3.3)(typescript@5.6.2) '@astrojs/starlight': - specifier: ^0.30.3 - version: 0.30.3(astro@5.1.2(rollup@4.24.0)(typescript@5.6.2)(yaml@2.5.1)) + specifier: ^0.30.5 + version: 0.30.5(astro@5.1.4(rollup@4.24.0)(typescript@5.6.2)(yaml@2.5.1)) astro: - specifier: ^5.1.2 - version: 5.1.2(rollup@4.24.0)(typescript@5.6.2)(yaml@2.5.1) + specifier: ^5.1.4 + version: 5.1.4(rollup@4.24.0)(typescript@5.6.2)(yaml@2.5.1) sharp: specifier: ^0.32.5 version: 0.32.6 starlight-blog: specifier: ^0.16.1 - version: 0.16.1(@astrojs/starlight@0.30.3(astro@5.1.2(rollup@4.24.0)(typescript@5.6.2)(yaml@2.5.1)))(astro@5.1.2(rollup@4.24.0)(typescript@5.6.2)(yaml@2.5.1)) + version: 0.16.1(@astrojs/starlight@0.30.5(astro@5.1.4(rollup@4.24.0)(typescript@5.6.2)(yaml@2.5.1)))(astro@5.1.4(rollup@4.24.0)(typescript@5.6.2)(yaml@2.5.1)) starlight-links-validator: specifier: ^0.14.1 - version: 0.14.1(@astrojs/starlight@0.30.3(astro@5.1.2(rollup@4.24.0)(typescript@5.6.2)(yaml@2.5.1))) + version: 0.14.1(@astrojs/starlight@0.30.5(astro@5.1.4(rollup@4.24.0)(typescript@5.6.2)(yaml@2.5.1))) typescript: specifier: ^5.6.2 version: 5.6.2 @@ -79,8 +79,8 @@ packages: '@astrojs/sitemap@3.2.0': resolution: {integrity: sha512-SkrOCL3Z6HxdiXreZ1+aPBWgnBMJ31EgPdcscgQeLqI2Gqk/4EKLuw9q0SqKU9MmHpcPXXtcd0odfCk4barPoA==} - '@astrojs/starlight@0.30.3': - resolution: {integrity: sha512-HbGYYIR2Rnrvvc2jD0dUpp8zUzv3jQYtG5im3aulDgE4Jo21Ahw0yXlb/Y134G3LALLbqhImmlbt/h/nDV3yMA==} + '@astrojs/starlight@0.30.5': + resolution: {integrity: sha512-enQISKa2K3DtFqU55PT8zskCT7180DJwOT9yFVh9MYT4csolvCBu2RVjQeXu7z+3hoLHvCcofN8FshCLA+iQQQ==} peerDependencies: astro: ^5.0.0 @@ -846,8 +846,8 @@ packages: resolution: {integrity: sha512-ufS/aOBXQKAe6hZ5NbiHUsC01o0ZcEwS+nNhd/mr1avLV+NbgYJEbwY8VRorzLs/GH5COOTaxl2795DkGIUTcw==} engines: {node: '>=18.14.1'} - astro@5.1.2: - resolution: {integrity: sha512-+U5lXPEJZ6cQx0botGbPhzN6XGWRgDtXgy/RUkpTmUj18LW6pbzYo0O0k3hFWOazlI039bZ+4P2e/oSNlKzm0Q==} + astro@5.1.4: + resolution: {integrity: sha512-V0XD2GlwUweCROYv+QKs97p7I1cZ6mYycU3VKGbJv2l55suTTy766F/MtHgoM/VAFdPBn488MUvDAYx85gf/Zw==} engines: {node: ^18.17.1 || ^20.3.0 || >=22.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0'} hasBin: true @@ -1750,9 +1750,6 @@ packages: pathe@1.1.2: resolution: {integrity: sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==} - picocolors@1.1.0: - resolution: {integrity: sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw==} - picocolors@1.1.1: resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} @@ -1782,10 +1779,6 @@ packages: resolution: {integrity: sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==} engines: {node: '>=4'} - postcss@8.4.47: - resolution: {integrity: sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ==} - engines: {node: ^10 || ^12 || >=14} - postcss@8.4.49: resolution: {integrity: sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA==} engines: {node: ^10 || ^12 || >=14} @@ -2567,12 +2560,12 @@ snapshots: transitivePeerDependencies: - supports-color - '@astrojs/mdx@4.0.3(astro@5.1.2(rollup@4.24.0)(typescript@5.6.2)(yaml@2.5.1))': + '@astrojs/mdx@4.0.3(astro@5.1.4(rollup@4.24.0)(typescript@5.6.2)(yaml@2.5.1))': dependencies: '@astrojs/markdown-remark': 6.0.1 '@mdx-js/mdx': 3.1.0(acorn@8.14.0) acorn: 8.14.0 - astro: 5.1.2(rollup@4.24.0)(typescript@5.6.2)(yaml@2.5.1) + astro: 5.1.4(rollup@4.24.0)(typescript@5.6.2)(yaml@2.5.1) es-module-lexer: 1.5.4 estree-util-visit: 2.0.0 hast-util-to-html: 9.0.3 @@ -2601,16 +2594,16 @@ snapshots: stream-replace-string: 2.0.0 zod: 3.23.8 - '@astrojs/starlight@0.30.3(astro@5.1.2(rollup@4.24.0)(typescript@5.6.2)(yaml@2.5.1))': + '@astrojs/starlight@0.30.5(astro@5.1.4(rollup@4.24.0)(typescript@5.6.2)(yaml@2.5.1))': dependencies: - '@astrojs/mdx': 4.0.3(astro@5.1.2(rollup@4.24.0)(typescript@5.6.2)(yaml@2.5.1)) + '@astrojs/mdx': 4.0.3(astro@5.1.4(rollup@4.24.0)(typescript@5.6.2)(yaml@2.5.1)) '@astrojs/sitemap': 3.2.0 '@pagefind/default-ui': 1.1.1 '@types/hast': 3.0.4 '@types/js-yaml': 4.0.9 '@types/mdast': 4.0.4 - astro: 5.1.2(rollup@4.24.0)(typescript@5.6.2)(yaml@2.5.1) - astro-expressive-code: 0.38.3(astro@5.1.2(rollup@4.24.0)(typescript@5.6.2)(yaml@2.5.1)) + astro: 5.1.4(rollup@4.24.0)(typescript@5.6.2)(yaml@2.5.1) + astro-expressive-code: 0.38.3(astro@5.1.4(rollup@4.24.0)(typescript@5.6.2)(yaml@2.5.1)) bcp-47: 2.1.0 hast-util-from-html: 2.0.3 hast-util-select: 6.0.2 @@ -2843,11 +2836,11 @@ snapshots: dependencies: '@ctrl/tinycolor': 4.1.0 hast-util-select: 6.0.2 - hast-util-to-html: 9.0.3 + hast-util-to-html: 9.0.4 hast-util-to-text: 4.0.2 hastscript: 9.0.0 - postcss: 8.4.47 - postcss-nested: 6.2.0(postcss@8.4.47) + postcss: 8.4.49 + postcss-nested: 6.2.0(postcss@8.4.49) unist-util-visit: 5.0.0 unist-util-visit-parents: 6.0.1 @@ -3237,9 +3230,9 @@ snapshots: astring@1.9.0: {} - astro-expressive-code@0.38.3(astro@5.1.2(rollup@4.24.0)(typescript@5.6.2)(yaml@2.5.1)): + astro-expressive-code@0.38.3(astro@5.1.4(rollup@4.24.0)(typescript@5.6.2)(yaml@2.5.1)): dependencies: - astro: 5.1.2(rollup@4.24.0)(typescript@5.6.2)(yaml@2.5.1) + astro: 5.1.4(rollup@4.24.0)(typescript@5.6.2)(yaml@2.5.1) rehype-expressive-code: 0.38.3 astro-remote@0.3.3: @@ -3250,7 +3243,7 @@ snapshots: marked-smartypants: 1.1.8(marked@12.0.2) ultrahtml: 1.5.3 - astro@5.1.2(rollup@4.24.0)(typescript@5.6.2)(yaml@2.5.1): + astro@5.1.4(rollup@4.24.0)(typescript@5.6.2)(yaml@2.5.1): dependencies: '@astrojs/compiler': 2.10.3 '@astrojs/internal-helpers': 0.4.2 @@ -4679,8 +4672,6 @@ snapshots: pathe@1.1.2: {} - picocolors@1.1.0: {} - picocolors@1.1.1: {} picomatch@2.3.1: {} @@ -4693,9 +4684,9 @@ snapshots: dependencies: find-up: 4.1.0 - postcss-nested@6.2.0(postcss@8.4.47): + postcss-nested@6.2.0(postcss@8.4.49): dependencies: - postcss: 8.4.47 + postcss: 8.4.49 postcss-selector-parser: 6.1.2 postcss-selector-parser@6.1.2: @@ -4703,12 +4694,6 @@ snapshots: cssesc: 3.0.0 util-deprecate: 1.0.2 - postcss@8.4.47: - dependencies: - nanoid: 3.3.7 - picocolors: 1.1.0 - source-map-js: 1.2.1 - postcss@8.4.49: dependencies: nanoid: 3.3.7 @@ -5081,11 +5066,11 @@ snapshots: sprintf-js@1.0.3: {} - starlight-blog@0.16.1(@astrojs/starlight@0.30.3(astro@5.1.2(rollup@4.24.0)(typescript@5.6.2)(yaml@2.5.1)))(astro@5.1.2(rollup@4.24.0)(typescript@5.6.2)(yaml@2.5.1)): + starlight-blog@0.16.1(@astrojs/starlight@0.30.5(astro@5.1.4(rollup@4.24.0)(typescript@5.6.2)(yaml@2.5.1)))(astro@5.1.4(rollup@4.24.0)(typescript@5.6.2)(yaml@2.5.1)): dependencies: - '@astrojs/mdx': 4.0.3(astro@5.1.2(rollup@4.24.0)(typescript@5.6.2)(yaml@2.5.1)) + '@astrojs/mdx': 4.0.3(astro@5.1.4(rollup@4.24.0)(typescript@5.6.2)(yaml@2.5.1)) '@astrojs/rss': 4.0.11 - '@astrojs/starlight': 0.30.3(astro@5.1.2(rollup@4.24.0)(typescript@5.6.2)(yaml@2.5.1)) + '@astrojs/starlight': 0.30.5(astro@5.1.4(rollup@4.24.0)(typescript@5.6.2)(yaml@2.5.1)) astro-remote: 0.3.3 github-slugger: 2.0.0 marked: 15.0.5 @@ -5095,9 +5080,9 @@ snapshots: - astro - supports-color - starlight-links-validator@0.14.1(@astrojs/starlight@0.30.3(astro@5.1.2(rollup@4.24.0)(typescript@5.6.2)(yaml@2.5.1))): + starlight-links-validator@0.14.1(@astrojs/starlight@0.30.5(astro@5.1.4(rollup@4.24.0)(typescript@5.6.2)(yaml@2.5.1))): dependencies: - '@astrojs/starlight': 0.30.3(astro@5.1.2(rollup@4.24.0)(typescript@5.6.2)(yaml@2.5.1)) + '@astrojs/starlight': 0.30.5(astro@5.1.4(rollup@4.24.0)(typescript@5.6.2)(yaml@2.5.1)) '@types/picomatch': 3.0.1 github-slugger: 2.0.0 hast-util-from-html: 2.0.3 diff --git a/src/content/docs/index.md b/src/content/docs/index.md index 080a4ce..c9650d8 100644 --- a/src/content/docs/index.md +++ b/src/content/docs/index.md @@ -9,17 +9,20 @@ hero: light: ../../img/wordmark.png alt: moonlight actions: - - text: Docs + - text: Install link: /using/install - icon: right-arrow + icon: download + - text: Docs + link: /ext-dev/getting-started + icon: open-book - text: Discord server link: https://discord.gg/FdZBTFCP6F - variant: minimal - icon: external + variant: secondary + icon: discord - text: GitHub link: https://github.com/moonlight-mod/moonlight - variant: minimal - icon: external + variant: secondary + icon: github --- A screenshot of Moonbase, the moonlight UI @@ -29,6 +32,6 @@ hero: moonlight is heavily inspired by hh3 (a private client mod) and the projects before it that it is inspired by, namely EndPwn. All core code is original or used with permission from their respective authors where not copyleft. -**_This is an experimental passion project._** Anything and everything is subject to change, but it is stable enough for developers to experiment with. +**_This is an experimental passion project._** Anything and everything is subject to change, but it is stable enough for tinkerers and developers to experiment with. moonlight is licensed under the [GNU Lesser General Public License](https://www.gnu.org/licenses/lgpl-3.0.html) (`LGPL-3.0-or-later`). diff --git a/src/content/docs/using/install.mdx b/src/content/docs/using/install.mdx index 08d2405..596876a 100644 --- a/src/content/docs/using/install.mdx +++ b/src/content/docs/using/install.mdx @@ -4,12 +4,15 @@ description: How to install, build, and use moonlight sidebar: order: 1 --- -import { FileTree } from "@astrojs/starlight/components"; +import { FileTree, LinkButton } from "@astrojs/starlight/components"; There are several ways to install moonlight: through the GUI installer, the CLI installer, or manually building it yourself. If you do not plan to develop on the moonlight codebase itself, it is suggested to use the GUI installer. ## moonlight installer +Download +Download + The moonlight [installer](https://github.com/moonlight-mod/moonlight-installer) automates the installation process for you. **This is the suggested way to install moonlight for Windows and macOS users.** To use it, [download](https://github.com/moonlight-mod/moonlight-installer/releases/latest) and run the installer, download moonlight through it, and then patch a Discord installation. Discord installations are autodetected on your machine. Keep the installer in the event that a Discord update breaks moonlight, so you can unpatch Discord or update moonlight.