From e424441f6649786063f7821244cd1b327be3febd Mon Sep 17 00:00:00 2001
From: Elena ``of Valhalla'' Grandi <valhalla@trueelena.org>
Date: Fri, 9 Oct 2020 21:50:48 +0200
Subject: Fix manpage syntax for sphinx

---
 docs/source/conf.py               | 54 ++++++++++++++++++++++++++++++++-------
 docs/source/man/lesana-edit.rst   |  7 -----
 docs/source/man/lesana-export.rst |  7 -----
 docs/source/man/lesana-index.rst  |  7 -----
 docs/source/man/lesana-init.rst   |  7 -----
 docs/source/man/lesana-new.rst    |  7 -----
 docs/source/man/lesana-rm.rst     |  7 -----
 docs/source/man/lesana-search.rst |  7 -----
 docs/source/man/lesana-show.rst   |  7 -----
 docs/source/man/lesana.rst        |  7 -----
 10 files changed, 45 insertions(+), 72 deletions(-)

(limited to 'docs/source')

diff --git a/docs/source/conf.py b/docs/source/conf.py
index 3274a8a..ac56091 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -61,13 +61,49 @@ html_theme = 'alabaster'
 html_static_path = ['_static']
 
 man_pages = [
-    ('man/lesana-edit', 'lesana-edit', '', '', 1),
-    ('man/lesana-export', 'lesana-export', '', '', 1),
-    ('man/lesana-index', 'lesana-index', '', '', 1),
-    ('man/lesana-init', 'lesana-init', '', '', 1),
-    ('man/lesana-new', 'lesana-new', '', '', 1),
-    ('man/lesana-rm', 'lesana-rm', '', '', 1),
-    ('man/lesana', 'lesana', '', '', 1),
-    ('man/lesana-search', 'lesana-search', '', '', 1),
-    ('man/lesana-show', 'lesana-show', '', '', 1),
+    (
+        'man/lesana-edit', 'lesana-edit',
+        'edits an existing lesana entry',
+        'valhalla@trueelena.org', 1
+    ),
+    (
+        'man/lesana-export', 'lesana-export',
+        'export data from one lesana collection to another',
+        'valhalla@trueelena.org', 1
+    ),
+    (
+        'man/lesana-index', 'lesana-index',
+        'Index some entries',
+        'valhalla@trueelena.org', 1
+    ),
+    (
+        'man/lesana-init', 'lesana-init',
+        'initialize a lesana collection',
+        'valhalla@trueelena.org', 1
+    ),
+    (
+        'man/lesana-new', 'lesana-new',
+        'create a new lesana entry',
+        'valhalla@trueelena.org', 1
+    ),
+    (
+        'man/lesana-rm', 'lesana-rm',
+        'remove an entry from a lesana collection',
+        'valhalla@trueelena.org', 1
+    ),
+    (
+        'man/lesana', 'lesana',
+        'manages collection inventories',
+        'valhalla@trueelena.org', 1
+    ),
+    (
+        'man/lesana-search', 'lesana-search',
+        'search inside a lesana collection',
+        'valhalla@trueelena.org', 1
+    ),
+    (
+        'man/lesana-show', 'lesana-show',
+        'show a lesana entry',
+        'valhalla@trueelena.org', 1
+    ),
 ]
diff --git a/docs/source/man/lesana-edit.rst b/docs/source/man/lesana-edit.rst
index 75bcaeb..0f38dc3 100644
--- a/docs/source/man/lesana-edit.rst
+++ b/docs/source/man/lesana-edit.rst
@@ -2,13 +2,6 @@
 lesana-edit
 ===========
 
-------------------------------
-edits an existing lesana entry
-------------------------------
-
-:Author: valhalla@trueelena.org
-:Manual section: 1
-
 SYNOPSIS
 ========
 
diff --git a/docs/source/man/lesana-export.rst b/docs/source/man/lesana-export.rst
index 6088dbf..89e2c5c 100644
--- a/docs/source/man/lesana-export.rst
+++ b/docs/source/man/lesana-export.rst
@@ -2,13 +2,6 @@
 lesana-export
 =============
 
--------------------------------------------------
-export data from one lesana collection to another
--------------------------------------------------
-
-:Author: valhalla@trueelena.org
-:Manual section: 1
-
 SYNOPSIS
 ========
 
diff --git a/docs/source/man/lesana-index.rst b/docs/source/man/lesana-index.rst
index d535c02..0ba52f1 100644
--- a/docs/source/man/lesana-index.rst
+++ b/docs/source/man/lesana-index.rst
@@ -2,13 +2,6 @@
 lesana-index
 ============
 
-------------------
-Index some entries
-------------------
-
-:Author: valhalla@trueelena.org
-:Manual section: 1
-
 SYNOPSIS
 ========
 
diff --git a/docs/source/man/lesana-init.rst b/docs/source/man/lesana-init.rst
index 92527c0..c21ef1c 100644
--- a/docs/source/man/lesana-init.rst
+++ b/docs/source/man/lesana-init.rst
@@ -2,13 +2,6 @@
 lesana-init
 ===========
 
-------------------------------
-initialize a lesana collection
-------------------------------
-
-:Author: valhalla@trueelena.org
-:Manual section: 1
-
 SYNOPSIS
 ========
 
diff --git a/docs/source/man/lesana-new.rst b/docs/source/man/lesana-new.rst
index 4c7a10d..0dfb624 100644
--- a/docs/source/man/lesana-new.rst
+++ b/docs/source/man/lesana-new.rst
@@ -2,13 +2,6 @@
 lesana-new
 ==========
 
--------------------------
-create a new lesana entry
--------------------------
-
-:Author: valhalla@trueelena.org
-:Manual section: 1
-
 SYNOPSIS
 ========
 
diff --git a/docs/source/man/lesana-rm.rst b/docs/source/man/lesana-rm.rst
index 4f765a5..43bfae1 100644
--- a/docs/source/man/lesana-rm.rst
+++ b/docs/source/man/lesana-rm.rst
@@ -2,13 +2,6 @@
 lesana-rm
 =========
 
-----------------------------------------
-remove an entry from a lesana collection
-----------------------------------------
-
-:Author: valhalla@trueelena.org
-:Manual section: 1
-
 SYNOPSIS
 ========
 
diff --git a/docs/source/man/lesana-search.rst b/docs/source/man/lesana-search.rst
index 9375541..933431d 100644
--- a/docs/source/man/lesana-search.rst
+++ b/docs/source/man/lesana-search.rst
@@ -2,13 +2,6 @@
 lesana-search
 =============
 
----------------------------------
-search inside a lesana collection
----------------------------------
-
-:Author: valhalla@trueelena.org
-:Manual section: 1
-
 SYNOPSIS
 ========
 
diff --git a/docs/source/man/lesana-show.rst b/docs/source/man/lesana-show.rst
index 516f9de..34e5cd5 100644
--- a/docs/source/man/lesana-show.rst
+++ b/docs/source/man/lesana-show.rst
@@ -2,13 +2,6 @@
 lesana-show
 ===========
 
--------------------
-show a lesana entry
--------------------
-
-:Author: valhalla@trueelena.org
-:Manual section: 1
-
 SYNOPSIS
 ========
 
diff --git a/docs/source/man/lesana.rst b/docs/source/man/lesana.rst
index 3bc154d..caac314 100644
--- a/docs/source/man/lesana.rst
+++ b/docs/source/man/lesana.rst
@@ -2,13 +2,6 @@
 lesana
 ======
 
-------------------------------
-manages collection inventories
-------------------------------
-
-:Author: valhalla@trueelena.org
-:Manual section: 1
-
 SYNOPSIS
 ========
 
-- 
cgit v1.2.3