Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

doc: fixed intro-install xref

Pablo Hoffman9d6defa64388
diff --git a/scrapy/trunk/docs/intro/install.rst b/scrapy/trunk/docs/intro/install.rst
index 268c48096..15709c9e4 100644
--- a/scrapy/trunk/docs/intro/install.rst
+++ b/scrapy/trunk/docs/intro/install.rst
@@ -1,11 +1,11 @@
-.. _install:
-
-.. highlight:: sh
+.. _intro-install:
============
Installation
============
+.. highlight:: sh
+
Requirements
============
diff --git a/scrapy/trunk/docs/intro/tutorial/tutorial1.rst b/scrapy/trunk/docs/intro/tutorial/tutorial1.rst
index 89b9713ef..97534d538 100644
--- a/scrapy/trunk/docs/intro/tutorial/tutorial1.rst
+++ b/scrapy/trunk/docs/intro/tutorial/tutorial1.rst
@@ -1,16 +1,18 @@
.. _tutorial1:
+.. highlight:: sh
+
======================
Creating a new project
======================
In this tutorial, we'll teach you how to scrape http://www.google.com/dirhp Google's web directory.
-We'll assume that Scrapy is already installed in your system, if not see :ref:`install`.
+We'll assume that Scrapy is already installed in your system, if not see :ref:`intro-install`.
For starting a new project, enter the directory where you'd like your project to be located, and run::
- scrapy-admin.py startproject google
+ $ scrapy-admin.py startproject google
As long as Scrapy is well installed and the path is set, this should create a directory called "google" containing the following files:
@@ -25,6 +27,6 @@ As long as Scrapy is well installed and the path is set, this should create a di
::
- export PYTHONPATH=/path/to/your/project
+ $ export PYTHONPATH=/path/to/your/project
Now you can continue with the next part of the tutorial: :ref:`tutorial2`.