Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
@antora/collector-extension
Advanced tools
Readme
The Antora Collector extension augments the content aggregation capabilities of Antora by allowing you to delegate to external commands that generate content and to import additional files into the content aggregate.
The Antora Collector extension allows you to designate zero or more external commands (e.g., gradlew generateContent
) per content root that generate transient metadata or content within the context of the worktree for a git reference.
The extension then scans for and imports files from specified directories into the content aggregate (and, in turn, the content catalog).
Use the following command to install the extension into your playbook project:
$ npm i @antora/collector-extension
Open your Antora playbook file and register the extension as an entry in the antora.extensions
key.
If this key doesn't yet exist in your playbook, first create it.
antora-playbook.yml
antora:
extensions:
- '@antora/collector-extension'
To configure the extension, you must define at least one run/scan operation under the ext.collector
key in a component descriptor.
antora.yml
name: my-project
version: true
# ...
ext:
collector:
run:
command: node generate-files.js
scan:
dir: build/generated-files
Copyright (C) 2022-present by OpenDevise Inc. and the individual contributors of this project.
Use of this software is granted under the terms of the Mozilla Public License Version 2.0 (MPL-2.0).
FAQs
An Antora extension that runs a configurable command per content root and collects the content files that it generates.
The npm package @antora/collector-extension receives a total of 958 weekly downloads. As such, @antora/collector-extension popularity was classified as not popular.
We found that @antora/collector-extension demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.