disabled docs app (redirecting to doc.scrapy.org instead)

--HG--
extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40645
This commit is contained in:
Pablo Hoffman 2009-01-04 23:28:50 +00:00
parent e61b581890
commit 7ca989a781
5 changed files with 29 additions and 6 deletions

View File

@ -9,7 +9,7 @@ all : build tests
build : docs
docs :
sphinx-build -E -a -b pickle docs/scrapy-docs docs/pickle
sphinx-build -a -b pickle docs/scrapy-docs docs/pickle
tests :
$(SETTINGS); \

View File

@ -11,8 +11,13 @@ urlpatterns = patterns('',
url(r"^admin/download/downloadlink/", include("scrapyorg.download.urls")),
url(r'^admin/(.*)', admin.site.root),
# pablo: disabled documentation until we improve its usability. for now,
# documentation will be served at http://doc.scrapy.org using static html
# files generated by Sphinx, and a small notice landing page will be shown
# in scrapy.org/doc
# docs
url(r"^docs/", include("scrapyorg.docs.urls")),
# url(r"^docs/", include("scrapyorg.docs.urls")),
url(r"docs/.*", 'django.views.generic.simple.redirect_to', {'url': '/doc/'}),
# news
url(r"^news/", include("scrapyorg.blog.urls")),
)
@ -29,3 +34,4 @@ if settings.DEBUG: # devel
urlpatterns += patterns('',
url(r"", include("scrapyorg.article.urls")),
)

View File

@ -0,0 +1,17 @@
{% extends "base_home.html" %}
{% block main-content %}
<h1>Scrapy Documentation</h1>
<p>You can browse the Scrapy documentation online at:</p>
<p style="margin-left: 20px; font-size: larger;"><a href="http://doc.scrapy.org/">http://doc.scrapy.org</a></p>
<p>At the moment (January, 2009) our top priority is improving the
documentation so keep in mind that it will change and grow quite a bit
these days.</p>
<p>After we finish the documention we'll make it available in another
formats.</p>
{% endblock %}

View File

@ -41,7 +41,7 @@
<h2>After you get it</h2>
<p>See the <a href="/docs/intro/install/">How to install Scrapy</a>
for further instructions
</p>
<p>Read the <a href="http://doc.scrapy.org/intro/install.html">Installation
steps</a> (in the documentation) for further instructions </p>
{% endblock %}

View File

@ -4,7 +4,7 @@
<ul id="navigation">
<li><a href="/">Home</a></li>
<li><a href="/download/">Download</a></li>
<li><a href="/docs/">Documentation</a></li>
<li><a href="/doc/">Documentation</a></li>
<li><a href="/news/">News</a></li>
<li><a href="/community/">Community</a></li>
<li class="last"><a href="http://dev.scrapy.org">Development</a></li>