Skip to content

Commit

Permalink
release version 1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jenshalm committed Jan 1, 2025
1 parent 121dc04 commit 8511741
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
Binary file modified downloads/laika-1.x-library.epub
Binary file not shown.
Binary file modified downloads/laika-1.x-library.pdf
Binary file not shown.
Binary file modified downloads/laika-1.x-sbt.epub
Binary file not shown.
Binary file modified downloads/laika-1.x-sbt.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ <h2>Site and E-book Generator and Customizable Text Markup Transformer for sbt,
<div id="header-right">

<p>Latest Release</p>
<p class="large">1.3.0</p>
<p class="large">1.3.1</p>


<p>License</p>
Expand Down
2 changes: 1 addition & 1 deletion latest/02-running-laika/01-sbt-plugin.html
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ <h2 id="adding-the-plugin-to-the-build" class="section"><a class="anchor-link le
<p>If you still need to use sbt 0.13.x, you can use Laika 0.7.0 which was the last release
supporting that sbt version.</p>
<p>First add the plugin to <code>project/plugins.sbt</code>:</p>
<pre class="keep-together pdf epub"><code class="nohighlight"><span class="identifier">addSbtPlugin</span><span>(</span><span class="string-literal">&quot;org.typelevel&quot;</span><span> % </span><span class="string-literal">&quot;laika-sbt&quot;</span><span> % </span><span class="string-literal">&quot;1.3.0&quot;</span><span>)</span></code></pre>
<pre class="keep-together pdf epub"><code class="nohighlight"><span class="identifier">addSbtPlugin</span><span>(</span><span class="string-literal">&quot;org.typelevel&quot;</span><span> % </span><span class="string-literal">&quot;laika-sbt&quot;</span><span> % </span><span class="string-literal">&quot;1.3.1&quot;</span><span>)</span></code></pre>
<p>Then enable the plugin in your project&#39;s <code>build.sbt</code>:</p>
<pre class="keep-together pdf epub"><code class="nohighlight"><span class="identifier">enablePlugins</span><span>(</span><span class="type-name">LaikaPlugin</span><span>)</span></code></pre>

Expand Down
8 changes: 4 additions & 4 deletions latest/02-running-laika/02-library-api.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,18 +178,18 @@ <h2 id="dependencies" class="section"><a class="anchor-link left" href="#depende
<p>Which of the modules you need to add to the build depends on the functionality you intend to use.</p>
<p>If you want to stick to pure transformations from string to string and don&#39;t need file or stream IO or
any of the binary output formats like EPUB or PDF, you are fine with just using the <code>laika-core</code> module:</p>
<pre class="keep-together pdf epub"><code class="nohighlight"><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;org.typelevel&quot;</span><span> %% </span><span class="string-literal">&quot;laika-core&quot;</span><span> % </span><span class="string-literal">&quot;1.3.0&quot;</span><span> </span></code></pre>
<pre class="keep-together pdf epub"><code class="nohighlight"><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;org.typelevel&quot;</span><span> %% </span><span class="string-literal">&quot;laika-core&quot;</span><span> % </span><span class="string-literal">&quot;1.3.1&quot;</span><span> </span></code></pre>
<p>This module is also 100% supported for Scala.js, so you can alternatively use the triple <code>%%%</code> syntax
if you want to cross-build for Scala.js and the JVM:</p>
<pre class="keep-together pdf epub"><code class="nohighlight"><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;org.typelevel&quot;</span><span> %%% </span><span class="string-literal">&quot;laika-core&quot;</span><span> % </span><span class="string-literal">&quot;1.3.0&quot;</span><span> </span></code></pre>
<pre class="keep-together pdf epub"><code class="nohighlight"><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;org.typelevel&quot;</span><span> %%% </span><span class="string-literal">&quot;laika-core&quot;</span><span> % </span><span class="string-literal">&quot;1.3.1&quot;</span><span> </span></code></pre>
<p>If you want to add support for file and stream IO and/or output in the EPUB format,
you need to depend on the <code>laika-io</code> module instead:</p>
<pre class="keep-together pdf epub"><code class="nohighlight"><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;org.typelevel&quot;</span><span> %% </span><span class="string-literal">&quot;laika-io&quot;</span><span> % </span><span class="string-literal">&quot;1.3.0&quot;</span><span> </span></code></pre>
<pre class="keep-together pdf epub"><code class="nohighlight"><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;org.typelevel&quot;</span><span> %% </span><span class="string-literal">&quot;laika-io&quot;</span><span> % </span><span class="string-literal">&quot;1.3.1&quot;</span><span> </span></code></pre>
<p>This depends on <code>laika-core</code> in turn, so you always only need to add one module as a dependency and will get
the rest via transitive dependencies. No module apart from <code>laika-core</code> is available for Scala.js, so you
are in JVM land here.</p>
<p>Finally PDF support comes with its own module as it adds a whole range of additional dependencies:</p>
<pre class="keep-together pdf epub"><code class="nohighlight"><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;org.typelevel&quot;</span><span> %% </span><span class="string-literal">&quot;laika-pdf&quot;</span><span> % </span><span class="string-literal">&quot;1.3.0&quot;</span><span> </span></code></pre>
<pre class="keep-together pdf epub"><code class="nohighlight"><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;org.typelevel&quot;</span><span> %% </span><span class="string-literal">&quot;laika-pdf&quot;</span><span> % </span><span class="string-literal">&quot;1.3.1&quot;</span><span> </span></code></pre>
<p>Again, this builds on top of the other modules, so adding just this one dependency is sufficient.</p>


Expand Down

0 comments on commit 8511741

Please sign in to comment.