Skip to content

Commit

Permalink
Move the json package to the doc overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
vietj committed Feb 4, 2015
1 parent 1ab5bb1 commit d84b287
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 11 deletions.
15 changes: 14 additions & 1 deletion pom.xml
Expand Up @@ -214,7 +214,6 @@
<reportOutputDirectory>${project.build.directory}/docs</reportOutputDirectory>
</configuration>
</plugin>

<plugin>
<artifactId>maven-clean-plugin</artifactId>
<executions>
Expand All @@ -230,6 +229,20 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<configuration>
<excludes>
<exclude>docoverride/**</exclude>
</excludes>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
<plugins>
Expand Down
Expand Up @@ -14,16 +14,16 @@
* You may elect to redistribute this code under either of these licenses.
*/

package examples;
package docoverride.json;

import io.vertx.core.buffer.Buffer;
import io.vertx.core.json.JsonArray;
import io.vertx.core.json.JsonObject;
import io.vertx.core.net.NetSocket;
import io.vertx.docgen.Source;

/**
* Created by tim on 09/01/15.
*/
@Source
public class JsonExamples {

public void example0_1() {
Expand Down
Expand Up @@ -38,7 +38,7 @@
*
* [source,java]
* ----
* {@link examples.JsonExamples#example0_1}
* {@link docoverride.json.JsonExamples#example0_1}
* ----
*
* ==== Putting entries into a JSON object
Expand All @@ -49,7 +49,7 @@
*
* [source,java]
* ----
* {@link examples.JsonExamples#example1}
* {@link docoverride.json.JsonExamples#example1}
* ----
*
* ==== Getting values from a JSON object
Expand All @@ -58,7 +58,7 @@
*
* [source,java]
* ----
* {@link examples.JsonExamples#example2}
* {@link docoverride.json.JsonExamples#example2}
* ----
*
* ==== Encoding the JSON object to a String
Expand All @@ -81,7 +81,7 @@
*
* [source,java]
* ----
* {@link examples.JsonExamples#example0_2}
* {@link docoverride.json.JsonExamples#example0_2}
* ----
*
* ==== Adding entries into a JSON array
Expand All @@ -90,7 +90,7 @@
*
* [source,java]
* ----
* {@link examples.JsonExamples#example3}
* {@link docoverride.json.JsonExamples#example3}
* ----
*
* ==== Getting values from a JSON array
Expand All @@ -99,7 +99,7 @@
*
* [source,java]
* ----
* {@link examples.JsonExamples#example4}
* {@link docoverride.json.JsonExamples#example4}
* ----
*
* ==== Encoding the JSON array to a String
Expand All @@ -109,7 +109,7 @@
*
*/
@Document(fileName = "json.adoc")
package io.vertx.core.json;
package docoverride.json;

import io.vertx.docgen.Document;

0 comments on commit d84b287

Please sign in to comment.