From 12037e7d5029b91dc257cf690d84a017a2182195 Mon Sep 17 00:00:00 2001 From: sureshvv Date: Wed, 6 Jun 2018 15:59:12 +0530 Subject: [PATCH 1/2] Discovered empirically. --- docs/api.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/api.rst b/docs/api.rst index 01d5a0c..73cc791 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -51,6 +51,10 @@ API If you for some reason already have the HTML you can jump straight to this method. Note, you still need to provide the URL where you got the HTML from so it can use that to download any external CSS. + + * When calling process_url() or process_html(), you have to call process() + at the end without arguments, in order to post_process the pages that were + processed individually. The ``Processor`` instance will make two attributes available From b2c8f243742f456d7b61b3733b1592d176f63aef Mon Sep 17 00:00:00 2001 From: sureshvv Date: Wed, 6 Jun 2018 22:53:40 +0530 Subject: [PATCH 2/2] Update api.rst --- docs/api.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api.rst b/docs/api.rst index 73cc791..b303e1b 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -52,8 +52,8 @@ API to this method. Note, you still need to provide the URL where you got the HTML from so it can use that to download any external CSS. - * When calling process_url() or process_html(), you have to call process() - at the end without arguments, in order to post_process the pages that were + * When calling ``process_url()`` or ``process_html()``, you have to call ``process()`` + at the end without arguments, in order to post process the pages that were processed individually. The ``Processor`` instance will make two attributes available