| # 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-persistence-cassandra/1.0.0/" | |
| replace = "" | |
| } | |
| { | |
| prefix = "https://pekko.apache.org/docs/pekko-persistence-cassandra/current/" | |
| replace = "" | |
| } | |
| # ScalaDoc from unidoc | |
| { | |
| prefix = "https://pekko.apache.org/api/pekko-persistence-cassandra/1.0.0/" | |
| replace = "/../../../../../target/scala-2.13/unidoc/" | |
| } | |
| { | |
| prefix = "https://pekko.apache.org/api/pekko-persistence-cassandra/current/" | |
| replace = "/../../../../../target/scala-2.13/unidoc/" | |
| } | |
| { | |
| prefix = "https://pekko.apache.org/api/pekko-persistence-cassandra/snapshot/" | |
| replace = "/../../../../../target/scala-2.13/unidoc/" | |
| } | |
| { | |
| prefix = "https://pekko.apache.org/japi/pekko-persistence-cassandra/snapshot" | |
| replace = "/../../../../../target/scala-2.13/unidoc" | |
| } | |
| ] | |
| 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/" | |
| # Links to datastax.com work in practice but fail with link validator | |
| "https://docs.datastax.com/" | |
| ] | |
| non-https-whitelist = [ | |
| ] | |
| } |