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/refSect1.ftl |   25 +++++++++++--------------
 1 files changed, 11 insertions(+), 14 deletions(-)

diff --git a/opendj-cli/src/main/resources/templates/refSect1.ftl b/opendj-cli/src/main/resources/templates/refSect1.ftl
index 5166739..1feb4b8 100644
--- a/opendj-cli/src/main/resources/templates/refSect1.ftl
+++ b/opendj-cli/src/main/resources/templates/refSect1.ftl
@@ -12,21 +12,18 @@
  # information: "Portions Copyright [year] [name of copyright owner]".
  #
  # Copyright 2015 ForgeRock AS.
+ # Portions Copyright 2024 3A Systems LLC.
  #-->
-<refsect1 xml:id="${name}-subcommands">
-  <title>${title}</title>
 
-  <#if info??>
-    ${info}
-  </#if>
+[#${name}-subcommands]
+== Subcommands
 
-  <para>
-   ${intro}
-  </para>
+<#if info??>
+${info}
+</#if>
 
-  <#if isItemizedList??><itemizedlist></#if>
-  <#list subcommands as subcommand>
-   ${subcommand}
-  </#list>
-  <#if isItemizedList??></itemizedlist></#if>
-</refsect1>
+${intro}
+
+<#list subcommands as subcommand>
+${subcommand}
+</#list>

--
Gitblit v1.10.0