From aac26d35864e81139ca310ce2e53e3fe8e4014c0 Mon Sep 17 00:00:00 2001
From: Pablo Hoffman
Date: Sun, 24 Jun 2012 01:00:33 -0300
Subject: [PATCH] fixed links to doc. closes #150
---
docs/topics/selectors.rst | 4 ++--
scrapy/telnet.py | 2 +-
scrapyd/website.py | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/docs/topics/selectors.rst b/docs/topics/selectors.rst
index 9e9e47de9..672968126 100644
--- a/docs/topics/selectors.rst
+++ b/docs/topics/selectors.rst
@@ -69,7 +69,7 @@ To explain how to use the selectors we'll use the `Scrapy shell` (which
provides interactive testing) and an example page located in the Scrapy
documentation server:
- http://doc.scrapy.org/_static/selectors-sample1.html
+ http://doc.scrapy.org/en/latest/_static/selectors-sample1.html
.. _topics-selectors-htmlcode:
@@ -82,7 +82,7 @@ Here's its HTML code:
First, let's open the shell::
- scrapy shell http://doc.scrapy.org/_static/selectors-sample1.html
+ scrapy shell http://doc.scrapy.org/en/latest/_static/selectors-sample1.html
Then, after the shell loads, you'll have some selectors already instantiated and
ready to use.
diff --git a/scrapy/telnet.py b/scrapy/telnet.py
index 2d9b056be..15eab1a37 100644
--- a/scrapy/telnet.py
+++ b/scrapy/telnet.py
@@ -78,7 +78,7 @@ class TelnetConsole(protocol.ServerFactory):
'prefs': print_live_refs,
'hpy': hpy,
'help': "This is Scrapy telnet console. For more info see: " \
- "http://doc.scrapy.org/topics/telnetconsole.html", # see #284
+ "http://doc.scrapy.org/en/latest/topics/telnetconsole.html",
}
send_catch_log(update_telnet_vars, telnet_vars=telnet_vars)
return telnet_vars
diff --git a/scrapyd/website.py b/scrapyd/website.py
index aab754c24..9943cd0d2 100644
--- a/scrapyd/website.py
+++ b/scrapyd/website.py
@@ -79,7 +79,7 @@ monitoring)
Example using curl:
curl http://localhost:6800/schedule.json -d project=default -d spider=somespider
-For more information about the API, see the Scrapyd documentation
+For more information about the API, see the Scrapyd documentation