Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Javadoc from repo, get it from Maven #388

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
28 changes: 25 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.target>1.7</maven.compiler.target>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
</properties>

<build>
Expand Down Expand Up @@ -87,7 +87,29 @@
</execution>
</executions>
</plugin>

<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack</id>
<phase>prepare-package</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.gwtproject</groupId>
<artifactId>gwt-dev</artifactId>
<version>2.12.1</version>
<classifier>javadoc</classifier>
</artifactItem>
</artifactItems>
<outputDirectory>${project.build.directory}/generated-site/javadoc/latest</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
Expand Down
2 changes: 1 addition & 1 deletion src/main/markdown/doc/latest/DevGuideCodingBasicsJSON.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ See [json.org/example.html](http://www.json.org/example.html) for more JSON exam

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

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).
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).

```java
/*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
JsInterop
===

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
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)


## Exporting a Java type to JavaScript
Expand Down
6 changes: 3 additions & 3 deletions src/main/markdown/doc/latest/DevGuideLinkers.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
The Linker subsystem takes care of writing the GWT compiler's output. It's responsible for each output file's name, location, and content.

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

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

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

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

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

Using the `@LinkerOrder` annotation, you can specify whether it is a pre-, post- or primary linker.
You must also annotate it with the `@Shardable` annotation.
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/main.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<li><a href="makinggwtbetter.html"><i class="icon_makeGWTBetter"></i>Make GWT Better</a></li>
<li class="sep"><a href="terms.html"><i class="icon_terms"></i>Terms</a></li>
<li class="btn"><a href="download.html"><i class="icon_download"></i>Download</a></li>
<li class="btn"><a href="https://www.gwtproject.org/javadoc/latest/"><i class="icon_jd"></i>Java Doc</a></li>
<li class="btn"><a href="javadoc/latest/"><i class="icon_jd"></i>Java Doc</a></li>
</ul>
<div id="social">
<a href="https://gitter.im/gwtproject/gwt" target="_blank" title="Access our Gitter community">
Expand Down
Loading
Loading