New style for the documentation. Looks more like the website now.

This commit is contained in:
Armin Ronacher 2010-04-18 13:15:00 +02:00
parent 42dd94b756
commit bcf347fe8d
15 changed files with 601 additions and 569 deletions

19
docs/tutorial/folders.rst Normal file
View file

@ -0,0 +1,19 @@
Step 0: Creating The Folders
============================
Before we get started, let's create the folders needed for this
application::
/flaskr
/static
/templates
The `flaskr` folder is not a python package, but just something where we
drop our files. Directly into this folder we will then put our database
schema as well as main module in the following steps. The files inside
the `static` folder are available to users of the application via `HTTP`.
This is the place where css and javascript files go. Inside the
`templates` folder Flask will look for `Jinja2`_ templates. Drop all the
templates there.
.. _Jinja2: http://jinja.pocoo.org/2/