Skip to content

Commit

Permalink
move to its own akka insights section
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-alfers committed Nov 21, 2024
1 parent 4a94374 commit 3767d00
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions docs/src-static/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,14 @@ RedirectMatch 301 ^/(api|japi)/akka-http/10.2.\d+(/?|/.*)$ ht
RedirectMatch 301 ^/docs/akka-http/10.4(\.\d+)(/?|/.*)$ https://doc.akka.io/libraries/akka-http/10.4$1$2
RedirectMatch 301 ^/(api|japi)/akka-http/10.4.\d+(/?|/.*)$ https://doc.akka.io/$1/akka-http/10.4$2

# ===================================
# Akka Insights
# ===================================

# Fix links from https://doc.akka.io/libraries/akka-dependencies/current/#akka-insights
# e.g. From https://doc.akka.io/libraries/akka-insights/2.20/home.html to https://doc.akka.io/libraries/akka-insights/2.20.x/home.html
RedirectMatch 301 ^/libraries/akka-insights/(\d+\.\d+)?(/?|/.*)$ https://doc.akka.io/libraries/akka-insights/$1.x$2

# ===================================
# Akka Management
# ===================================
Expand Down Expand Up @@ -415,8 +423,4 @@ RedirectMatch 301 ^/libraries/(a[^/]+)/?$ https://doc.akka.io/libraries/$1/curr
RedirectMatch 301 ^/docs/([^/]+)/(.*)$ https://doc.akka.io/libraries/$1/$2

# TODO remove once the real docs are published
RedirectMatch 301 ^/akka-cli(/?|/.*)$ https://doc.akka.io/snapshots/akka-documentation/akka-cli$1

# Fix links from https://doc.akka.io/libraries/akka-dependencies/current/#akka-insights
# e.g. From https://doc.akka.io/libraries/akka-insights/2.20/home.html to https://doc.akka.io/libraries/akka-insights/2.20.x/home.html
RedirectMatch 301 ^/libraries/akka-insights/(\d+\.\d+)?(/?|/.*)$ https://doc.akka.io/libraries/akka-insights/$1.x$2
RedirectMatch 301 ^/akka-cli(/?|/.*)$ https://doc.akka.io/snapshots/akka-documentation/akka-cli$1

0 comments on commit 3767d00

Please sign in to comment.