File tree Expand file tree Collapse file tree 7 files changed +43
-146
lines changed Expand file tree Collapse file tree 7 files changed +43
-146
lines changed Original file line number Diff line number Diff line change @@ -48,50 +48,17 @@ export default defineConfig({
48
48
link : "/infomation/intro/" ,
49
49
} ,
50
50
{
51
- label : "Documentation" ,
51
+ label : "JS Documentation" ,
52
52
items : [
53
53
{
54
54
label : "Installation" ,
55
- link : "/guides/install/" ,
56
- } ,
57
- {
58
- label : "OAuth" ,
59
- link : "/guides/oauth/" ,
60
- badge : {
61
- text : "Recomended!" ,
62
- variant : "success" ,
63
- } ,
64
- } ,
65
- {
66
- label : "DeviceCode" ,
67
- link : "/guides/device_code/" ,
68
- badge : {
69
- text : "Secure!" ,
70
- variant : "note" ,
71
- } ,
72
- } ,
73
- {
74
- label : "Launching" ,
75
- link : "/guides/launching" ,
76
- badge : {
77
- text : "Experimental" ,
78
- variant : "caution" ,
79
- } ,
55
+ link : "/js/install/" ,
80
56
} ,
81
57
] ,
82
58
} ,
83
59
{
84
- label : "Resources" ,
85
- items : [
86
- {
87
- label : "Docs.rs" ,
88
- link : "https://docs.rs/minecraft-essentials/" ,
89
- } ,
90
- {
91
- label : "Crates.io" ,
92
- link : "https://crates.io/minecraft-essentials/" ,
93
- } ,
94
- ] ,
60
+ label : "Rust Documentation" ,
61
+ link : "https://docs.rs/minecraft-essentials/" ,
95
62
} ,
96
63
{
97
64
label : "Minecraft Clients" ,
Original file line number Diff line number Diff line change 1
1
---
2
- import Tabs from ' ./Tabs.astro' ;
3
- import { TabItem } from ' @astrojs/starlight/components' ;
2
+ import Tabs from " ./Tabs.astro" ;
3
+ import { TabItem } from " @astrojs/starlight/components" ;
4
+
5
+ interface Props {
6
+ js? : boolean ;
7
+ }
8
+ const { js } = Astro .props ;
4
9
---
5
10
6
11
<Tabs group =" package-managers" >
7
- <TabItem label =" Cargo" >
8
- <slot name =" cargo" />
9
- </TabItem >
10
- <TabItem label =" Bun" >
11
- <slot name =" bun" />
12
- </TabItem >
13
- <TabItem label =" Yarn" >
14
- <slot name =" yarn" />
15
- </TabItem >
16
- <TabItem label =" pnpm" >
17
- <slot name =" pnpm" />
18
- </TabItem >
19
- <TabItem label =" npm" >
20
- <slot name =" npm" />
21
- </TabItem >
22
- </Tabs >
12
+ {
13
+ js && (
14
+ <>
15
+ <TabItem label = " Deno" >
16
+ <slot name = " deno" />
17
+ </TabItem >
18
+ <TabItem label = " Bun" >
19
+ <slot name = " bun" />
20
+ </TabItem >
21
+ <TabItem label = " Yarn" >
22
+ <slot name = " yarn" />
23
+ </TabItem >
24
+ <TabItem label = " pnpm" >
25
+ <slot name = " pnpm" />
26
+ </TabItem >
27
+ <TabItem label = " npm" >
28
+ <slot name = " npm" />
29
+ </TabItem >
30
+ </>
31
+ )
32
+ }
33
+ </Tabs >
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -31,4 +31,9 @@ You can find updates on GitHub at our [Roadmap](https://github.com/orgs/minecraf
31
31
## Roadmap
32
32
33
33
34
- Our roadmap is easily avavlible on [ GitHub] ( https://github.com/orgs/minecraft-essentials/projects/1 )
34
+ Our roadmap is easily avavlible on [ GitHub] ( https://github.com/orgs/minecraft-essentials/projects/1 )
35
+
36
+
37
+
38
+ # Rust Documentation
39
+ If your looking for the rust documentation you can find it [ here] ( https://docs.rs/minecraft-essentials/ )
Original file line number Diff line number Diff line change @@ -7,13 +7,11 @@ description: How to install the package
7
7
import PackageManagerTabs from " @src/components/docs/PackageMangerTabs.astro" ;
8
8
9
9
:::caution
10
- ** This is subjected to CHANGE at any time as this is Experimental **
10
+ ** Work In Progress **
11
11
:::
12
12
13
13
14
-
15
- ## Installing Via Your NPM Package Manager
16
-
14
+ ## Installation
17
15
18
16
<PackageManagerTabs >
19
17
<Fragment slot = " npm" >
@@ -36,9 +34,9 @@ import PackageManagerTabs from "@src/components/docs/PackageMangerTabs.astro";
36
34
bun add minecraft-essentials
37
35
```
38
36
</Fragment >
39
- <Fragment slot = " cargo " >
37
+ <Fragment slot = " deno " >
40
38
``` shell
41
- cargo add minecraft-essentials
39
+ deno install npm: minecraft-essentials
42
40
```
43
41
</Fragment >
44
42
</PackageManagerTabs >
You can’t perform that action at this time.
0 commit comments