npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

conflutora

v0.0.1

Published

Provider to convert and publish Antora documentation on Confluence

Downloads

11

Readme

Conflutora

Confluence Antora Plugin To Aid Integration Nicely

The code of the plugin was heavily inspired by antora-confluence

NOTE: This plugin is in an early phase. It is still in development.

Description

This plugin aims to automatically publish your Antora docs into Confluence. By doing this we leverage the power of Confluence and the Confluence REST API to create and update pages in Confluence, which is a great way to keep your documentation up-to-date and in sync with your code. Most non technical stakeholders are using Confluence, so this plugin aims to make it easy for them to contribute to your documentation.

Installation

To install the plugin, you can use the following command in your Antora project:

npm install -D conflutora

Usage

INFO: The default output provider fs in mandatory for the Confluence provider. Make sure to have the fs provider in your playbook.yml file.

To use the plugin, you need to add it to your Antora project. You can do this by adding the following to your output section in playbook.yml:

output:
  destinations:
    - provider: fs
    - provider: conflutora
      confluence-url: https://<redacted>.atlassian.net
      confluence-space-key: my-spacekey

For full reference, please head over to the docs.

Configuration

| Option | Description | Info | | -----------------------| --------------------------------------------------------------------------------------------------------------------- | -------------------------- | | confluence-url | URL to your Confluence API endpoint | required | | confluence-space-key | The Confluence space key to publish the pages to | required | | confluence-ancestor-id | Specify the overall parent page for your docs. Needs to be the pageId of the parent page, not the DisplayName. | defaults to the space root |

output:
  clean: true
  dir: ./docs/site # Mandatory for the Confluence provider
  destinations:
    - provider: fs
    - provider: "conflutora"
      confluence-url: https://<redacted>.atlassian.net
      confluence-space-key: my-spacekey
      confluence-ancestor-id: 123456

Authentication

The plugin uses the CONFLUENCE_USERNAME and CONFLUENCE_PASSWORD to authenticate with the Confluence API. You can set these values in the environment variables.