pekko/scripts/link-validator.conf
Seeta Ramayya ad0f3b4234
Replaced doc.akka.io with pekko.apache.org (#120)
* modified all references in docs module

* replaced in inline scala docs

* renamed variable and changed access specifier

* reanmed in remaining places

* Adjusted path (instead of `akka` used `pekko`)

* Where applicable akka.io is replaced with pekko.apache.org

* replaced akka with pekko in the path

* Removed TODO

* Removed migration guide to gRPC (there is no user using pekko at the moment so no need of migration guide)

* Added back migration to gRPC section

* removed TODO

* alpakka is replaced with pekko-connectors

* the Akka online documentation -> the Pekko online documentation

* referring akka security docs

* reffering to akka migration guides (pekko is not managing them)

* Using pekkoBaseURL for platform-guide.base_url

* removed unnecessary redirects and used current instead of 2.6

* Changed akka discovery to pekko discovery

* Some more replacement

* fix merge issue

* revert platform-guide change because we

---------

Co-authored-by: PJ Fanning <pjfanning@users.noreply.github.com>
2023-01-31 12:26:50 +01:00

69 lines
2.5 KiB
Text

// config for https://github.com/ennru/site-link-validator/
site-link-validator {
root-dir = "docs/target/paradox/site/main/"
# relative to `root-dir`
start-file = "index.html"
# Resolves URLs with the given prefix as local files instead
link-mappings = [
{
prefix = "https://pekko.apache.org/docs/pekko/current/"
replace = ""
}
# ScalaDoc from unidoc
{
prefix = "https://pekko.apache.org/api/pekko/current/"
replace = "/../../../../../target/scala-2.13/unidoc/"
}
{
prefix = "https://pekko.apache.org/api/pekko/current/"
replace = "/../../../../../target/scala-2.13/unidoc/"
}
{
prefix = "https://pekko.apache.org/api/pekko/snapshot/"
replace = "/../../../../../target/scala-2.13/unidoc/"
}
# Java APIs from genjavadoc
{
prefix = "https://pekko.apache.org/japi/pekko/current/"
replace = "/../../../../../target/javaunidoc/"
}
{
prefix = "https://pekko.apache.org/japi/pekko/current/"
replace = "/../../../../../target/javaunidoc/"
}
{
prefix = "https://pekko.apache.org/japi/pekko/snapshot/"
replace = "/../../../../../target/javaunidoc/"
}
]
ignore-missing-local-files-regex = ""
// e.g. "^api/alpakka/snapshot/pekko/stream/alpakka/googlecloud/storage/impl/Formats.*"
ignore-prefixes = [
# Fails after a number of requests with "403 Forbidden"
"https://javadoc.io/static/"
# GitHub will block with "429 Too Many Requests"
"https://github.com/"
"https://www.scala-lang.org/api/2.13.8/scala/runtime/AbstractFunction1.html"
"https://www.scala-lang.org/api/2.13.8/scala/runtime/AbstractFunction2.html"
"https://www.scala-lang.org/api/2.13.8/scala/runtime/AbstractFunction3.html"
"https://www.scala-lang.org/api/2.13.8/scala/runtime/AbstractPartialFunction.html"
]
non-https-whitelist = [
"http://cidrdb.org/cidr2015/Papers/CIDR15_Paper16.pdf"
"http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.41.7628"
"http://spray.io"
"http://www.bailis.org/blog/doing-redundant-work-to-speed-up-distributed-queries/"
"http://www.cs.columbia.edu/~nahum/w6998/papers/sosp87-timing-wheels.pdf"
# document not available anymore
"http://www.jaist.ac.jp/~defago/files/pdf/IS_RR_2004_010.pdf"
# Sigar site has been removed
"http://www.hyperic.com/products/sigar"
"http://www.tom-e-white.com/2007/11/consistent-hashing.html"
# genereated by @apidoc
"http://www.scala-lang.org/api/2.13."
]
}