@@ -109,12 +109,12 @@ of a few ways:
109
109
This component is used to embed the current version of the software into the documentation. An example of this would be:
110
110
111
111
``` jsx
112
- < SoftwareVersion versionType= {" maj-min" }/ > // E.g 1.19.2
113
- < SoftwareVersion versionType= {" maj" }/ > // E.g 1.19
114
- < SoftwareVersion versionType= {" max " }/ > // E.g 1.20.4
112
+ < SoftwareVersion versionType= {" maj-min-pat " }/ > // e.g. 1.19.2
113
+ < SoftwareVersion versionType= {" maj-min " }/ > // e.g. 1.19
114
+ < SoftwareVersion versionType= {" maj " }/ > // e.g. 1
115
115
116
- // You can set the project name to be used for the versioning:
117
- < SoftwareVersion versionType= {" maj-min" } project= {" velocity" }/ > // Project defaults to Paper
116
+ // You can set the project name to be used for the versioning (defaults to paper) :
117
+ < SoftwareVersion versionType= {" maj-min-pat " } project= {" velocity" }/ > // e.g. 3.3.0-SNAPSHOT
118
118
```
119
119
120
120
2 . ` Javadoc ` component
@@ -137,17 +137,17 @@ of a few ways:
137
137
version: '1.0'
138
138
main: io.papermc.testplugin.TestPlugin
139
139
description: Paper Test Plugin
140
- api-version: '%%_MAJ_MC_ %%'
140
+ api-version: '%%_MAJ_MIN_PAT_MC_ %%'
141
141
bootstrapper: io.papermc.testplugin.TestPluginBootstrap
142
142
loader: io.papermc.testplugin.TestPluginLoader
143
143
` ` ` ⠀
144
144
< / VersionFormattedCode>
145
145
146
146
// The possible placeholders are:
147
- %% _MAJ_MC_ %% - Major Paper Version (E .g . 1 .20 )
148
- %% _MAJ_MIN_MC_ %% - Major- Minor Paper Version (E .g . 1 .20 .4 )
149
- %% _MAJ_VEL_ %% - Major Velocity Version (E .g . 3 .3 )
150
- %% _MAJ_MIN_VEL_ %% - Major- Minor Velocity Version (E .g . 3 .3 . 0 )
147
+ %% _MAJ_MIN_MC_ %% - Major- Minor Paper Version (E .g . 1 .20 )
148
+ %% _MAJ_MIN_PAT_MC_ %% - Major- Minor- Patch Paper Version (E .g . 1 .20 .4 )
149
+ %% _MAJ_MIN_VEL_ %% - Major Velocity Version (E .g . 3 .1 . 0 )
150
+ %% _MAJ_MIN_PAT_VEL_ %% - Major- Minor- Patch Velocity Version (E .g . 3 .1 . 1 - SNAPSHOT )
151
151
````
152
152
153
153
When the major version of the software changes, the docs will still need to have a "snapshot" created to keep documentation
0 commit comments