Skip to content

Commit

Permalink
Merge pull request #1 from scalacenter/add-sbt
Browse files Browse the repository at this point in the history
Add sbt
  • Loading branch information
mlachkar authored Nov 25, 2021
2 parents 5e49447 + 742e2c9 commit db824f7
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ThisBuild / scalaVersion := "3.1.0"

lazy val docs = project
.in(file("myproject-docs"))
.enablePlugins(MdocPlugin, DocusaurusPlugin)

1 change: 1 addition & 0 deletions project/build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sbt.version=1.5.5
1 change: 1 addition & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.2.24" )
2 changes: 1 addition & 1 deletion website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const config = {
/** @type {import('@docusaurus/preset-classic').Options} */
({
docs: {
path: '../docs',
path: '../myproject-docs/target/mdoc',
routeBasePath: '/',
sidebarPath: require.resolve('./sidebars.js'),
editUrl: 'https://github.com/scalacenter/scala-advent-of-code/edit/main/website',
Expand Down

0 comments on commit db824f7

Please sign in to comment.