Skip to content

Commit

Permalink
Merge pull request #2321 from alexandergitter/contribute-running-weas…
Browse files Browse the repository at this point in the history
…yprint

Add example invocation of WeasyPrint on the "Contribute" page
  • Loading branch information
liZe authored Dec 7, 2024
2 parents db288a4 + ad6dbf7 commit 8d24a10
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions docs/contribute.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ documentation? Thank you very much! Here are some tips to help you play with
WeasyPrint in good conditions.

The first step is to clone the repository, create a virtual environment and
install WeasyPrint dependencies.
install WeasyPrint dependencies:

.. code-block:: shell
Expand All @@ -15,12 +15,18 @@ install WeasyPrint dependencies.
python -m venv venv
venv/bin/pip install -e '.[doc,test]'
You can then launch Python to test your changes.
You can then launch Python to test your changes:

.. code-block:: shell
venv/bin/python
Running WeasyPrint might look something like this:

.. code-block:: shell
venv/bin/python -m weasyprint example.html example.pdf
Code & Issues
-------------
Expand Down

0 comments on commit 8d24a10

Please sign in to comment.