@redpanda-data/docs-extensions-and-macros 3.7.3 → 3.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,7 @@ module.exports.register = function ({ config }) {
6
6
  this.once('contentClassified', ({ siteCatalog, contentCatalog }) => {
7
7
  const redpandaConnect = contentCatalog.getComponents().find(component => component.name === 'redpanda-connect')
8
8
  if (!redpandaConnect || !redpandaConnect.latest) {
9
- logger.info('Could not find the redpanda-connect component')
9
+ logger.warn('Could not find the redpanda-connect component. Skipping category creation.')
10
10
  return
11
11
  }
12
12
 
@@ -116,7 +116,8 @@ module.exports.register = function ({ config }) {
116
116
  redpandaConnect.latest.asciidoc.attributes.driverSupportData = driverSupportData
117
117
  redpandaConnect.latest.asciidoc.attributes.cacheSupportData = cacheSupportData
118
118
 
119
- logger.info(`Added Redpanda Connect data to latest Asciidoc object: ${JSON.stringify({ connectCategoriesData, flatComponentsData }, null, 2)}`)
119
+ logger.info(`Added Redpanda Connect data to latest Asciidoc object.`)
120
+ logger.debug(`${JSON.stringify({ connectCategoriesData, flatComponentsData }, null, 2)}`)
120
121
  } catch (error) {
121
122
  logger.error(`Error processing Redpanda Connect files: ${error.message}`)
122
123
  }
@@ -9,13 +9,12 @@ module.exports = async (github, owner, repo) => {
9
9
  per_page: 50
10
10
  });
11
11
 
12
- // Filter valid semver tags, exclude drafts, and sort them to find the highest version
12
+ // Filter valid semver tags and sort them to find the highest version
13
13
  const sortedReleases = releases.data
14
- .filter(release => !release.draft)
15
14
  .map(release => release.tag_name)
16
15
  .filter(tag => semver.valid(tag.replace(/^v/, '')))
17
16
  .sort((a, b) => semver.rcompare(a.replace(/^v/, ''), b.replace(/^v/, '')));
18
-
17
+
19
18
  if (sortedReleases.length > 0) {
20
19
  const latestRedpandaReleaseVersion = sortedReleases.find(tag => !tag.includes('-rc'));
21
20
  const latestRcReleaseVersion = sortedReleases.find(tag => tag.includes('-rc'));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redpanda-data/docs-extensions-and-macros",
3
- "version": "3.7.3",
3
+ "version": "3.7.4",
4
4
  "description": "Antora extensions and macros developed for Redpanda documentation.",
5
5
  "keywords": [
6
6
  "antora",