Skip to content

Commit 9ab807f

Browse files
author
Andreas Drobisch
committed
(docs): fix paradox setup
+ removes material plugin, seems abandoned (default has more feature now)
1 parent 6e0d75e commit 9ab807f

File tree

5 files changed

+5
-18
lines changed

5 files changed

+5
-18
lines changed

docs.sbt

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,9 @@
1-
enablePlugins(ParadoxSitePlugin, GhpagesPlugin, ParadoxMaterialThemePlugin)
2-
3-
Paradox / sourceDirectory := baseDirectory.value / "docs"
1+
enablePlugins(ParadoxSitePlugin, GhpagesPlugin)
42

53
paradoxProperties += ("version" -> version.value)
64

75
makeSite / mappings ++= Seq(
86
file("LICENSE") -> "LICENSE"
97
)
108

11-
Paradox / paradoxMaterialTheme := {
12-
ParadoxMaterialTheme()
13-
.withColor("blue-grey", "blue-grey")
14-
.withCopyright("© tresor contributors")
15-
.withRepository(uri("https://github.com/adrobisch/tresor"))
16-
.withFont("Source Sans Pro", "Iosevka")
17-
.withLogoIcon("vpn_key")
18-
}
19-
209
git.remoteRepo := "git@github.com:adrobisch/tresor.git"

project/plugins.sbt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
addSbtPlugin("com.geirsson" % "sbt-ci-release" % "1.5.7")
22
addSbtPlugin("com.typesafe.sbt" % "sbt-site" % "1.4.1")
33
addSbtPlugin("com.lightbend.paradox" % "sbt-paradox" % "0.9.2")
4-
addSbtPlugin("com.typesafe.sbt" % "sbt-ghpages" % "0.6.3")
5-
addSbtPlugin("io.github.jonas" % "sbt-paradox-material-theme" % "0.6.0")
4+
addSbtPlugin("com.typesafe.sbt" % "sbt-ghpages" % "0.6.3")
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
The KV engine in vault lets you store arbitrary secrets in a JSON-object like manner.
66
This will create non-refreshable (as in *always valid*) leases:
77

8-
@@snip [KVExample.scala](../src/test/scala/examples/KVExample.scala){#kv-example}
8+
@@snip [KVExample.scala](../../test/scala/examples/KVExample.scala){#kv-example}
99

1010
## Using the AWS Engine with auto-refresh
1111

1212
The AWS engine create refreshable leases for which a reference can be used for storing.
1313
Usually you would create the reference in a **safe** way during application bootstrap, this has been omitted here:
1414

15-
@@snip [AWSExample.scala](../src/test/scala/examples/AWSExample.scala){#aws-example}
15+
@@snip [AWSExample.scala](../../test/scala/examples/AWSExample.scala){#aws-example}

docs/index.md renamed to src/main/paradox/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
- Provider for AES-256 encryption
77
- Providers for secrets from Hashicorp Vault engines (currently KV, Database, AWS)
88
- Integration with [cats-effect](https://github.com/typelevel/cats-effect)
9-
- Supports Scala 2.11, 2.12
109
- [Apache 2.0 licensed](LICENSE)
1110

1211
## Goals

docs/setup.md renamed to src/main/paradox/setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Setup
22

3-
The latest version can be found here: [![latest release](https://img.shields.io/maven-central/v/com.drobisch/tresor_2.12.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:com.drobisch%20AND%20a:tresor*)
3+
The latest version can be found here: [![latest release](https://img.shields.io/maven-central/v/com.drobisch/tresor_2.13.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:com.drobisch%20AND%20a:tresor*)
44

55
Add the dependency to your build:
66

0 commit comments

Comments
 (0)