| # SPDX-License-Identifier: Apache-2.0 |
| |
| // 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-projection/1.0.0/" |
| replace = "" |
| } |
| { |
| prefix = "https://pekko.apache.org/docs/pekko-projection/current/" |
| replace = "" |
| } |
| # ScalaDoc from unidoc |
| { |
| prefix = "https://pekko.apache.org/api/pekko-projection/1.0.0/" |
| replace = "/../../../../../target/scala-2.13/unidoc/" |
| } |
| { |
| prefix = "https://pekko.apache.org/api/pekko-projection/current/" |
| replace = "/../../../../../target/scala-2.13/unidoc/" |
| } |
| { |
| prefix = "https://pekko.apache.org/api/pekko-projection/snapshot/" |
| replace = "/../../../../../target/scala-2.13/unidoc/" |
| } |
| # Java APIs from genjavadoc |
| { |
| prefix = "https://pekko.apache.org/japi/pekko-http/1.0.0/" |
| replace = "/../../../../../target/javaunidoc/" |
| } |
| { |
| prefix = "https://pekko.apache.org/japi/pekko-http/current/" |
| replace = "/../../../../../target/javaunidoc/" |
| } |
| { |
| prefix = "https://pekko.apache.org/japi/pekko-http/snapshot/" |
| replace = "/../../../../../target/javaunidoc/" |
| } |
| ] |
| |
| ignore-missing-local-files-regex = "" |
| // e.g. "^api/alpakka/snapshot/pekko/stream/alpakka/googlecloud/storage/impl/Formats.*" |
| |
| ignore-files = [ |
| # This file is generated, we can't do much about the invalid links here |
| "license-report.html" |
| ] |
| |
| 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/" |
| # Links to datastax.com work in practice but fail with link validator |
| "https://docs.datastax.com/" |
| ] |
| |
| non-https-whitelist = [ |
| |
| ] |
| } |