Allow selecting pnpm (or other package manager) as the default across the docs #12448
Replies: 2 comments 2 replies
-
Hi @sankalpaacharya! We use Starlight’s docs/src/content/docs/en/install-and-setup.mdx Lines 42 to 61 in e1e9994 It looks like we maybe don’t use that consistently yet though. For example, it’s missing in this guide where we just use docs/src/content/docs/en/develop-and-build.mdx Lines 23 to 39 in e1e9994 It would be helpful to try and find all instances of where we’re using |
Beta Was this translation helpful? Give feedback.
-
Closing this discussion as the issue has been resolved in #12492 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, the documentation defaults to showing commands with
npm
. When browsing, if I preferpnpm
, I have to manually switch to it on each page where package manager commands appear.It would be great if there were a way to set
pnpm
(or any package manager) as the default once, and have that preference persist across the documentation. This would make the experience smoother for developers who don’t usenpm
by default.I’d be more than happy to contribute to implementing this if the team is open to it.
Beta Was this translation helpful? Give feedback.
All reactions