From 9c05f681e460018b97677cfc361b983706f51b8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Avil=C3=A9s?= Date: Thu, 27 Jun 2024 15:50:17 +0200 Subject: [PATCH] WIP --- docs/first_steps.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/first_steps.rst b/docs/first_steps.rst index 1df4f76e0..c089ecab2 100644 --- a/docs/first_steps.rst +++ b/docs/first_steps.rst @@ -552,7 +552,7 @@ time when you render a lot of documents that use the same images. cache = {} for i in range(10): HTML(f'https://weasyprint.org/').write_pdf( - f'example-{i}.pdf', image_cache=cache) + f'example-{i}.pdf', cache=cache) It’s also possible to cache images on disk instead of keeping them in memory. The ``--cache-folder`` CLI option can be used to define the folder used to