diff docs/conf.py @ 283:1fc3b04b39fa

Build and package manual pages for fzfs, fzfs-mount and fzfs-umount. Also put some stub info into the manual page for local-bsdtools.
author Franz Glasner <fzglas.hg@dom66.de>
date Sun, 18 Sep 2022 01:31:47 +0200
parents d9f0c8e00019
children 106cd5d9da7e
line wrap: on
line diff
--- a/docs/conf.py	Sun Sep 18 00:27:04 2022 +0200
+++ b/docs/conf.py	Sun Sep 18 01:31:47 2022 +0200
@@ -53,3 +53,21 @@
 # relative to this directory. They are copied after the builtin static files,
 # so a file named "default.css" will overwrite the builtin "default.css".
 html_static_path = ['_static']
+
+
+# -- Options for manual page output ------------------------------------------
+
+# One entry per manual page. List of tuples
+# (source start file, name, description, authors, manual section).
+man_pages = [
+    ("index", "local-bsdtools", 'FreeBSD specific administration helper tools', [author], 1),
+    ("man/fzfs", "fzfs", "A ZFS management helper tool", [author], 1),
+    ("man/fzfs-mount", "fzfs-mount", "Mount ZFS datasets recursively", [author], 1),
+    ("man/fzfs-umount", "fzfs-umount", "Unmount ZFS datasets recursively", [author], 1),        
+]
+
+
+# -- Link to manual pages ----------------------------------------------------
+
+manpages_url = "https://www.freebsd.org/cgi/man.cgi?query={page}&sektion={section}"
+