From 0a9e33e9b195790f49cfb869309763f23188f261 Mon Sep 17 00:00:00 2001 From: stewbond Date: Fri, 28 Jun 2024 17:48:31 +0200 Subject: [PATCH] Moving generated man-page to section 3 (#89) If the user generates a man page with sphinx, the auto-generated page is in section 1. Section 1 is reserved for applications. Libraries belong in section 3. Adding some rules in conf.py to ensure that the man page is generated in section 3. --------- Co-authored-by: Stewart Ferguson Co-authored-by: Poruri Sai Rahul Co-authored-by: Mark Dickinson Co-authored-by: Poruri Sai Rahul Co-authored-by: Mark Dickinson --- docs/source/conf.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/source/conf.py b/docs/source/conf.py index 47851f52..6f24177e 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -124,3 +124,9 @@ # The name of an image file (relative to this directory) to place at the top of # the title page. latex_logo = "e-logo-rev.png" + +# Grouping the document tree into Man pages. List of tuples +# (startdocname, name, description, authors, section) +man_pages = [ + (master_doc, project, project + ' ' + version, 'Enthought', 3) +]