diff --git a/docs/_static/scrapydoc.css b/docs/_static/scrapydoc.css index 3e58a5e70..9ec34edca 100644 --- a/docs/_static/scrapydoc.css +++ b/docs/_static/scrapydoc.css @@ -638,6 +638,19 @@ img.logo { border: 0; } +.docversion { + padding-top: 5px; + padding-bottom: 5px; +} + +.devdoc { + color: red; +} + +.stabledoc { + color: #777; +} + /* :::: PRINT :::: */ @media print { div.document, diff --git a/docs/_templates/page.html b/docs/_templates/page.html new file mode 100644 index 000000000..7556ca191 --- /dev/null +++ b/docs/_templates/page.html @@ -0,0 +1,25 @@ +{% extends "layout.html" %} +{% block body %} +
+ This document is for Scrapy's development version, which can be + significantly different from previous releases. Get old docs here: + 0.10, + 0.9. + 0.8. + 0.7. +
+ {% else %} ++ This document describes Scrapy {{ version }}. For development docs, + go here. +
+ {% endif %} +