Skip to content

Commit

Permalink
updated site
Browse files Browse the repository at this point in the history
  • Loading branch information
eed3si9n committed Sep 11, 2024
1 parent efe515b commit b1e725d
Show file tree
Hide file tree
Showing 22 changed files with 5,363 additions and 5,358 deletions.
10,632 changes: 5,316 additions & 5,316 deletions 1.x/sitemap.xml

Large diffs are not rendered by default.

Binary file modified 1.x/sitemap.xml.gz
Binary file not shown.
6 changes: 3 additions & 3 deletions 2.x/docs/en/guide/build-definition-basics.html
Original file line number Diff line number Diff line change
Expand Up @@ -184,13 +184,13 @@ <h3 id="what-is-a-build-definition"><a class="header" href="#what-is-a-build-def
we often call it a <em>subproject</em> in this guide.</p>
<p>For instance, in <code>build.sbt</code> you define
the subproject located in the current directory like this:</p>
<pre><code class="language-scala">scalaVersion := "3.3.1"
<pre><code class="language-scala">scalaVersion := "3.3.3"
name := "Hello"
</code></pre>
<p>or more explicitly:</p>
<pre><code class="language-scala">lazy val root = (project in file("."))
.settings(
scalaVersion := "3.3.1",
scalaVersion := "3.3.3",
name := "Hello",
)
</code></pre>
Expand Down Expand Up @@ -235,7 +235,7 @@ <h3 id="vals-and-lazy-vals"><a class="header" href="#vals-and-lazy-vals"><code>v
val toolkit = "org.scala-lang" %% "toolkit" % toolkitV
val toolkitTest = "org.scala-lang" %% "toolkit-test" % toolkitV

scalaVersion := "3.3.1"
scalaVersion := "3.3.3"
libraryDependencies += toolkit
libraryDependencies += (toolkitTest % Test)
</code></pre>
Expand Down
2 changes: 1 addition & 1 deletion 2.x/docs/en/guide/library-dependency-basics.html
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ <h2 id="tracking-dependencies-in-one-place"><a class="header" href="#tracking-de
To make it easier to use the <code>val</code>s defined in it, import <code>Dependencies.*</code> in your build.sbt file.</p>
<pre><code class="language-scala">import Dependencies.*

scalaVersion := "3.3.1"
scalaVersion := "3.3.3"
name := "something"
libraryDependencies += toolkit
libraryDependencies += toolkitTest % Test
Expand Down
2 changes: 1 addition & 1 deletion 2.x/docs/en/guide/multi-project-basics.html
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ <h1 id="multi-project-basics"><a class="header" href="#multi-project-basics">Mul
other project.</p>
<p>A project is defined by declaring a lazy val of type
<a href="../../api/sbt/Project.html">Project</a>. For example, :</p>
<pre><code class="language-scala">scalaVersion := "3.3.1"
<pre><code class="language-scala">scalaVersion := "3.3.3"

lazy val core = (project in file("core"))
.settings(
Expand Down
2 changes: 1 addition & 1 deletion 2.x/docs/en/guide/sbt-components.html
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ <h3 id="coursier"><a class="header" href="#coursier">Coursier</a></h3>
<h3 id="zinc"><a class="header" href="#zinc">Zinc</a></h3>
<p>Zinc is the incremental compiler for Scala, developed and maintained by sbt project.
An often overlooked aspect of Zinc is that Zinc provides a stable API to invoke <strong>any modern versions</strong> of Scala compiler. Combined with the fact that Coursier can resolve any Scala version, with sbt we can invoke any modern versions of Scala just by writing a single line <code>build.sbt</code>:</p>
<pre><code class="language-scala">scalaVersion := "3.3.1"
<pre><code class="language-scala">scalaVersion := "3.3.3"
</code></pre>
<h3 id="bsp-server"><a class="header" href="#bsp-server">BSP server</a></h3>
<p>The sbt server supports <a href="https://build-server-protocol.github.io/">Build Server Protocol (BSP)</a> to list build targets, build them, etc.
Expand Down
2 changes: 1 addition & 1 deletion 2.x/docs/en/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ <h1 id="the-book-of-sbt-draft"><a class="header" href="#the-book-of-sbt-draft">T
integrates with IDEs like IntelliJ and VS Code,
makes JAR packages, and publishes them to <a href="https://central.sonatype.com/">Maven Central</a>,
JVM community's package registry.</p>
<pre><code class="language-scala">scalaVersion := "3.3.1"
<pre><code class="language-scala">scalaVersion := "3.3.3"
</code></pre>
<p>You just need one line of <code>build.sbt</code> to get started with Scala.</p>

Expand Down
22 changes: 11 additions & 11 deletions 2.x/docs/en/print.html
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ <h1 id="the-book-of-sbt-draft"><a class="header" href="#the-book-of-sbt-draft">T
integrates with IDEs like IntelliJ and VS Code,
makes JAR packages, and publishes them to <a href="https://central.sonatype.com/">Maven Central</a>,
JVM community's package registry.</p>
<pre><code class="language-scala">scalaVersion := "3.3.1"
<pre><code class="language-scala">scalaVersion := "3.3.3"
</code></pre>
<p>You just need one line of <code>build.sbt</code> to get started with Scala.</p>
<div style="break-before: page; page-break-before: always;"></div><h1 id="installing-sbt-runner"><a class="header" href="#installing-sbt-runner">Installing sbt runner</a></h1>
Expand Down Expand Up @@ -557,17 +557,17 @@ <h3 id="set-the-version"><a class="header" href="#set-the-version">Set the versi
<p>Change <code>build.sbt</code> as follows:</p>
<p>@@snip <a href="$root$/src/sbt-test/ref/example-weather/changes/build3.sbt">example-weather-build3</a> {}</p>
<h3 id="switch-scalaversion-temporarily"><a class="header" href="#switch-scalaversion-temporarily">Switch scalaVersion temporarily</a></h3>
<pre><code>sbt:Hello&gt; ++3.3.1!
[info] Forcing Scala version to 3.3.1 on all projects.
<pre><code>sbt:Hello&gt; ++3.3.3!
[info] Forcing Scala version to 3.3.3 on all projects.
[info] Reapplying settings...
[info] Set current project to Hello (in build file:/tmp/foo-build/)
</code></pre>
<p>Check the <code>scalaVersion</code> setting:</p>
<pre><code>sbt:Hello&gt; scalaVersion
[info] helloCore / scalaVersion
[info] 3.3.1
[info] 3.3.3
[info] scalaVersion
[info] 3.3.1
[info] 3.3.3
</code></pre>
<p>This setting will go away after <code>reload</code>.</p>
<h3 id="inspect-the-dist-task"><a class="header" href="#inspect-the-dist-task">Inspect the dist task</a></h3>
Expand Down Expand Up @@ -760,7 +760,7 @@ <h3 id="coursier"><a class="header" href="#coursier">Coursier</a></h3>
<h3 id="zinc"><a class="header" href="#zinc">Zinc</a></h3>
<p>Zinc is the incremental compiler for Scala, developed and maintained by sbt project.
An often overlooked aspect of Zinc is that Zinc provides a stable API to invoke <strong>any modern versions</strong> of Scala compiler. Combined with the fact that Coursier can resolve any Scala version, with sbt we can invoke any modern versions of Scala just by writing a single line <code>build.sbt</code>:</p>
<pre><code class="language-scala">scalaVersion := "3.3.1"
<pre><code class="language-scala">scalaVersion := "3.3.3"
</code></pre>
<h3 id="bsp-server"><a class="header" href="#bsp-server">BSP server</a></h3>
<p>The sbt server supports <a href="https://build-server-protocol.github.io/">Build Server Protocol (BSP)</a> to list build targets, build them, etc.
Expand Down Expand Up @@ -944,13 +944,13 @@ <h3 id="what-is-a-build-definition"><a class="header" href="#what-is-a-build-def
we often call it a <em>subproject</em> in this guide.</p>
<p>For instance, in <code>build.sbt</code> you define
the subproject located in the current directory like this:</p>
<pre><code class="language-scala">scalaVersion := "3.3.1"
<pre><code class="language-scala">scalaVersion := "3.3.3"
name := "Hello"
</code></pre>
<p>or more explicitly:</p>
<pre><code class="language-scala">lazy val root = (project in file("."))
.settings(
scalaVersion := "3.3.1",
scalaVersion := "3.3.3",
name := "Hello",
)
</code></pre>
Expand Down Expand Up @@ -995,7 +995,7 @@ <h3 id="vals-and-lazy-vals"><a class="header" href="#vals-and-lazy-vals"><code>v
val toolkit = "org.scala-lang" %% "toolkit" % toolkitV
val toolkitTest = "org.scala-lang" %% "toolkit-test" % toolkitV

scalaVersion := "3.3.1"
scalaVersion := "3.3.3"
libraryDependencies += toolkit
libraryDependencies += (toolkitTest % Test)
</code></pre>
Expand Down Expand Up @@ -1079,7 +1079,7 @@ <h2 id="tracking-dependencies-in-one-place"><a class="header" href="#tracking-de
To make it easier to use the <code>val</code>s defined in it, import <code>Dependencies.*</code> in your build.sbt file.</p>
<pre><code class="language-scala">import Dependencies.*

scalaVersion := "3.3.1"
scalaVersion := "3.3.3"
name := "something"
libraryDependencies += toolkit
libraryDependencies += toolkitTest % Test
Expand Down Expand Up @@ -1107,7 +1107,7 @@ <h2 id="viewing-library-dependencies"><a class="header" href="#viewing-library-d
other project.</p>
<p>A project is defined by declaring a lazy val of type
<a href="guide/../../api/sbt/Project.html">Project</a>. For example, :</p>
<pre><code class="language-scala">scalaVersion := "3.3.1"
<pre><code class="language-scala">scalaVersion := "3.3.3"

lazy val core = (project in file("core"))
.settings(
Expand Down
8 changes: 4 additions & 4 deletions 2.x/docs/en/sbt-by-example.html
Original file line number Diff line number Diff line change
Expand Up @@ -499,17 +499,17 @@ <h3 id="set-the-version"><a class="header" href="#set-the-version">Set the versi
<p>Change <code>build.sbt</code> as follows:</p>
<p>@@snip <a href="$root$/src/sbt-test/ref/example-weather/changes/build3.sbt">example-weather-build3</a> {}</p>
<h3 id="switch-scalaversion-temporarily"><a class="header" href="#switch-scalaversion-temporarily">Switch scalaVersion temporarily</a></h3>
<pre><code>sbt:Hello&gt; ++3.3.1!
[info] Forcing Scala version to 3.3.1 on all projects.
<pre><code>sbt:Hello&gt; ++3.3.3!
[info] Forcing Scala version to 3.3.3 on all projects.
[info] Reapplying settings...
[info] Set current project to Hello (in build file:/tmp/foo-build/)
</code></pre>
<p>Check the <code>scalaVersion</code> setting:</p>
<pre><code>sbt:Hello&gt; scalaVersion
[info] helloCore / scalaVersion
[info] 3.3.1
[info] 3.3.3
[info] scalaVersion
[info] 3.3.1
[info] 3.3.3
</code></pre>
<p>This setting will go away after <code>reload</code>.</p>
<h3 id="inspect-the-dist-task"><a class="header" href="#inspect-the-dist-task">Inspect the dist task</a></h3>
Expand Down
2 changes: 1 addition & 1 deletion 2.x/docs/en/searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion 2.x/docs/en/searchindex.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="generator" content="Docusaurus v3.1.0">
<title data-rh="true">404: Page not found | sbt</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:image" content="https://www.scala-sbt.org/img/docusaurus-social-card.jpg"><meta data-rh="true" name="twitter:image" content="https://www.scala-sbt.org/img/docusaurus-social-card.jpg"><meta data-rh="true" property="og:url" content="https://www.scala-sbt.org/404.html"><meta data-rh="true" property="og:locale" content="en"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docusaurus_tag" content="default"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docsearch:docusaurus_tag" content="default"><meta data-rh="true" property="og:title" content="404: Page not found | sbt"><meta data-rh="true" name="description" content="Sorry we couldn&#x27;t find that page"><meta data-rh="true" property="og:description" content="Sorry we couldn&#x27;t find that page"><link data-rh="true" rel="icon" href="/assets/favicon.ico"><link data-rh="true" rel="canonical" href="https://www.scala-sbt.org/404.html"><link data-rh="true" rel="alternate" href="https://www.scala-sbt.org/404.html" hreflang="en"><link data-rh="true" rel="alternate" href="https://www.scala-sbt.org/404.html" hreflang="x-default"><link data-rh="true" rel="preconnect" href="https://U55AU5GMCN-dsn.algolia.net" crossorigin="anonymous"><link rel="search" type="application/opensearchdescription+xml" title="sbt" href="/opensearch.xml"><link rel="stylesheet" href="/assets/css/styles.dd0658e4.css">
<script src="/assets/js/runtime~main.3070aaf7.js" defer="defer"></script>
<script src="/assets/js/runtime~main.fa63ff0f.js" defer="defer"></script>
<script src="/assets/js/main.5d012fed.js" defer="defer"></script>
</head>
<body class="navigation-with-keyboard">
Expand Down
1 change: 1 addition & 0 deletions assets/js/0284318d.a584db78.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/js/c4f5d8e4.761d1bc5.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b1e725d

Please sign in to comment.