From c19cb1ec29359a2f63f32753c54b837cb6998187 Mon Sep 17 00:00:00 2001
From: Maxim Thomas <maxim.thomas@gmail.com>
Date: Tue, 01 Oct 2024 09:20:54 +0000
Subject: [PATCH] Generate man pages in the AsciiDoc format (#418)

---
 opendj-cli/src/main/resources/templates/dscfgReference.ftl |   24 ++++++++----------------
 1 files changed, 8 insertions(+), 16 deletions(-)

diff --git a/opendj-cli/src/main/resources/templates/dscfgReference.ftl b/opendj-cli/src/main/resources/templates/dscfgReference.ftl
index 860b8fa..443ccb9 100644
--- a/opendj-cli/src/main/resources/templates/dscfgReference.ftl
+++ b/opendj-cli/src/main/resources/templates/dscfgReference.ftl
@@ -12,24 +12,16 @@
  # information: "Portions Copyright [year] [name of copyright owner]".
  #
  # Copyright 2015 ForgeRock AS.
+ # Portions Copyright 2024 3A Systems LLC.
  #-->
 ${marker}
-<reference xml:id="${name}-subcommands-ref"
-           xmlns="http://docbook.org/ns/docbook" version="5.0" xml:lang="${locale}"
-           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-           xsi:schemaLocation="http://docbook.org/ns/docbook
-                               http://docbook.org/xml/5.0/xsd/docbook.xsd"
-           xmlns:xinclude="http://www.w3.org/2001/XInclude">
 
- <title>${title}</title>
+[#${name}-subcommands-ref]
+== ${title}
+:leveloffset: 1
 
- <partintro>
-  <para>
-   ${partintro}
-  </para>
- </partintro>
+${partintro}
 
- <#list subcommands as subcommand>
- <xinclude:include href="man-${subcommand.id}.xml" />
- </#list>
-</reference>
+<#list subcommands as subcommand>
+include::./man-${subcommand.id}.adoc[]
+</#list>

--
Gitblit v1.10.0