aboutsummaryrefslogtreecommitdiff
path: root/website/templates/features
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2017-10-02 23:36:10 +0200
committerRoel Spilker <r.spilker@gmail.com>2017-10-02 23:36:10 +0200
commit4ed3a062c08e39d21b23d88f3d2a4934bac390d7 (patch)
tree632866701791f413eeb4c2f11a641507639921fa /website/templates/features
parent214cff5dd2e9d04b780f3586356c43f7242c06c8 (diff)
downloadlombok-4ed3a062c08e39d21b23d88f3d2a4934bac390d7.tar.gz
lombok-4ed3a062c08e39d21b23d88f3d2a4934bac390d7.tar.bz2
lombok-4ed3a062c08e39d21b23d88f3d2a4934bac390d7.zip
add ids to h1/h2/h3 for linking directly to them
Diffstat (limited to 'website/templates/features')
-rw-r--r--website/templates/features/_features.html16
-rw-r--r--website/templates/features/configuration.html4
-rw-r--r--website/templates/features/delombok.html8
-rw-r--r--website/templates/features/experimental/index.html2
-rw-r--r--website/templates/features/index.html6
5 files changed, 18 insertions, 18 deletions
diff --git a/website/templates/features/_features.html b/website/templates/features/_features.html
index 2e338834..dcee152c 100644
--- a/website/templates/features/_features.html
+++ b/website/templates/features/_features.html
@@ -14,14 +14,14 @@
<#macro overview>
<div class="row">
- <h3>Overview</h3>
+ <@main.h3 title="Overview" />
<#nested>
</div>
</#macro>
<#macro experimental>
<div class="row">
- <h3>Experimental</h3>
+ <@main.h3 title="Experimental" />
Experimental because:
<#nested>
@@ -31,13 +31,13 @@
<#macro snippets name>
<div class="row container-fluid">
<div class="snippet-col first-snippet">
- <h3>With Lombok</h3>
+ <@main.h3 title="With Lombok" />
<div class="snippet">${usages.pre(name)?no_esc}</div>
</div>
<div class="sep"></div>
<div class="snippet-col second-snippet">
- <h3>Vanilla Java</h3>
+ <@main.h3 title="Vanilla Java" />
<div class="snippet">${usages.post(name)?no_esc}</div>
</div>
@@ -46,7 +46,7 @@
<#macro confKeys>
<div class="row">
- <h3>Supported configuration keys:</h3>
+ <@main.h3 title="Supported configuration keys:" />
<dl>
<#nested>
</dl>
@@ -55,7 +55,7 @@
<#macro smallPrint>
<div class="row">
- <h3>Small print</h3>
+ <@main.h3 title="Small print" />
<div class="smallprint">
<#nested>
@@ -68,9 +68,9 @@
<div class="page-header top5" id="featureContent">
<div class="row text-center">
<div class="header-group">
- <h1>${title}</h1>
+ <@main.h1 title="${title}" />
- <h3>${logline?no_esc}</h3>
+ <@main.h3 title="${logline?no_esc}" />
</div>
</div>
<#nested>
diff --git a/website/templates/features/configuration.html b/website/templates/features/configuration.html
index 642332a0..0491d832 100644
--- a/website/templates/features/configuration.html
+++ b/website/templates/features/configuration.html
@@ -70,7 +70,7 @@
</@f.overview>
<@f.featureSection>
- <h3>Global config keys</h3>
+ <@f.main.h3 title="Global config keys" />
<p>
To stop lombok from looking at parent directories for more configuration files, the special key:
@@ -98,7 +98,7 @@
</@f.featureSection>
<@f.featureSection>
- <h3>Config keys that can affect any source file</h3>
+ <@f.main.h3 title="Config keys that can affect any source file" />
<p>
These config keys can make lombok affect source files even if they have 0 lombok annotations in them.<br />
diff --git a/website/templates/features/delombok.html b/website/templates/features/delombok.html
index fc9dfddc..6f41fc46 100644
--- a/website/templates/features/delombok.html
+++ b/website/templates/features/delombok.html
@@ -13,7 +13,7 @@
Delombok's output format can be configured with command line options (use <code>--format-help</code> for a complete list). A few such options are automatically scanned from input if possible (such as indent). If delombok's formatting is not conforming to your preferred code style, have a look!
</p>
- <h3>Running delombok on the command line</h3>
+ <@f.main.h3 title="Running delombok on the command line" />
<p>
Delombok is included in <code>lombok.jar</code>. To use it, all you need to run on the command line is:
@@ -28,7 +28,7 @@
</div>
</p>
- <h3>Running delombok in ant</h3>
+ <@f.main.h3 title="Running delombok in ant" />
<p>
<code>lombok.jar</code> includes an ant task which can apply delombok for you. For example, to create javadoc for your project, your <code>build.xml</code> file would look something like:
@@ -45,13 +45,13 @@
Instead of a <code>from</code> attribute, you can also nest <code>&lt;fileset&gt;</code> nodes.
</p>
- <h3>Running delombok in maven</h3>
+ <@f.main.h3 title="Running delombok in maven" />
<p>
Anthony Whitford has written a <a href="https://github.com/awhitford/lombok.maven">maven plugin</a> for delomboking your source code.
</p>
- <h3>Limitations</h3>
+ <@f.main.h3 title="Limitations" />
<p>
Delombok tries to preserve your code as much as it can, but comments may move around a little bit, especially comments that are in the middle of a syntax node. For example, any comments appearing in the middle of a list of method modifiers, such as <code>public /*comment*/ static ...</code> will move towards the front of the list of modifiers. In practice, any java source parsing tool will not be affected.<br />
diff --git a/website/templates/features/experimental/index.html b/website/templates/features/experimental/index.html
index 11d48485..a1ea867a 100644
--- a/website/templates/features/experimental/index.html
+++ b/website/templates/features/experimental/index.html
@@ -4,7 +4,7 @@
<@main.scaffold>
<div class="page-header top5">
<div class="row text-center">
- <h1>Lombok experimental features</h1>
+ <@main.h1 title="Lombok experimental features" />
</div>
<div class="row">
<p>
diff --git a/website/templates/features/index.html b/website/templates/features/index.html
index da3db634..a09c4b72 100644
--- a/website/templates/features/index.html
+++ b/website/templates/features/index.html
@@ -3,7 +3,7 @@
<@main.scaffold>
<div class="page-header top5">
<div class="row text-center">
- <h1>Lombok features.</h1>
+ <@main.h1 title="Lombok features." />
</div>
<div class="row">
<@main.feature title="val" href="val">
@@ -69,7 +69,7 @@
</div>
<div class="row">
- <h1>Configuration system</h1>
+ <@main.h1 title="Configuration system" />
<div class="text-center">
Lombok, made to order: <a href="configuration">Configure lombok features</a> in one place for your entire project or even your workspace.
@@ -77,7 +77,7 @@
</div>
<div class="row">
- <h1 class="text-center">Running delombok</h1>
+ <@main.h1 title="Running delombok" />
<div>
Delombok copies your source files to another directory, replacing all lombok annotations with their desugared form. So, it'll turn <code>@Getter</code> back into the actual getter. It then removes the annotation. This is useful for all sorts of reasons; you can check out what's happening under the hood, if the unthinkable happens and you want to stop using lombok, you can easily remove all traces of it in your source, and you can use delombok to preprocess your source files for source-level tools such as javadoc and GWT. More information about how to run delombok, including instructions for build tools can be found at the <a href="delombok">delombok page</a>.