Skip to content

Commit a0df6f8

Browse files
authored
Remove Javadoc from repo, get it from Maven (#388)
Removes generated files from the repo and makes #385 easier to review by reducing the number of changed files.
1 parent 8d6c5ec commit a0df6f8

File tree

4,653 files changed

+31
-1067484
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,653 files changed

+31
-1067484
lines changed

pom.xml

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212

1313
<properties>
1414
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15-
<maven.compiler.target>1.7</maven.compiler.target>
16-
<maven.compiler.source>1.7</maven.compiler.source>
15+
<maven.compiler.target>1.8</maven.compiler.target>
16+
<maven.compiler.source>1.8</maven.compiler.source>
1717
</properties>
1818

1919
<build>
@@ -87,7 +87,29 @@
8787
</execution>
8888
</executions>
8989
</plugin>
90-
90+
<plugin>
91+
<artifactId>maven-dependency-plugin</artifactId>
92+
<executions>
93+
<execution>
94+
<id>unpack</id>
95+
<phase>prepare-package</phase>
96+
<goals>
97+
<goal>unpack</goal>
98+
</goals>
99+
<configuration>
100+
<artifactItems>
101+
<artifactItem>
102+
<groupId>org.gwtproject</groupId>
103+
<artifactId>gwt-dev</artifactId>
104+
<version>2.12.1</version>
105+
<classifier>javadoc</classifier>
106+
</artifactItem>
107+
</artifactItems>
108+
<outputDirectory>${project.build.directory}/generated-site/javadoc/latest</outputDirectory>
109+
</configuration>
110+
</execution>
111+
</executions>
112+
</plugin>
91113
<plugin>
92114
<artifactId>maven-assembly-plugin</artifactId>
93115
<executions>

src/main/markdown/doc/latest/DevGuideCodingBasicsJSON.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ See [json.org/example.html](http://www.json.org/example.html) for more JSON exam
3030

3131
## Parsing JSON<a id="parsing"></a>
3232

33-
You can parse JSON Strings and convert them to a [JavaScriptObject](/javadoc/latest/com/google/gwt/core/client/JavaScriptObject.html) using [JsonUtils](https://www.gwtproject.org/javadoc/latest/com/google/gwt/core/client/JsonUtils.html).
33+
You can parse JSON Strings and convert them to a [JavaScriptObject](/javadoc/latest/com/google/gwt/core/client/JavaScriptObject.html) using [JsonUtils](/javadoc/latest/com/google/gwt/core/client/JsonUtils.html).
3434

3535
```java
3636
/*

src/main/markdown/doc/latest/DevGuideCodingBasicsJsInterop.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
JsInterop
22
===
33

4-
JsInterop is one of the core features of GWT 2.8. As the name suggests, JsInterop is a way of interoperating Java with JavaScript. It offers a better way of communication between the two using annotations instead of having to write JavaScript in your classes (using JSNI). More details about the annotations can be found in GWT javadoc: https://www.gwtproject.org/javadoc/latest/jsinterop/annotations/package-summary.html
4+
JsInterop is one of the core features of GWT 2.8. As the name suggests, JsInterop is a way of interoperating Java with JavaScript. It offers a better way of communication between the two using annotations instead of having to write JavaScript in your classes (using JSNI). More details about the annotations can be found in [GWT javadoc](/javadoc/latest/jsinterop/annotations/package-summary.html)
55

66

77
## Exporting a Java type to JavaScript

src/main/markdown/doc/latest/DevGuideLinkers.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
The Linker subsystem takes care of writing the GWT compiler's output. It's responsible for each output file's name, location, and content.
44

55
Inside the compiler, each output file is represented by an
6-
[Artifact](https://www.gwtproject.org/javadoc/latest/com/google/gwt/core/ext/linker/Artifact.html).
6+
[Artifact](/javadoc/latest/com/google/gwt/core/ext/linker/Artifact.html).
77

88
You usually do not need to care about them, unless you have specific requirements.
99

1010
Linkers create several kinds of files (see
11-
[EmittedArtifact.Visibility](https://www.gwtproject.org/javadoc/latest/com/google/gwt/core/ext/linker/EmittedArtifact.Visibility.html)):
11+
[EmittedArtifact.Visibility](/javadoc/latest/com/google/gwt/core/ext/linker/EmittedArtifact.Visibility.html)):
1212

1313
- **Public files** are those intended to be downloaded by web browsers.
1414
This includes JavaScript and other resource files.
@@ -64,7 +64,7 @@ In case you have specific needs not covered by the existing linkers, you can cre
6464

6565
First, implement your linker. It must be a class extending the [Linker](/javadoc/latest/com/google/gwt/core/ext/Linker.html)
6666
abstract class (check its documentation), or
67-
[AbstractLinker](https://www.gwtproject.org/javadoc/latest/com/google/gwt/core/ext/linker/AbstractLinker.html).
67+
[AbstractLinker](/javadoc/latest/com/google/gwt/core/ext/linker/AbstractLinker.html).
6868

6969
Using the `@LinkerOrder` annotation, you can specify whether it is a pre-, post- or primary linker.
7070
You must also annotate it with the `@Shardable` annotation.

src/main/resources/main.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<li><a href="makinggwtbetter.html"><i class="icon_makeGWTBetter"></i>Make GWT Better</a></li>
4848
<li class="sep"><a href="terms.html"><i class="icon_terms"></i>Terms</a></li>
4949
<li class="btn"><a href="download.html"><i class="icon_download"></i>Download</a></li>
50-
<li class="btn"><a href="https://www.gwtproject.org/javadoc/latest/"><i class="icon_jd"></i>Java Doc</a></li>
50+
<li class="btn"><a href="javadoc/latest/"><i class="icon_jd"></i>Java Doc</a></li>
5151
</ul>
5252
<div id="social">
5353
<a href="https://gitter.im/gwtproject/gwt" target="_blank" title="Access our Gitter community">

0 commit comments

Comments
 (0)