Skip to content

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

Document where the project name appears in a Scrapy project (#8044)

Adrianbbb5a26e63b8
diff --git a/docs/topics/commands.rst b/docs/topics/commands.rst
index 3a22d5ace..a32538dfd 100644
--- a/docs/topics/commands.rst
+++ b/docs/topics/commands.rst
@@ -73,6 +73,13 @@ the project settings. Here is an example:
[settings]
default = myproject.settings
+The project name also appears elsewhere by default. :setting:`SPIDER_MODULES`
+and :setting:`NEWSPIDER_MODULE` reference the project module itself, so they
+must match its actual location. :setting:`BOT_NAME` defaults to the same name
+but is just an identifier, and the capitalized project-name prefix of class
+names in :file:`middlewares.py` and :file:`pipelines.py` is only a naming
+convention; neither needs to match the module name.
+
.. _topics-project-envvar:
Sharing the root directory between projects