From e2a3455162ef83f39e4c074278690ad44b95e2a9 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Thu, 23 Mar 2023 14:29:38 +0800 Subject: [PATCH] Add 'voidlinux' option for services in man inline macro --- gems/lib/asciidoctor/man-inline-macro/extension.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gems/lib/asciidoctor/man-inline-macro/extension.rb b/gems/lib/asciidoctor/man-inline-macro/extension.rb index 8829e7b..1d3209d 100644 --- a/gems/lib/asciidoctor/man-inline-macro/extension.rb +++ b/gems/lib/asciidoctor/man-inline-macro/extension.rb @@ -20,6 +20,8 @@ class ManInlineMacro < Asciidoctor::Extensions::InlineMacroProcessor domain = 'https://man.archlinux.org/man' when 'opensuse' domain = 'https://manpages.opensuse.org' + when 'voidlinux' + domain = 'https://man.voidlinux.org' else raise "no available manpage service #{attrs['service']}" end