Skip to content

Commit

Permalink
Merge pull request #3514 from OpenLiberty/plugin-updates
Browse files Browse the repository at this point in the history
Plugin updates
  • Loading branch information
natalie-bernhard authored Dec 11, 2023
2 parents dce584d + 9280e11 commit d7ef25d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions src/main/content/_assets/js/guide-common.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@ var threeColumnBreakpoint = 1440;
var dep = false;
var dep_closed = false;

const preTags = document.querySelectorAll('pre');
preTags.forEach(preTag => {
preTag.setAttribute('tabindex', '0');
preTag.setAttribute('role', 'button');
$('pre').attr({
'tabindex': '0',
'role': 'button'
});

// update twoColumnBreakpoint for the only single pane guide
Expand Down
4 changes: 2 additions & 2 deletions src/main/content/start.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ <h2 id="getOL" class="section_title"><a class="anchor" href="#getOL"></a>{% t st
<div class="code_block_wrapper" title="Code block">
<div class="copied_confirmation">Copied to clipboard</div>
<input type="image" class="copy_to_clipboard" src="/img/guides_copy_button.svg" alt="Copy code block" title="Copy code block"/>
<pre class="code_container">&lt;plugin&gt;<br> &lt;groupId&gt;io.openliberty.tools&lt;/groupId&gt;<br> &lt;artifactId&gt;liberty-maven-plugin&lt;/artifactId&gt;<br> &lt;version&gt;<span class="latest_version">3.9</span>&lt;/version&gt;<br>&lt;/plugin&gt;</pre>
<pre class="code_container">&lt;plugin&gt;<br> &lt;groupId&gt;io.openliberty.tools&lt;/groupId&gt;<br> &lt;artifactId&gt;liberty-maven-plugin&lt;/artifactId&gt;<br> &lt;version&gt;<span class="latest_version">3.10</span>&lt;/version&gt;<br>&lt;/plugin&gt;</pre>
</div>
<p>
{% t start.add_to_existing_app.maven_guide_text %}
Expand All @@ -177,7 +177,7 @@ <h2 id="getOL" class="section_title"><a class="anchor" href="#getOL"></a>{% t st
<div class="code_block_wrapper" title="Code block">
<div class="copied_confirmation">Copied to clipboard</div>
<input type="image" class="copy_to_clipboard" src="/img/guides_copy_button.svg" alt="Copy code block" title="Copy code block"/>
<pre class="code_container">buildscript { <br> repositories { <br> mavenCentral()<br> }<br> dependencies {<br> classpath 'io.openliberty.tools:liberty-gradle-plugin:'<span class="latest_version">3.7</span>'<br> }<br>}</pre>
<pre class="code_container">buildscript { <br> repositories { <br> mavenCentral()<br> }<br> dependencies {<br> classpath 'io.openliberty.tools:liberty-gradle-plugin:'<span class="latest_version">3.8</span>'<br> }<br>}</pre>
</div>
<p>The plugin also needs to be applied in the build file in order to be utilized.</p>
<div class="code_block_wrapper" title="Code block">
Expand Down

0 comments on commit d7ef25d

Please sign in to comment.