From 67f031b8e78080879464f18836bdec796d51c7fa Mon Sep 17 00:00:00 2001 From: Stani Date: Mon, 15 Jul 2019 15:15:34 +0200 Subject: [PATCH] Add state to bookmark tree documentation. There is a breaking change in make_bookmark_tree, which was not documented. --- weasyprint/document.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weasyprint/document.py b/weasyprint/document.py index 5c2a6a6d9..6037f3f5f 100644 --- a/weasyprint/document.py +++ b/weasyprint/document.py @@ -481,7 +481,7 @@ def make_bookmark_tree(self): .. versionadded:: 0.15 :return: A list of bookmark subtrees. - A subtree is ``(label, target, children)``. ``label`` is + A subtree is ``(label, target, children, state)``. ``label`` is a string, ``target`` is ``(page_number, x, y)`` like in :meth:`resolve_links`, and ``children`` is a list of child subtrees.