@redpanda-data/docs-extensions-and-macros 3.0.4 → 3.0.5

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.
@@ -8,8 +8,9 @@ module.exports.register = function ({ config }) {
8
8
  for (const { versions } of contentCatalog.getComponents()) {
9
9
  for (const { name: component, version, asciidoc } of versions) {
10
10
  const attachments = contentCatalog.findBy({ component, version, family });
11
+ if (component == 'api') continue
11
12
  for (const attachment of attachments) {
12
- let contentString = String.fromCharCode(...attachment['_contents']);
13
+ let contentString = attachment['_contents'].toString('utf8');
13
14
  if (!asciidoc.attributes) continue
14
15
  if (!asciidoc.attributes.hasOwnProperty('replace-attributes-in-attachments')) continue;
15
16
  for (const key in asciidoc.attributes) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redpanda-data/docs-extensions-and-macros",
3
- "version": "3.0.4",
3
+ "version": "3.0.5",
4
4
  "description": "Antora extensions and macros developed for Redpanda documentation.",
5
5
  "keywords": [
6
6
  "antora",