From ba82ead5d2e160e4b97c8c448f2f766794080911 Mon Sep 17 00:00:00 2001
From: obarun <eric@obarun.org>
Date: Mon, 11 Dec 2023 13:09:45 +1100
Subject: [PATCH] provide version doc

---
 doc/make-html.sh |  2 +-
 doc/make-man.sh  |  2 +-
 doc/version.md   | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+), 2 deletions(-)
 create mode 100644 doc/version.md

diff --git a/doc/make-html.sh b/doc/make-html.sh
index 83966f99..6e9f4f07 100755
--- a/doc/make-html.sh
+++ b/doc/make-html.sh
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-html='66-echo 66-hpr 66-nuke 66-shutdown 66-shutdownd 66-umountall 66 boot configure deeper disable enable execl-envfile frontend halt index init instantiated-service module-creation module-usage parse poweroff reboot reconfigure reload remove resolve restart rosetta scandir service-configuration-file signal start state status stop tree upgrade'
+html='66-echo 66-hpr 66-nuke 66-shutdown 66-shutdownd 66-umountall 66 boot configure deeper disable enable execl-envfile frontend halt index init instantiated-service module-creation module-usage parse poweroff reboot reconfigure reload remove resolve restart rosetta scandir service-configuration-file signal start state status stop tree upgrade version'
 
 version=${1}
 
diff --git a/doc/make-man.sh b/doc/make-man.sh
index e49d08d7..9ae3f65a 100755
--- a/doc/make-man.sh
+++ b/doc/make-man.sh
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-man1='66 configure disable enable execl-envfile halt init parse poweroff reboot reconfigure reload remove resolve restart rosetta scandir signal start state status stop tree upgrade'
+man1='66 configure disable enable execl-envfile halt init parse poweroff reboot reconfigure reload remove resolve restart rosetta scandir signal start state status stop tree upgrade version'
 
 man8='boot 66-hpr 66-shutdown 66-shutdownd 66-umountall'
 
diff --git a/doc/version.md b/doc/version.md
new file mode 100644
index 00000000..c6c38c00
--- /dev/null
+++ b/doc/version.md
@@ -0,0 +1,30 @@
+title: The 66 Suite: version
+author: Eric Vidal <eric@obarun.org>
+
+[66](index.html)
+
+[Software](https://web.obarun.org/software)
+
+[obarun.org](https://web.obarun.org)
+
+# version
+
+This command displays the version of `66`.
+
+## Interface
+
+```
+version
+```
+
+## Options
+
+No options
+
+## Usage example
+
+Display the installed `66` version
+
+```
+66 version
+```
\ No newline at end of file
-- 
GitLab