aboutsummaryrefslogtreecommitdiff
path: root/website/templates
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2017-09-11 21:25:14 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2017-10-26 00:09:15 +0200
commit70e7bc2f952394042133b7975d0e79477ac245f1 (patch)
treef96f17e47f5638ad61b06267fdd252073f051999 /website/templates
parent6fc0cd736c5def296ec7c963ba6e6ec5032d08c9 (diff)
downloadlombok-70e7bc2f952394042133b7975d0e79477ac245f1.tar.gz
lombok-70e7bc2f952394042133b7975d0e79477ac245f1.tar.bz2
lombok-70e7bc2f952394042133b7975d0e79477ac245f1.zip
solved some bugs in our site.
Diffstat (limited to 'website/templates')
-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
4 files changed, 16 insertions, 3 deletions
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">