summaryrefslogtreecommitdiff
path: root/docs/users_guide/examples.rst
blob: 7304cd1d00f149490f9228ee1c577bf5a3a527d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Examples
========

(examples)

The Cheetah distribution comes with an 'examples' directory. Browse
the files in this directory and its subdirectories for examples of
how Cheetah can be used.

Syntax examples
---------------

The {Cheetah.Tests} module contains a large number of test cases
that can double as examples of how the Cheetah Language works. To
view these cases go to the base directory of your Cheetah
distribution and open the file {Cheetah/Tests/SyntaxAndOutput.py}
in a text editor.

Webware Examples
----------------

For examples of Cheetah in use with Webware visit the Cheetah and
Webware wikis or use google. We used to have more examples in the
cheetah source tarball, but they were out of date and confused
people.