aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--website/resources/js/main.js4
-rw-r--r--website/templates/features/GetterSetter.html2
-rw-r--r--website/templates/features/experimental/index.html2
-rw-r--r--website/templates/features/index.html8
-rw-r--r--website/templates/main.html7
5 files changed, 19 insertions, 4 deletions
diff --git a/website/resources/js/main.js b/website/resources/js/main.js
index 35d0620d..99ae3b19 100644
--- a/website/resources/js/main.js
+++ b/website/resources/js/main.js
@@ -14,7 +14,7 @@
if (self.data("clc")) return;
var href = self.attr("href");
self.data("clc", true);
- if (!href || href.substr(0, 4) === "http") return;
+ if (!href || href.substr(0, 4) === "http" || href === "/api/") return;
var ext = href.substr(href.length - 4, 4);
if (ext === ".xml" || ext === ".jar") return;
self.on("click", function(evt) {
@@ -63,6 +63,8 @@
$("#main-section").replaceWith(newH);
collapseMenu();
$("a").each(captureLinkClick);
+ }, error: function() {
+ window.location = u;
}
});
}
diff --git a/website/templates/features/GetterSetter.html b/website/templates/features/GetterSetter.html
index 7ceaa3ba..1baa5bd0 100644
--- a/website/templates/features/GetterSetter.html
+++ b/website/templates/features/GetterSetter.html
@@ -62,7 +62,7 @@
</p><p>
You can annotate a class with a <code>@Getter</code> or <code>@Setter</code> annotation. Doing so is equivalent to annotating all non-static fields in that class with that annotation. <code>@Getter</code>/<code>@Setter</code> annotations on fields take precedence over the ones on classes.
</p><p>
- Using the <code>AccessLevel.NONE</code> access level simply generates nothing. It's useful only in combination with <a href="features/Data"><code>@Data</code></a> or a class-wide <code>@Getter</code> or <code>@Setter</code>.
+ Using the <code>AccessLevel.NONE</code> access level simply generates nothing. It's useful only in combination with <a href="/features/Data"><code>@Data</code></a> or a class-wide <code>@Getter</code> or <code>@Setter</code>.
</p><p>
<code>@Getter</code> can also be used on enums. <code>@Setter</code> can't, not for a technical reason, but for a pragmatic one: Setters on enums are an extremely bad idea.
</p>
diff --git a/website/templates/features/experimental/index.html b/website/templates/features/experimental/index.html
index a1ea867a..dbd2f93c 100644
--- a/website/templates/features/experimental/index.html
+++ b/website/templates/features/experimental/index.html
@@ -7,6 +7,8 @@
<@main.h1 title="Lombok experimental features" />
</div>
<div class="row">
+ The <a href="/api/">Lombok javadoc</a> is available, but we advise these pages.
+
<p>
Experimental features are available in your normal lombok installation, but are not as robustly supported as lombok's main features. In particular, experimental features:
<ul>
diff --git a/website/templates/features/index.html b/website/templates/features/index.html
index a09c4b72..73b5dce8 100644
--- a/website/templates/features/index.html
+++ b/website/templates/features/index.html
@@ -3,9 +3,11 @@
<@main.scaffold>
<div class="page-header top5">
<div class="row text-center">
- <@main.h1 title="Lombok features." />
+ <@main.h1 title="Lombok features" />
</div>
<div class="row">
+ The <a href="/api/">Lombok javadoc</a> is available, but we advise these pages.
+
<@main.feature title="val" href="val">
Finally! Hassle-free final local variables.
</@main.feature>
@@ -66,6 +68,10 @@
<@main.feature title="@Log" href="log">
Captain's Log, stardate 24435.7: &quot;What was that line again?&quot;
</@main.feature>
+
+ <@main.feature title="experimental" href="/features/experimental/all">
+ Head to the lab: The new stuff we're working on.
+ </@main.feature>
</div>
<div class="row">
diff --git a/website/templates/main.html b/website/templates/main.html
index 374a5841..a0ead2cc 100644
--- a/website/templates/main.html
+++ b/website/templates/main.html
@@ -2,7 +2,12 @@
<@main.scaffold>
<div class="page-header top5">
<div class="row text-center">
- <@main.h1 title="Lombok Demo" />
+ <@main.h1 title="Project Lombok" />
+ <p>
+ Project Lombok is a java library that automatically plugs into your editor and build tools, spicing up your java.<br />
+ Never write another getter or equals method again. Early access to future java features such as <code>val</code>, and much more.<br />
+ Watch the 4 minute demo below to learn more!
+ </p>
</div>
<div class="video text-center">
<video width="800" height="480" poster="/img/poster.png" controls="controls" preload="none">