Skip to content

Commit

Permalink
Merge pull request #1182 from bishabosha/fix-links-download
Browse files Browse the repository at this point in the history
fix broken links: add .html route slugs to download, learn, community
  • Loading branch information
eed3si9n committed Jan 31, 2024
2 parents e9c291e + 009c3b7 commit ee6ee0d
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/404.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ title: "404: Page not found"

* [Home page](/index.html)
* [Learn](/learn.html)
* [Downloads](/downloads.html)
* [Download](/download.html)
* [StackOverflow](https://stackoverflow.com/questions/tagged/sbt)

### Help us fix this site
Expand Down
1 change: 1 addition & 0 deletions src/pages/community.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Get Involved
slug: /community.html
---

[so]: https://stackoverflow.com/questions/tagged/sbt
Expand Down
1 change: 1 addition & 0 deletions src/pages/cookie.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Cookie
slug: /cookie.html
---

Your Privacy
Expand Down
1 change: 1 addition & 0 deletions src/pages/download.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Download
slug: /download.html
---

import { sbtVersion, windowsBuild, downloadUrl } from '@site/variables';
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function SimpleThings() {
<h3>Hello, world!</h3>
<pre><code className="language-scala prettyprint"><span className="typ">ThisBuild</span> / scalaVersion := <span className="str">{ '"' + scala3ExampleVersion + '"' }</span>
</code></pre>
You just need one line of <code>build.sbt</code> to get started with Scala. Learn more on <a href="1.x/docs/sbt-by-example.html">sbt by Example</a> page.
You just need one line of <code>build.sbt</code> to get started with Scala. Learn more on <a href="https://www.scala-sbt.org/1.x/docs/sbt-by-example.html">sbt by Example</a> page.

<h3>sbt new</h3>
Choose from community-maintained <a href="https://github.com/search?o=desc&p=1&q=g8&s=stars&type=Repositories">Giter8 templates</a> to jump start your project:
Expand Down
1 change: 1 addition & 0 deletions src/pages/learn.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Learn
slug: /learn.html
---

Learn
Expand Down
1 change: 1 addition & 0 deletions src/pages/thank-you.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Thank you
slug: /thank-you.html
---

Thank You
Expand Down

0 comments on commit ee6ee0d

Please sign in to comment.