summaryrefslogtreecommitdiffstats
path: root/docbook/asciidoctor-macros/ws_utils.rb
diff options
context:
space:
mode:
Diffstat (limited to 'docbook/asciidoctor-macros/ws_utils.rb')
-rw-r--r--docbook/asciidoctor-macros/ws_utils.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/docbook/asciidoctor-macros/ws_utils.rb b/docbook/asciidoctor-macros/ws_utils.rb
deleted file mode 100644
index 9a4551a0..00000000
--- a/docbook/asciidoctor-macros/ws_utils.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# SPDX-License-Identifier: MIT
-module WsUtils
- def create_doc_links(parent, target, text)
- if (parent.document.basebackend? 'docbook') || (parent.document.basebackend? 'html')
- parent.document.register :links, target
- create_anchor(parent, text, type: :link, target: target).render.to_s
- elsif parent.document.backend == 'manpage'
- "\\fB#{text}"
- else
- text
- end
- end
-end