Skip to content

Commit 9676045

Browse files
authored
Removing CDN assets from theme. (#86)
* Removing CDN assets from theme. * Adding configurable hostname.
1 parent 1bc182b commit 9676045

File tree

9 files changed

+19
-688
lines changed

9 files changed

+19
-688
lines changed

plugin/src/main/scala/org/apache/pekko/PekkoParadoxPlugin.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ object PekkoParadoxPlugin extends AutoPlugin {
4545

4646
def pekkoParadoxGlobalSettings: Seq[Setting[_]] = Seq(
4747
paradoxTheme := Some("org.apache.pekko" % "pekko-theme-paradox" % version),
48+
// Target hostname for static assets (CSS, JS, Icons, Font)
49+
paradoxProperties ++= Map("assets.hostname" -> "https://pekko.apache.org/"),
4850
paradoxNavigationIncludeHeaders := true,
4951
pekkoParadoxCopyright in Global :=
5052
"""Copyright © 2011-2022 <a href="https://www.lightbend.com/">Lightbend, Inc</a>.

theme/src/main/assets/assets/images/apache-incubator.svg

Lines changed: 0 additions & 155 deletions
This file was deleted.
-1.31 KB
Binary file not shown.
-6.01 KB
Binary file not shown.

theme/src/main/assets/assets/javascripts/groups.js

Lines changed: 0 additions & 171 deletions
This file was deleted.

0 commit comments

Comments
 (0)