You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by en...@apache.org on 2024/12/10 13:18:00 UTC

(pekko-connectors) branch main updated: link validator CI failing (#919)

This is an automated email from the ASF dual-hosted git repository.

engelen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-connectors.git


The following commit(s) were added to refs/heads/main by this push:
     new 54a747ceb link validator CI failing (#919)
54a747ceb is described below

commit 54a747ceb839fd2e3a303515d819db41a61542ea
Author: PJ Fanning <pj...@users.noreply.github.com>
AuthorDate: Tue Dec 10 14:17:54 2024 +0100

    link validator CI failing (#919)
    
    * link validator CI failing
    
    * Update link-validator.conf
    
    * Update link-validator.conf
    
    * http links
    
    * Update versioning.md
    
    * try to fix more issues
    
    * Update link-validator.conf
    
    * Update link-validator.conf
    
    * try to fix azure link
    
    * Update link-validator.yml
---
 build.sbt                                      |  2 +-
 docs/src/main/paradox/azure-storage-queue.md   |  2 +-
 docs/src/main/paradox/other-docs/versioning.md |  2 +-
 scripts/link-validator.conf                    | 12 ++++++++++--
 4 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/build.sbt b/build.sbt
index 8262ad52d..8d34f9abb 100644
--- a/build.sbt
+++ b/build.sbt
@@ -402,7 +402,7 @@ lazy val docs = project
       // Pekko gRPC
       "pekko-grpc.version" -> Dependencies.PekkoGrpcBinaryVersion,
       "extref.pekko-grpc.base_url" -> s"https://pekko.apache.org/docs/pekko-grpc/${Dependencies.PekkoGrpcBinaryVersion}/%s",
-      "scaladoc.org.apache.pekko.gprc.base_url" -> s"https://pekko.apache.org/api/pekko-grpc/${Dependencies.PekkoGrpcBinaryVersion}/",
+      "scaladoc.org.apache.pekko.gprc.base_url" -> s"https://pekko.apache.org/api/pekko-grpc/${Dependencies.PekkoGrpcBinaryVersion}/org/apache/pekko/gprc",
       // Couchbase
       "couchbase.version" -> Dependencies.CouchbaseVersion,
       "extref.couchbase.base_url" -> s"https://docs.couchbase.com/java-sdk/${Dependencies.CouchbaseVersionForDocs}/%s",
diff --git a/docs/src/main/paradox/azure-storage-queue.md b/docs/src/main/paradox/azure-storage-queue.md
index 15c821145..a0ba785e9 100644
--- a/docs/src/main/paradox/azure-storage-queue.md
+++ b/docs/src/main/paradox/azure-storage-queue.md
@@ -2,7 +2,7 @@
 
 The Azure Storage Queue connector provides an Apache Pekko Stream Source and Sinks for Azure Storage Queue integration.
 
-Azure Storage Queue is a queuing service similar to Amazon's SQS. It is designed mostly for long-running and non-time-critical tasks. For more information on Azure Storage Queue see the [Azure docs](https://azure.microsoft.com/en-us/services/storage/queues/).
+Azure Storage Queue is a queuing service similar to Amazon's SQS. It is designed mostly for long-running and non-time-critical tasks. For more information on Azure Storage Queue see the [Azure docs](https://azure.microsoft.com/en-us/products/storage/queues).
 
 @@project-info{ projectId="azure-storage-queue" }
 
diff --git a/docs/src/main/paradox/other-docs/versioning.md b/docs/src/main/paradox/other-docs/versioning.md
index 70cc470c2..60e27ff82 100644
--- a/docs/src/main/paradox/other-docs/versioning.md
+++ b/docs/src/main/paradox/other-docs/versioning.md
@@ -12,7 +12,7 @@ Apache Pekko Connectors publishes
 
 * regular releases to [Maven Central](https://search.maven.org/search?q=g:org.pekko%20pekko-connectors-)
 * milestone and release candidates (of major versions) to Maven Central
-* @ref:[snapshots](snapshots.md) to [Sonatype](https://oss.sonatype.org/content/repositories/snapshots/org/pekko/)
+* @ref:[snapshots](snapshots.md) to [repository.apache.org](https://repository.apache.org/content/groups/snapshots/org/apache/pekko/)
 
 ### Compatibility
 
diff --git a/scripts/link-validator.conf b/scripts/link-validator.conf
index f4b6c9694..e5245dbd1 100644
--- a/scripts/link-validator.conf
+++ b/scripts/link-validator.conf
@@ -2,7 +2,7 @@
 
 // config for https://github.com/ennru/site-link-validator/
 site-link-validator {
-  root-dir = "./docs/target/site/"
+  root-dir = "docs/target/site/"
   # relative to `root-dir`
   start-file = "docs/pekko-connectors/snapshot/index.html"
 
@@ -23,7 +23,7 @@ site-link-validator {
 
   ignore-files = [
     # This file is generated, we can't do much about the invalid links here
-    "license-report.html"
+    "docs/pekko-connectors/snapshot/license-report.html"
   ]
 
   ignore-prefixes = [
@@ -39,10 +39,18 @@ site-link-validator {
     "https://mvnrepository.com/artifact/"
     # Errors in Scaladoc from Google Common header `X-Upload-Content-Type`
     "https://doc.akka.io/api/akka-http/10.2.9/akka/http/impl/util/"
+    # Invalid links generated in Google Common Connector scaladoc
+    "https://pekko.apache.org/api/pekko-http/"
+    # Invalid links generated in Google Pubsub Connector scaladoc
+    "https://pekko.apache.org/api/pekko-grpc/"
   ]
 
   non-https-whitelist = [
     # generated by @apidoc
     "http://pravega.io/"
+    # no https support
+    "http://reactivemongo.org"
+    # need to investigate why scaladoc links are http
+    "http://www.scala-lang.org/api"
   ]
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org