Skip to content

Commit

Permalink
Simplify manpage
Browse files Browse the repository at this point in the history
Fix #1741.
  • Loading branch information
liZe committed Oct 25, 2022
1 parent f1ae21a commit 1a46da3
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/conf.py
Expand Up @@ -63,7 +63,7 @@
# 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)
]

Expand All @@ -72,8 +72,8 @@
# 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.
Expand Down
16 changes: 16 additions & 0 deletions docs/manpage.rst
@@ -0,0 +1,16 @@
:orphan:

.. currentmodule:: weasyprint


Description
-----------

.. autofunction:: weasyprint.__main__.main(argv=sys.argv)
:noindex:


About
-----

.. include:: ../README.rst

0 comments on commit 1a46da3

Please sign in to comment.