Skip to content

Commit ed0965b

Browse files
committed
[docs] Cleaned up use of <p> in maven and edge html.
1 parent b7896c5 commit ed0965b

2 files changed

Lines changed: 22 additions & 14 deletions

File tree

website/templates/_download-edge.html

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,19 @@
99
${changelogEdge?no_esc}
1010
</div><div class="row text-center">
1111
<h2><a href="/lombok-edge.jar" id="downloadLink">Download edge release now!</a></h2>
12-
<p>
12+
<p class="text-left">
1313
You can use the edge release from maven using the projectlombok.org repository.
14-
This requires:<ul>
14+
This requires:
15+
</p>
16+
<ul class="text-left">
1517
<li>Adding the lombok maven repository to your <code>repositories</code> section</li>
1618
<li>Adding lombok as a dependency to your project in the <code>dependencies</code> section, specifying version <code>edge-SNAPSHOT</code>.</li>
1719
<li>Adding lombok as an annotation processor in the <code>annotationProcessorPaths</code> section, specifying version <code>edge-SNAPSHOT</code>.</li>
18-
</ul>
19-
These sections in your pom file should look like this:<pre>
20+
</ul>
21+
<p>
22+
These sections in your pom file should look like this:
23+
</p>
24+
<pre>
2025
&lt;repositories&gt;
2126
&lt;repository&gt;
2227
&lt;id&gt;projectlombok.org&lt;/id&gt;
@@ -49,12 +54,12 @@ <h2><a href="/lombok-edge.jar" id="downloadLink">Download edge release now!</a><
4954
&lt;/configuration&gt;
5055
&lt;/plugin&gt;
5156
&lt;/plugins&gt;
52-
&lt;/build&gt;
53-
54-
</pre>
55-
</p>
57+
&lt;/build&gt;</pre>
58+
5659
<p>
57-
You can use the edge release from gradle using the projectlombok.org repository:<pre>
60+
You can use the edge release from gradle using the projectlombok.org repository:
61+
</p>
62+
<pre>
5863
repositories {
5964
mavenCentral()
6065
maven { url 'https://projectlombok.org/edge-releases' }
@@ -69,11 +74,10 @@ <h2><a href="/lombok-edge.jar" id="downloadLink">Download edge release now!</a><
6974

7075
apt 'org.projectlombok:lombok:edge-SNAPSHOT'
7176
}</pre>
72-
</p>
7377
</div><div class="row text-center">
7478
<p>
7579
Cutting edge a bit too gutsy for you? You can grab the <a href="download.html">stable release</a> instead.
7680
</p>
7781
</div>
7882
</div>
79-
</@main.scaffold>
83+
</@main.scaffold>

website/templates/setup/maven.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111

1212
<@s.section title="Adding lombok to your pom file">
1313
<p>
14-
To include lombok as a 'provided' dependency, add it to your <code>&lt;dependencies&gt;</code> block like so:<pre>
14+
To include lombok as a 'provided' dependency, add it to your <code>&lt;dependencies&gt;</code> block like so:
15+
</p>
16+
<pre>
1517
&lt;dependencies&gt;
1618
&lt;dependency&gt;
1719
&lt;groupId&gt;org.projectlombok&lt;/groupId&gt;
@@ -21,9 +23,10 @@
2123
&lt;/dependency&gt;
2224
&lt;/dependencies&gt;
2325
</pre>
24-
</p>
2526
<p>
26-
You also need to add lombok as an annotation processor. This is mandatory starting with JDK23, or JDK9+ if compiling as modules (you have <code>module-info.java</code> files in your build):<pre>
27+
You also need to add lombok as an annotation processor. This is mandatory starting with JDK23, or JDK9+ if compiling as modules (you have <code>module-info.java</code> files in your build):
28+
</p>
29+
<pre>
2730
&lt;build&gt;
2831
&lt;plugins&gt;
2932
&lt;plugin&gt;
@@ -41,6 +44,7 @@
4144
&lt;/plugin&gt;
4245
&lt;/plugins&gt;
4346
&lt;/build&gt;
47+
</pre>
4448
</@s.section>
4549

4650
<@s.section title="Eclipse Compiler (ECJ/JDT)">

0 commit comments

Comments
 (0)