Skip to content

redpanda-data/docs-extensions-and-macros

Repository files navigation

Antora Extensions and Macros for Redpanda Docs

This library provides Antora extensions, AsciiDoc macros, and automation tools for Redpanda documentation.

Quickstart

Install the package:

npm i @redpanda-data/docs-extensions-and-macros
antora:
  extensions:
    - '@redpanda-data/docs-extensions-and-macros/extensions/version-fetcher/set-latest-version'
asciidoc:
  extensions:
    - '@redpanda-data/docs-extensions-and-macros/macros/glossary'

Documentation

Antora extensions

Extensions that enhance the Antora build process

AsciiDoc macros

Custom inline and block macros for documentation

MCP server

Model Context Protocol server for automating documentation tasks with Claude Code

CLI reference

Complete command reference for doc-tools

Contributing

Development setup and guidelines

What’s included

Antora extensions

Extensions that enhance Antora’s build process:

  • Version management - Automatically fetch latest versions from GitHub

  • Content generation - Generate indexes, categories, and structured data

  • Navigation - Manage unlisted pages, redirects, and cross-version links

  • Integrations - Algolia indexing, EOL banners, related content

  • File processing - Archive attachments, replace attributes, collect samples

AsciiDoc macros

Inline and block macros for documentation:

  • glossterm - Reference glossary terms with tooltips

  • config_ref - Link to configuration properties

  • helm_ref - Link to Helm values

  • components_by_category - Display Redpanda Connect components

  • component_table - Searchable component table

Documentation automation (MCP server)

A Model Context Protocol server that exposes doc-tools to Claude Code:

  • Generate property, metrics, and RPK documentation

  • Update connector reference documentation

  • Get version information

  • Review generated content for quality

About

Extensions and macros developed for Redpanda documentation.

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 7