Skip to content

Commit 63a0855

Browse files
committed
Minor doc updates
1 parent 5c3530b commit 63a0855

File tree

3 files changed

+15
-29
lines changed

3 files changed

+15
-29
lines changed

README.md

Lines changed: 13 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
1-
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.jooby/jooby/badge.svg)](https://maven-badges.herokuapp.com/maven-central/org.jooby/jooby)
2-
[![javadoc](https://javadoc.io/badge/org.jooby/jooby.svg)](https://javadoc.io/doc/org.jooby/jooby/1.5.0)
1+
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.jooby/jooby/badge.svg)](https://maven-badges.herokuapp.com/maven-central/io.jooby/jooby)
2+
[![javadoc](https://javadoc.io/badge/io.jooby/jooby.svg)](https://javadoc.io/doc/io.jooby/jooby/2.0.0.M1)
33
[![Become a Patreon](https://img.shields.io/badge/patreon-donate-orange.svg)](https://patreon.com/edgarespina)
44
[![Build Status](https://travis-ci.org/jooby-project/jooby.svg?branch=master)](https://travis-ci.org/jooby-project/jooby)
5-
[![coveralls.io](https://img.shields.io/coveralls/jooby-project/jooby.svg)](https://coveralls.io/r/jooby-project/jooby?branch=master)
6-
[![codecov.io](https://codecov.io/gh/jooby-project/jooby/branch/master/graph/badge.svg)](https://codecov.io/gh/jooby-project/jooby)
7-
[![Google Group](https://img.shields.io/badge/group-joobyproject-orange.svg)](https://groups.google.com/forum/#!forum/jooby-project)
85
[![Join the chat at https://gitter.im/jooby-project/jooby](https://badges.gitter.im/jooby-project/jooby.svg)](https://gitter.im/jooby-project/jooby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
9-
[![Follow us on twitter](https://img.shields.io/badge/twitter-@joobyproject-blue.svg)](https://twitter.com/joobyproject)
106

117
# ∞ do more, more easily
128

13-
[Jooby](http://jooby.org) a modular micro web framework for Java and [Kotlin](http://jooby.org/doc/lang-kotlin):
9+
[Jooby](https://jooby.io) a modular micro web framework for Java and Kotlin:
1410

1511
Java:
1612

@@ -20,7 +16,7 @@ import org.jooby.Jooby;
2016
public class App extends Jooby {
2117

2218
{
23-
get("/", () -> "Hey Jooby!");
19+
get("/", ctx -> "Hey Jooby!");
2420
}
2521

2622
public static void main(final String[] args) {
@@ -32,18 +28,16 @@ public class App extends Jooby {
3228

3329
[Kotlin](http://jooby.org/doc/lang-kotlin):
3430

35-
```java
36-
37-
import org.jooby.*
31+
```kotlin
3832

39-
class App: Kooby({
40-
get {
41-
"Hello Jooby!"
42-
}
43-
})
33+
import org.jooby.run
4434

4535
fun main(args: Array<String>) {
46-
run(::App, *args)
36+
run(args) {
37+
get ("/") { ctx ->
38+
"Welcome to Jooby!"
39+
}
40+
}
4741
}
4842

4943
```
@@ -52,25 +46,17 @@ fun main(args: Array<String>) {
5246

5347
* **Simple, effective and easy to learn**
5448

55-
* **Fast development cycles**: run, debug and reload your application using [devtools](http://jooby.org/doc/devtools) available for Maven and Gradle
56-
5749
* **Script routes**: annotation and reflection free programming model using lambdas. Similar to [express.js](http://expressjs.com), [Sinatra](http://www.sinatrarb.com), etc..
5850

5951
* **MVC routes**: annotation and reflection programming model using controller classes. Similar to [Spring](http://spring.io), [Jersey](https://jersey.java.net), etc..
6052

6153
* **Multi-server**: [Jetty](http://www.eclipse.org/jetty/), [Netty](http://netty.io) and [Undertow](http://undertow.io)
6254

63-
* **Multi-protocol**: `HTTP`, `HTTPS`, `HTTP 2.0`, `Server-Sent Events` and `Web-Socket`
64-
65-
* **Modular**. Make it **full-stack** via the extensive [module eco-system](http://jooby.org/modules)
66-
67-
* **Ready for the modern web** with the [asset management](http://jooby.org/doc/asset-management) tools
68-
6955
## found this project useful :heart:
7056

7157
* Support by clicking the :star: button on the upper right of this page. :v:
7258

73-
* Buy [Edgar](https://patreon.com/edgarespina) a beer!
59+
* [Donate](https://patreon.com/edgarespina) to support Jooby development!
7460

7561

7662
want to contribute?
@@ -84,7 +70,7 @@ want to contribute?
8470
* If you know the answer to a question posted to our [group](https://groups.google.com/forum/#!forum/jooby-project) - don't hesitate to write a reply.
8571
* Share your ideas or ask questions on the [jooby group](https://github.com/jooby-project/jooby/issues) - don't hesitate to write a reply - that helps us improve javadocs/FAQ.
8672
* If you miss a particular feature - browse or ask on the [group](https://groups.google.com/forum/#!forum/jooby-project) - don't hesitate to write a reply, show us some sample code and describe the problem.
87-
* Write a blog post about how you use or extend [jooby](http://jooby.org).
73+
* Write a blog post about how you use or extend [jooby](https://jooby.io).
8874
* Please suggest changes to javadoc/exception messages when you find something unclear.
8975
* If you have problems with documentation, find it non intuitive or hard to follow - let us know about it, we'll try to make it better according to your suggestions. Any constructive critique is greatly appreciated. Don't forget that this is an open source project developed and documented in spare time.
9076

docs/index.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ import io.jooby.run
5151
5252
fun main(args: Array<String>) {
5353
run(args) {
54-
get ("/) { ctx ->
54+
get ("/") { ctx ->
5555
"Welcome to Jooby!"
5656
}
5757
}

docs/src/main/java/io/jooby/adoc/DocGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
import java.util.UUID;
2929

3030
public class DocGenerator {
31-
public static final Object VERSION = "2.0.0.RC1";
31+
public static final Object VERSION = "2.0.0.M1";
3232

3333
public static void main(String[] args) throws Exception {
3434
generate(basedir(), args.length > 0 && "publish".equals(args[0]));

0 commit comments

Comments
 (0)