diff --git a/docs/api.rst b/docs/api.rst index b820da25..2b455f77 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -6,6 +6,14 @@ API The following section describes the available resources in Scrapyd JSON API. +.. warning:: + + This documentation is for the old |version| version of scrapyd. + Unless you are maintaining an old project that requires it, + you may instead want the + `latest version `_. + + addversion.json --------------- diff --git a/docs/conf.py b/docs/conf.py index b31a8d61..0b6c498a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -48,9 +48,9 @@ # built documents. # # The short X.Y version. -version = '0.18' +version = '1.0' # The full version, including alpha/beta/rc tags. -release = '0.18' +#release = '' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/docs/config.rst b/docs/config.rst index 6144737d..e68735a9 100644 --- a/docs/config.rst +++ b/docs/config.rst @@ -14,6 +14,14 @@ them in order with the latest one taking more priority: The configuration file supports the following options (see default values in the :ref:`example `). +.. warning:: + + This documentation is for the old |version| version of scrapyd. + Unless you are maintaining an old project that requires it, + you may instead want the + `latest version `_. + + http_port --------- diff --git a/docs/deploy.rst b/docs/deploy.rst index 876dffae..742b860e 100644 --- a/docs/deploy.rst +++ b/docs/deploy.rst @@ -21,6 +21,15 @@ your project) and each target supports multiple projects. Each time you deploy a new version of a project, you can name it for later reference. +.. warning:: + + This documentation is for the old |version| version of scrapyd. + Unless you are maintaining an old project that requires it, + you may instead want the + `latest version `_. + + + Show and define targets ----------------------- diff --git a/docs/index.rst b/docs/index.rst index 520f6b53..af1fa50e 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -5,6 +5,14 @@ Scrapyd a is an application for deploying and running Scrapy spiders. It enables you to deploy (upload) your projects and control their spiders using a JSON API. +.. warning:: + + This documentation is for the old |version| version of scrapyd. + Unless you are maintaining an old project that requires it, + you may instead want the + `latest version `_. + + Contents -------- .. toctree:: diff --git a/docs/install.rst b/docs/install.rst index f7a4b87b..32505b38 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -6,6 +6,13 @@ Installation This documents explains how to install and configure Scrapyd, to deploy and run your Scrapy spiders. +.. warning:: + + This documentation is for the old |version| version of scrapyd. + Unless you are maintaining an old project that requires it, + you may instead want the + `latest version `_. + Requirements ------------ diff --git a/docs/news.rst b/docs/news.rst index b020be61..7c77713c 100644 --- a/docs/news.rst +++ b/docs/news.rst @@ -3,7 +3,16 @@ Release notes ============= -1.0 (unreleased) ----------------- +.. warning:: + + This documentation is for the old |version| version of scrapyd. + Unless you are maintaining an old project that requires it, + you may instead want the + `latest version `_. + + +1.0 +--- First standalone release (it was previously shipped with Scrapy until Scrapy 0.16). + diff --git a/docs/overview.rst b/docs/overview.rst index 29ea1195..e7ec7922 100644 --- a/docs/overview.rst +++ b/docs/overview.rst @@ -2,6 +2,14 @@ Overview ======== +.. warning:: + + This documentation is for the old |version| version of scrapyd. + Unless you are maintaining an old project that requires it, + you may instead want the + `latest version `_. + + Projects and versions ===================== @@ -48,11 +56,6 @@ distribution:: That should get your Scrapyd started. -Or, if you want to start Scrapyd from inside a Scrapy project you can use the -`server command`_, like this:: - - scrapy server - Scheduling a spider run ======================= diff --git a/scrapyd/website.py b/scrapyd/website.py index 84b3563e..4f0797b1 100644 --- a/scrapyd/website.py +++ b/scrapyd/website.py @@ -70,7 +70,7 @@ def render_GET(self, txrequest):
  • Jobs
  • Items
  • Logs
  • -
  • Documentation
  • +
  • Documentation
  • How to schedule a spider?

    @@ -81,7 +81,7 @@ def render_GET(self, txrequest):

    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

    """ % vars diff --git a/setup.py b/setup.py index 3ee97662..e1725ef3 100644 --- a/setup.py +++ b/setup.py @@ -17,6 +17,7 @@ 'packages': ['scrapyd'], 'scripts': ['bin/scrapyd', 'bin/scrapyd-deploy'], 'include_package_data': True, + 'zip_safe': False, 'classifiers': [ 'Programming Language :: Python', 'Programming Language :: Python :: 2.6',