From f12f73251b49a368b36ecf5c56144a205503e0eb Mon Sep 17 00:00:00 2001 From: FeGmbH Date: Tue, 8 Sep 2026 15:45:11 +0200 Subject: [PATCH 1/2] Update development setup instructions in docs Added instructions to install git for development setup. Signed-off-by: FeGmbH --- apps/docs/src/content/docs/contributing/docs.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/docs/src/content/docs/contributing/docs.md b/apps/docs/src/content/docs/contributing/docs.md index 09f238be09..1bd1ee0658 100644 --- a/apps/docs/src/content/docs/contributing/docs.md +++ b/apps/docs/src/content/docs/contributing/docs.md @@ -8,14 +8,17 @@ This project is part of our [monorepo](https://github.com/modrinth/code). You ca [Docs] are the very site you are looking at right now. They are here to help developers and contributors work with Modrinth's codebase and API. -To set up a development environment, you will need to install [pnpm] and run the following commands: +To set up a development environment, you will need to install [pnpm] and [git], if you haven't already, and run the following commands: ```bash +git clone https://github.com/modrinth/code.git modrinth +cd "modrinth" pnpm install pnpm run docs:dev ``` When ready, you will have a hot-reloading environment of the docs site running on port 4321. +To open it up, enter http://localhost:4321 on your Browser. ## Ready to open a PR? @@ -23,3 +26,4 @@ While there is no linting requirement on Docs, we do ask that you quickly check [docs]: https://github.com/modrinth/code/tree/main/apps/docs [pnpm]: https://pnpm.io +[git]: https://git-scm.com/ From d8081d7fc523780dcf7d7d986318602188ec7465 Mon Sep 17 00:00:00 2001 From: FeGmbH Date: Tue, 8 Sep 2026 15:57:23 +0200 Subject: [PATCH 2/2] Enhance local docs access with hyperlink Added a hyperlink to the local docs site URL for easier access. Signed-off-by: FeGmbH --- apps/docs/src/content/docs/contributing/docs.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/docs/src/content/docs/contributing/docs.md b/apps/docs/src/content/docs/contributing/docs.md index 1bd1ee0658..8b3d69b9a4 100644 --- a/apps/docs/src/content/docs/contributing/docs.md +++ b/apps/docs/src/content/docs/contributing/docs.md @@ -18,7 +18,7 @@ pnpm run docs:dev ``` When ready, you will have a hot-reloading environment of the docs site running on port 4321. -To open it up, enter http://localhost:4321 on your Browser. +To open it up, enter http://localhost:4321 on your Browser, or click [here]. ## Ready to open a PR? @@ -27,3 +27,4 @@ While there is no linting requirement on Docs, we do ask that you quickly check [docs]: https://github.com/modrinth/code/tree/main/apps/docs [pnpm]: https://pnpm.io [git]: https://git-scm.com/ +[here]: http://localhost:4321/