Properly build and install the man page, also in the rpm

This commit is contained in:
louiz’
2019-09-15 21:45:06 +02:00
parent db3c5f4bc4
commit 2ad098de92
6 changed files with 24 additions and 22 deletions
+3 -17
View File
@@ -52,7 +52,6 @@ templates_path = ['_templates']
# source_suffix = ['.rst', '.md']
source_suffix = '.rst'
# The master toctree document.
master_doc = 'index'
# The language for content autogenerated by Sphinx. Refer to documentation
@@ -87,7 +86,7 @@ html_theme = 'sphinx_rtd_theme'
# Add any paths that contain custom static files (such as style sheets) here,
# 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']
#html_static_path = ['_static']
# Custom sidebar templates, must be a dictionary that maps document names
# to template names.
@@ -131,7 +130,7 @@ latex_elements = {
# author, documentclass [howto, manual, or own class]).
latex_documents = [
(master_doc, 'biboumi.tex', 'biboumi Documentation',
'Florent Le Coz', 'manual'),
author, 'manual'),
]
@@ -140,21 +139,8 @@ latex_documents = [
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
(master_doc, 'biboumi', 'biboumi Documentation',
('man_index', 'biboumi', 'biboumi Documentation',
[author], 1)
]
# -- Options for Texinfo output ----------------------------------------------
# Grouping the document tree into Texinfo files. List of tuples
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
(master_doc, 'biboumi', 'biboumi Documentation',
author, 'biboumi', 'One line description of project.',
'Miscellaneous'),
]
# -- Extension configuration -------------------------------------------------