1
1
mirror of https://github.com/Kozea/WeasyPrint.git synced 2024-10-05 16:37:47 +03:00

Simplify manpage

Fix #1741.
This commit is contained in:
Guillaume Ayoub 2022-10-25 09:28:59 +02:00
parent f1ae21a965
commit 1a46da3a71
2 changed files with 19 additions and 3 deletions

View File

@ -63,7 +63,7 @@ htmlhelp_basename = 'weasyprintdoc'
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
('index', 'weasyprint', 'WeasyPrint Documentation',
('manpage', 'weasyprint', 'The Awesome Document Factory',
['Simon Sapin and contributors'], 1)
]
@ -72,8 +72,8 @@ man_pages = [
# dir menu entry, description, category)
texinfo_documents = [(
'index', 'WeasyPrint', 'WeasyPrint Documentation',
'Simon Sapin', 'WeasyPrint', 'The Awesome Document Factory',
'Miscellaneous'),
'Simon Sapin and contributors', 'WeasyPrint',
'The Awesome Document Factory', 'Miscellaneous'),
]
# Example configuration for intersphinx: refer to the Python standard library.

16
docs/manpage.rst Normal file
View File

@ -0,0 +1,16 @@
:orphan:
.. currentmodule:: weasyprint
Description
-----------
.. autofunction:: weasyprint.__main__.main(argv=sys.argv)
:noindex:
About
-----
.. include:: ../README.rst