mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
Update diff examples headers
This commit is contained in:
parent
18faa2274b
commit
3cf044a097
1 changed files with 3 additions and 3 deletions
|
|
@ -89,7 +89,7 @@ To do this, you'll have to edit the file and add something like this:
|
||||||
...
|
...
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
You can add whatever you wanna add to these fields. However, leave the value for your version key `null`:
|
You can add whatever you wanna add to these fields. However, leave the value for your version key as `null`:
|
||||||
```json
|
```json
|
||||||
"1.0.0": null
|
"1.0.0": null
|
||||||
```
|
```
|
||||||
|
|
@ -109,7 +109,7 @@ plugin you've added and the modified JSON metadata file!
|
||||||
Continuing the example from [Submitting a Plugin](#submitting-a-plugin) section, say you also wanna add a new screenmessage
|
Continuing the example from [Submitting a Plugin](#submitting-a-plugin) section, say you also wanna add a new screenmessage
|
||||||
to the `sample.py` plugin after it was submitted. Edit `sample.py` with whatever changes you'd like:
|
to the `sample.py` plugin after it was submitted. Edit `sample.py` with whatever changes you'd like:
|
||||||
```diff
|
```diff
|
||||||
diff --git a/bla.py b/bla.py
|
diff --git a/plugins/utilities/sample.py b/plugins/utilities/sample.py
|
||||||
index ebb7dcc..da2b312 100644
|
index ebb7dcc..da2b312 100644
|
||||||
--- a/plugins/utilities/sample.py
|
--- a/plugins/utilities/sample.py
|
||||||
+++ b/plugins/utilities/sample.py
|
+++ b/plugins/utilities/sample.py
|
||||||
|
|
@ -125,7 +125,7 @@ index ebb7dcc..da2b312 100644
|
||||||
|
|
||||||
To name this new version as `1.1.0`, add `"1.1.0": null,` just above the previous plugin version in `utilities.json`:
|
To name this new version as `1.1.0`, add `"1.1.0": null,` just above the previous plugin version in `utilities.json`:
|
||||||
```diff
|
```diff
|
||||||
diff --git a/bla.json b/bla.json
|
diff --git a/plugins/utilities.json b/plugins/utilities.json
|
||||||
index d3fd5bc..34ce9ad 100644
|
index d3fd5bc..34ce9ad 100644
|
||||||
--- a/plugins/utilities.json
|
--- a/plugins/utilities.json
|
||||||
+++ b/plugins/utilities.json
|
+++ b/plugins/utilities.json
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue