Skip to content

Commit

Permalink
Do not logs warnings about missing logs for sql_driver_* connectors (#88
Browse files Browse the repository at this point in the history
)
  • Loading branch information
JakeSCahill authored Dec 12, 2024
1 parent 0b8abd5 commit 9c5c51d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion extensions/generate-rp-connect-info.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@ module.exports.register = function ({ config }) {
}

// Log a warning if neither URL was found (only warn for missing cloud if it should support cloud)
if (!redpandaConnectUrl && (!redpandaCloudUrl && is_cloud_supported === 'y')) {
// Ignore sql_driver connectors because they are not real connectors and only used as a utility for grouping sql driver types.
if (!connector.includes('sql_driver') && !redpandaConnectUrl && (!redpandaCloudUrl && is_cloud_supported === 'y')) {
logger.warn(`Docs missing for: ${connector} of type: ${type}`);
}

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@redpanda-data/docs-extensions-and-macros",
"version": "3.11.0",
"version": "3.11.1",
"description": "Antora extensions and macros developed for Redpanda documentation.",
"keywords": [
"antora",
Expand Down

0 comments on commit 9c5c51d

Please sign in to comment.