From 54ef38a1cd6176d0a1c029f288358087878e9965 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Chaves?= Date: Tue, 1 Sep 2020 17:03:31 +0200 Subject: [PATCH 1/2] Fix references to /examples, which moved to /scrapy/examples --- docs/faq.rst | 2 +- docs/scripting-tutorial.rst | 2 +- setup.py | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/faq.rst b/docs/faq.rst index b89663232..a62e2421a 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -244,7 +244,7 @@ up to 4GB RAM and daemonizes & restarts itself could look like this:: $ docker run -d -p 8050:8050 --memory=4.5G --restart=always scrapinghub/splash:3.1 --maxrss 4000 You also need a load balancer; for example configs check Aquarium_ or -an HAProxy config in Splash `repository `__. +an HAProxy config in Splash `repository `__. Ansible Way ~~~~~~~~~~~ diff --git a/docs/scripting-tutorial.rst b/docs/scripting-tutorial.rst index 4295d0c6e..43753277f 100644 --- a/docs/scripting-tutorial.rst +++ b/docs/scripting-tutorial.rst @@ -122,7 +122,7 @@ Splash switches from the script to other tasks, and comes back after 0.5s. It is possible to use loops, conditional statements, functions as usual in Splash scripts which enables more straightforward coding. -Let's check an `example `__ +Let's check an `example `__ PhantomJS script: .. code-block:: javascript diff --git a/setup.py b/setup.py index 06608f6c3..ce17d8214 100644 --- a/setup.py +++ b/setup.py @@ -49,7 +49,6 @@ def get_version(): 'vendor/harviewer/webapp/har.js', 'ui/*.*', - 'examples/*.lua', 'lua_modules/*.lua', 'lua_modules/libs/*.lua', 'lua_modules/vendor/*.lua', From 28d01d2ee1f39bf71fdc310450192416486d169a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Chaves?= Date: Wed, 16 Sep 2020 20:45:54 +0200 Subject: [PATCH 2/2] Revert bad change --- docs/scripting-tutorial.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/scripting-tutorial.rst b/docs/scripting-tutorial.rst index 43753277f..4295d0c6e 100644 --- a/docs/scripting-tutorial.rst +++ b/docs/scripting-tutorial.rst @@ -122,7 +122,7 @@ Splash switches from the script to other tasks, and comes back after 0.5s. It is possible to use loops, conditional statements, functions as usual in Splash scripts which enables more straightforward coding. -Let's check an `example `__ +Let's check an `example `__ PhantomJS script: .. code-block:: javascript