File tree 9 files changed +326
-226
lines changed 9 files changed +326
-226
lines changed Original file line number Diff line number Diff line change @@ -24,9 +24,10 @@ export default defineConfig({
24
24
sidebar : [
25
25
{ text : 'Getting Started' ,
26
26
items : [
27
- { text : 'Setting Up' , link : 'getting-started/setting-up' }
28
- // { text: 'New Pack', link: 'getting-started/new-pack' }
29
- // { text: 'New Category', link: 'getting-started/new-category' }
27
+ { text : 'Setting Up' , link : 'getting-started/setting-up' } ,
28
+ { text : 'Creating a New Pack' , link : 'new/new-pack' } ,
29
+ { text : 'Creating a New Category' , link : 'new/new-category' } ,
30
+ { text : 'Now what?' , link : 'getting-started/afterwards' }
30
31
]
31
32
} ,
32
33
{
@@ -36,13 +37,6 @@ export default defineConfig({
36
37
// { text: 'JS Files', link: 'scripts/js-files' }
37
38
]
38
39
} ,
39
- {
40
- text : 'JSONs' ,
41
- items : [
42
- { text : 'Other JSONs' , link : 'jsons/other-jsons' } ,
43
- { text : 'Pack JSONs' , link : 'jsons/pack-jsons' }
44
- ]
45
- } ,
46
40
{
47
41
text : 'Misc' ,
48
42
items : [
Original file line number Diff line number Diff line change 216
216
}
217
217
.VPSidebar {
218
218
padding-bottom : 16px !important ;
219
+ }
220
+
221
+ .unnecessary-codeblock ,
222
+ kbd {
223
+ background-color : var (--vp-code-block-bg );
224
+ padding : 5px 10px ;
225
+ width : fit-content;
226
+ border-radius : 10px ;
227
+ }
228
+ kbd {
229
+ border-radius : 5px ;
230
+ padding : 0px 5px 5px 5px ;
231
+ box-shadow : inset 0 -3.75px 0 0 var (--vp-c-gray-3 );
232
+ font-family : var (--vp-font-family-mono ) !important ;
233
+ }
234
+ h3 {
235
+ margin-top : 0 !important ;
236
+ }
237
+ .vp-doc p {
238
+ margin : 8px 0 !important ;
219
239
}
Original file line number Diff line number Diff line change
1
+ ---
2
+ prev :
3
+ text : New pack
4
+ link : new/new-pack
5
+ mentions :
6
+ - NSPC911
7
+ ---
8
+ # Now what?
9
+
10
+ Now that you have created a new category/pack, what do you do now?
11
+
12
+ ## Run pre_commit.py
13
+ - What is that?
14
+
15
+ It is a multi-purpose script designed to help the process of creating!<br >Run it with ` python pys/pre_commit.py ` from the root directory
16
+
17
+ Main things that it does:
18
+ - Creates a backup for you to restore on if you lose anything (saved to git stash)
19
+ - Adds your pack/category to the maps required to download a pack
20
+ - Updates the website for testing
21
+ - Updates the stats in README.md
22
+ - Formats files (if run with flag ` --format ` )
23
+ - Builds packs (if run with flag ` --build pack ` on behaviour-packs)
24
+
25
+ ## Open a Pull Request
26
+ - What is that?
27
+
28
+ It allows you to suggest changes in the repository! If you go to your repo's main directory, GitHub will suggest you to open a Pull Request.
29
+
30
+ Open it and maybe you might get your first contribution!
31
+
32
+ <Contributors />
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 4
4
link : index
5
5
next :
6
6
text : Creating a new Pack
7
- link : getting-started /new-pack
7
+ link : new /new-pack
8
8
mentions :
9
9
- NSPC911
10
10
---
@@ -15,6 +15,7 @@ You will need
15
15
- You can also get a GUI Client like [ Git GUI] ( https://git-scm.com/docs/git-gui ) and [ GitHub Desktop] ( https://desktop.github.com/ ) or complicated ones like [ Sourcegit] ( https://github.com/sourcegit-scm/sourcegit/releases/latest ) or [ Lazygit] ( https://github.com/jesseduffield/lazygit )
16
16
- [ Python 3+] ( https://www.python.org/downloads/ )
17
17
- [ NodeJS] ( https://nodejs.org/en )
18
+ - Code Editor (recommended)
18
19
19
20
## Setting up pack repositories
20
21
@@ -30,35 +31,6 @@ You will need
30
31
cd resource-packs
31
32
` ` `
32
33
33
- 2. Create missing folders
34
-
35
- ` ` ` sh
36
- python pys\f older_creator.py
37
- ` ` `
38
- - Type in ` 0` to not print anything.
39
-
40
- # # Setting up the server
41
-
42
- 1. Clone the repository
43
-
44
- ` ` ` sh
45
- git clone https://github.com/BEComTweaks/server-backend --recursive
46
- ` ` `
47
- > Recursive cloning is neccessary as there are submodules in the repository
48
-
49
- - cd into the repository' s folder
50
-
51
- ```sh
52
- cd server-backend
53
- ```
54
-
55
- 2. Get neccessary node modules
56
-
57
- ```sh
58
- npm install
59
- ```
60
-
61
- ---
62
34
That' s it!
63
35
64
36
<Contributors />
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments