Development — Pycairo documentation

# Development

First install the external dependencies, see Getting Started.

To run the tests:

    $ poetry install
    $ poetry self add poetry-plugin-shell  # once
    $ poetry shell
    $ pip install -e .
    # change things
    $ pytest

To work on the documentation:

    $ poetry install --with docs
    $ poetry self add poetry-plugin-shell  # once
    $ poetry shell
    $ cd docs
    $ make watch
    # See http://127.0.0.1:8000