Skip to content

Commit ccd0742

Browse files
committed
fix pdf docs build
1 parent 5bc7416 commit ccd0742

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

doc/source/howto.rst

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ Lets look at the help output:
190190

191191
.. typer:: tests.apps.howto.management.commands.default_cmd.Command:typer_app
192192
:width: 80
193+
:convert-png: latex
193194

194195
.. _groups:
195196

@@ -679,22 +680,26 @@ like below, but they must extend from django-typer's classes:
679680
.. tab:: Default Order
680681

681682
.. typer:: tests.apps.howto.management.commands.order_default.Command:typer_app
682-
:prog: ./manage.py order
683+
:prog: manage.py order
683684
:width: 80
685+
:convert-png: latex
684686

685687
.. typer:: tests.apps.howto.management.commands.order_default.Command:typer_app:d
686-
:prog: ./manage.py order d
688+
:prog: manage.py order d
689+
:convert-png: latex
687690
:width: 80
688691

689692
.. tab:: Alphabetized
690693

691694
.. typer:: tests.apps.howto.management.commands.order.Command:typer_app
692-
:prog: ./manage.py order
695+
:prog: manage.py order
696+
:convert-png: latex
693697
:width: 80
694698

695699
.. typer:: tests.apps.howto.management.commands.order.Command:typer_app:d
696-
:prog: ./manage.py order d
700+
:prog: manage.py order d
697701
:width: 80
702+
:convert-png: latex
698703

699704
Document Commands w/Sphinx
700705
--------------------------

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ mypy = ">=1.0"
9292
doc8 = ">=1.1.1"
9393
aiohttp = ">=3.9.1"
9494
readme-renderer = {extras = ["md"], version = ">=42"}
95-
sphinxcontrib-typer = {extras = ["html", "pdf", "png"], version = ">=0.5.0", markers="python_version >= '3.9'"}
95+
sphinxcontrib-typer = {extras = ["html", "pdf", "png"], version = ">=0.5.1", markers="python_version >= '3.9'"}
9696
pytest-env = ">=1.0.0"
9797
django-stubs = ">=4.2.7"
9898
pexpect = ">=4.9.0"

0 commit comments

Comments
 (0)