Skip to content

Commit 0a17737

Browse files
committed
Some minor docu changes
1 parent cde1aa3 commit 0a17737

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

RELEASE.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
#### Deploy locally
1+
#### Deploy p2 Repository
2+
3+
Create a tag `v0.1.0` and push it. GH Action will create a p2 repository and publish it to GH Pages:
4+
5+
`https://typefox.github.io/xtext2langium/download/updates/v0.1.0/`
6+
#### Maven Deploy locally
27
##### Setup your local settings.xml
38

49
```
@@ -40,4 +45,5 @@ Start deployment
4045
`mvn clean deploy -P release`
4146

4247
Check the status of the staged repository and release
43-
[oss.sonatype.org](https://oss.sonatype.org/index.html)
48+
[oss.sonatype.org](https://oss.sonatype.org/index.html)
49+

io.typefox.xtext2langium.tests/META-INF/MANIFEST.MF

-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,3 @@ Require-Bundle: org.eclipse.xtend.lib;bundle-version="2.25.0",
1212
org.eclipse.xtext.xtext.generator;bundle-version="2.25.0",
1313
io.typefox.xtext2langium;bundle-version="0.1.0",
1414
org.eclipse.core.runtime;bundle-version="3.23.0"
15-

io.typefox.xtext2langium/src/io/typefox/xtext2langium/Xtext2LangiumFragment.xtend

+3-2
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,9 @@ class Xtext2LangiumFragment extends AbstractXtextGeneratorFragment {
5656
String outputPath
5757

5858
/**
59-
* If true, enum literal types will be prefixed with the enum type name to avoid name conflicts with other enum literals. Default is true.<br>
60-
* enum Color { RED } will create: type Color_RED = 'RED'
59+
* If true, enum literal types will be prefixed with the enum type name to avoid name conflicts with other enum literals. Default is true.<br><br>
60+
* <code>enum Color: RED;</code> <br>will create:<br><code>Color returns Color: Color_RED;<br>
61+
* Color_RED returns string: 'RED';</code>
6162
*/
6263
@Accessors(PUBLIC_SETTER)
6364
boolean prefixEnumLiterals = true

0 commit comments

Comments
 (0)