Skip to content

Commit 93ec4ee

Browse files
committed
try fix pdf doc build
1 parent d2108bb commit 93ec4ee

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

doc/.readthedocs.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,13 @@ build:
1515
- libpango-1.0-0
1616
- libgdk-pixbuf2.0-0
1717
- libffi-dev
18+
- chromium-browser
19+
- libasound2
1820
jobs:
21+
post_create_environment:
22+
- wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
23+
- dpkg -x google-chrome-stable_current_amd64.deb $HOME/chrome
24+
- touch $HOME/.rtd.build
1925
post_install:
2026
- pip install uv
2127
- UV_PROJECT_ENVIRONMENT=$READTHEDOCS_VIRTUALENV_PATH uv sync --all-extras --group docs --link-mode=copy

doc/source/performance.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ improvements <https://github.com/django-commons/django-typer/issues/170>`_ are m
3535
.. raw:: html
3636
:file: _static/img/minimal_profile.svg
3737

38-
.. only:: latexpdf
38+
.. only:: latex
3939

4040
.. literalinclude:: _static/img/minimal_profile.txt
4141

@@ -51,6 +51,6 @@ using :pypi:`django-typer` is minimal. On the order of a few 10s of milliseconds
5151
.. raw:: html
5252
:file: _static/img/polls_profile.svg
5353

54-
.. only:: latexpdf
54+
.. only:: latex
5555

5656
.. literalinclude:: _static/img/polls_profile.txt

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@ modules = "django_typer"
105105
max-line-length = 100
106106
sphinx = true
107107
ignore = [ "D004" ]
108+
ignore-path = [
109+
"doc/source/_static/img/*.txt"
110+
]
108111

109112
[tool.pytest.ini_options]
110113
# py.test options:

0 commit comments

Comments
 (0)