Skip to content
This repository has been archived by the owner on Jan 20, 2025. It is now read-only.

Commit

Permalink
docusaurus updates (#102)
Browse files Browse the repository at this point in the history
* docusaurus updates

* Corrections due to lack of coffee
  • Loading branch information
softinio authored Dec 8, 2019
1 parent 440a8cd commit 7903bef
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 38 deletions.
5 changes: 3 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ microsite: &microsite
nvm install
nvm use
node -v
./sbt docs/docusaurusCreateSite
./sbt docs/docusaurusPublishGhpages
./sbt ++${SCALA_VERSION}! docs/docusaurusCreateSite
./sbt ++${SCALA_VERSION}! docs/docusaurusPublishGhpages
- <<: *clean_cache
- <<: *save_cache

Expand Down Expand Up @@ -249,6 +249,7 @@ jobs:
<<: *microsite
<<: *machine_ubuntu
environment:
- <<: *scala_212
- <<: *jdk_8

workflows:
Expand Down
15 changes: 8 additions & 7 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,21 @@ inThisBuild(
"[email protected]",
url("https://www.softinio.com")
)
),
pgpPassphrase := sys.env.get("PGP_PASSWORD").map(_.toArray),
pgpPublicRing := file("/tmp/public.asc"),
pgpSecretRing := file("/tmp/secret.asc"),
scmInfo := Some(
ScmInfo(url("https://github.com/zio/zio-actors/"), "scm:git:[email protected]:zio/zio-actors.git")
)
)
)

ThisBuild / publishTo := sonatypePublishToBundle.value

addCommandAlias("fmt", "all scalafmtSbt scalafmt test:scalafmt")
addCommandAlias("check", "all scalafmtSbtCheck scalafmtCheck test:scalafmtCheck")

pgpPublicRing := file("/tmp/public.asc")
pgpSecretRing := file("/tmp/secret.asc")
releaseEarlyWith := SonatypePublisher
scmInfo := Some(
ScmInfo(url("https://github.com/zio/zio-actors/"), "scm:git:[email protected]:zio/zio-actors.git")
)

val zioVersion = "1.0.0-RC17"
val zioNioVersion = "0.4.0"
libraryDependencies ++= Seq(
Expand Down
15 changes: 8 additions & 7 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
addSbtPlugin("com.dwijnand" % "sbt-dynver" % "4.0.0")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.2.1")
addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.3.7")
addSbtPlugin("ch.epfl.scala" % "sbt-release-early" % "2.1.1")
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.6.1")
addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.0.3")
addSbtPlugin("ch.epfl.scala" % "sbt-bloop" % "1.3.5")
addSbtPlugin("com.dwijnand" % "sbt-dynver" % "4.0.0")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.2.1")
addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.3.7")
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "2.0.0")
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.8.1")
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.6.1")
addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.0.3")
addSbtPlugin("ch.epfl.scala" % "sbt-bloop" % "1.3.5")
42 changes: 20 additions & 22 deletions website/siteConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,24 @@

// List of projects/orgs using your project for the users page.
const users = [
{
caption: 'User1',
// You will need to prepend the image path with your baseUrl
// if it is not '/', like: '/test-site/img/image.jpg'.
image: '/img/undraw_open_source.svg',
infoLink: 'https://www.facebook.com',
pinned: true,
},
// {
// caption: 'User1',
// // You will need to prepend the image path with your baseUrl
// // if it is not '/', like: '/test-site/img/image.jpg'.
// image: '/img/undraw_open_source.svg',
// infoLink: 'https://www.facebook.com',
// pinned: true,
// },
];

const siteConfig = {
title: 'ZIO Actors',
tagline: 'High-performance, purely-functional library for building and supervising typed actors backed by ZIO',
url: 'https://github.com/zio/zio-actors',
baseUrl: '/', // Base URL for your project */
// For github.io type URLs, you would set the url and baseUrl like:
// url: 'https://facebook.github.io',
// baseUrl: '/test-site/',

// Used for publishing and more
projectName: 'test-site',
organizationName: 'facebook',
// For top-level user or org sites, the organization is still the same.
// e.g., for the https://JoelMarcey.github.io site, it would be set like...
// organizationName: 'JoelMarcey'
url: 'https://zio.github.io',
baseUrl: '/zio-actors/',

projectName: 'zio-actors',
organizationName: 'zio',

// For no header links in the top nav bar -> headerLinks: [],
headerLinks: [
Expand Down Expand Up @@ -95,10 +88,15 @@ const siteConfig = {
// docsSideNavCollapsible: true,

// Show documentation's last contributor's name.
// enableUpdateBy: true,
enableUpdateBy: true,

// Show documentation's last update time.
// enableUpdateTime: true,
enableUpdateTime: true,

scrollToTop: true,
scrollToTopOptions: {
cornerOffset: 100,
},

// You may provide arbitrary config keys to be used as needed by your
// template. For example, if you need your repo's URL...
Expand Down

0 comments on commit 7903bef

Please sign in to comment.