-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #491 from alejandrohdezma/docs/docusaurus
Build website with Docusarurus
- Loading branch information
Showing
31 changed files
with
7,915 additions
and
142 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.10.4") | ||
addSbtPlugin("com.alejandrohdezma" % "sbt-fix" % "0.7.0") | ||
addSbtPlugin("com.alejandrohdezma" % "sbt-ci" % "2.12.0") | ||
addSbtPlugin("com.alejandrohdezma" % "sbt-ci" % "2.13.0") | ||
addSbtPlugin("com.alejandrohdezma" % "sbt-scalafmt-defaults" % "0.8.0") | ||
addSbtPlugin("com.alejandrohdezma" % "sbt-scalafix-defaults" % "0.10.0") | ||
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.11") | ||
addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.9.0") | ||
addSbtPlugin("io.github.davidgregory084" % "sbt-tpolecat" % "0.4.2") | ||
addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.3.7") | ||
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.0") | ||
addSbtPlugin("io.kevinlee" % "sbt-github-pages" % "0.12.0") | ||
addSbtPlugin("com.alejandrohdezma" % "sbt-modules" % "0.2.0") |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Dependencies | ||
/node_modules | ||
|
||
# Production | ||
/build | ||
|
||
# Generated files | ||
.docusaurus | ||
.cache-loader | ||
|
||
# Misc | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
label: Integrations | ||
collapsible: true | ||
collapsed: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
/** @type {import('@docusaurus/types').Config} */ | ||
const config = { | ||
title: 'sbt-github', | ||
tagline: 'SBT plugin to read several settings from Github', | ||
favicon: 'img/favicon.ico', | ||
|
||
url: 'https://alejandrohdezma.github.io', | ||
baseUrl: '/sbt-github/', | ||
|
||
organizationName: 'alejandrohdezma', | ||
projectName: 'sbt-github', | ||
|
||
onBrokenLinks: 'throw', | ||
onBrokenMarkdownLinks: 'warn', | ||
|
||
i18n: { | ||
defaultLocale: 'en', | ||
locales: ['en'], | ||
}, | ||
|
||
presets: [ | ||
[ | ||
'classic', | ||
/** @type {import('@docusaurus/preset-classic').Options} */ | ||
({ | ||
docs: { | ||
path: 'target/mdoc/', | ||
editUrl: params => 'https://github.com/alejandrohdezma/sbt-github/edit/main/site/docs/' + params.docPath, | ||
}, | ||
theme: { | ||
customCss: require.resolve('./src/css/custom.css'), | ||
}, | ||
}), | ||
], | ||
], | ||
|
||
themeConfig: | ||
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */ | ||
({ | ||
image: 'img/removed_settings.png', | ||
colorMode: { | ||
disableSwitch: true, | ||
respectPrefersColorScheme: true, | ||
}, | ||
navbar: { | ||
title: 'sbt-github', | ||
logo: { | ||
alt: 'sbt-github Logo', | ||
src: 'img/logo.svg', | ||
}, | ||
items: [ | ||
{ | ||
type: 'doc', | ||
docId: 'getting-started', | ||
position: 'left', | ||
label: 'Docs', | ||
}, | ||
{ | ||
href: 'https://github.com/alejandrohdezma/sbt-github', | ||
className: "header-github-link", | ||
"aria-label": "GitHub repository", | ||
position: 'right', | ||
}, | ||
], | ||
}, | ||
prism: { | ||
theme: require('prism-react-renderer/themes/github'), | ||
darkTheme: require('prism-react-renderer/themes/dracula'), | ||
additionalLanguages: ['java', 'scala'], | ||
}, | ||
}), | ||
}; | ||
|
||
module.exports = config; |
Oops, something went wrong.