Skip to content

Commit

Permalink
[svn] beefed up werkzeug.routing, added i18n urls example, updated ar…
Browse files Browse the repository at this point in the history
…twork, added documentation generator (copied from jinja)

--HG--
branch : trunk
  • Loading branch information
mitsuhiko committed May 7, 2007
1 parent 43e90f1 commit 5091528
Show file tree
Hide file tree
Showing 22 changed files with 757 additions and 148 deletions.
6 changes: 6 additions & 0 deletions Makefile
Expand Up @@ -8,5 +8,11 @@
# :license: BSD, see LICENSE for more details.
#

documentation:
@(cd docs; ./generate.py)

webpage:
@(cd ../www; ./generate.py)

test:
@(cd tests; py.test $(TESTS))
Binary file modified artwork/logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 23 additions & 21 deletions artwork/logo.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
196 changes: 196 additions & 0 deletions docs/build/style.css
@@ -0,0 +1,196 @@
body {
background-color: #333;
margin: 0;
padding: 0;
font-family: 'Georgia', serif;
font-size: 15px;
color: #111;
}

#content {
background-color: white;
background-image: url(watermark.png);
padding: 10px;
margin: 25px;
border: 4px solid #ddd;
}

h1 {
margin: 0;
padding: 0;
height: 80px;
background-image: url(jinjabanner.png);
background-repeat: no-repeat;
}

h1 span {
display: none;
}

h2.subheading {
margin: -55px 0 35px 200px;
font-weight: normal;
font-size: 30px;
color: #444;
}

h2.plain {
margin: 0;
}

#jinjalogo {
background-image: url(jinjalogo.png);
background-repeat: no-repeat;
width: 400px;
height: 160px;
}

#contentwrapper {
max-width: 700px;
padding: 0 0 20px 18px;
}

#contentwrapper h3,
#contentwrapper h3 a {
color: #b41717;
font-size: 26px;
margin: 20px 0 0 -5px;
}

#contentwrapper h4,
#contentwrapper h4 a {
color: #b41717;
font-size: 20px;
margin: 20px 0 0 0;
}

table.docutils {
border-collapse: collapse;
border: 2px solid #aaa;
margin: 0.5em 1.5em 0.5em 1.5em;
}

table.docutils td {
padding: 2px;
border: 1px solid #ddd;
}

p, li, dd, dt, blockquote {
color: #333;
}

p {
line-height: 150%;
margin-bottom: 0;
margin-top: 10px;
text-align: justify;
}

hr {
border-top: 1px solid #ccc;
border-bottom: 0;
border-right: 0;
border-left: 0;
margin-bottom: 10px;
margin-top: 20px;
}

dl {
margin-left: 10px;
}

li, dt {
margin-top: 5px;
}

dt {
font-weight: bold;
}

th {
text-align: left;
padding: 3px;
background-color: #f2f2f2;
}

a {
color: #b41717;
}

a:hover {
color: #444;
}

pre {
background-color: #f9f9f9;
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
padding: 5px;
font-size: 13px;
font-family: 'Bitstream Vera Sans Mono', 'Monaco', monospace;
}

tt {
font-size: 13px;
font-family: 'Bitstream Vera Sans Mono', 'Monaco', monospace;
color: black;
padding: 1px 2px 1px 2px;
background-color: #f0f0f0;
}

cite {
/* abusing <cite>, it's generated by ReST for `x` */
font-size: 13px;
font-family: 'Bitstream Vera Sans Mono', 'Monaco', monospace;
font-weight: bold;
font-style: normal;
}

div.admonition {
margin: 10px 0 10px 0;
padding: 10px;
border: 1px solid #ccc;
background-color: #f8f8f8;
}

div.admonition p.admonition-title {
margin: -3px 0 5px 0;
font-weight: bold;
color: #b41717;
font-size: 16px;
}

div.admonition p {
margin: 0 0 0 40px;
}

#toc {
margin: 0 -10px 10px 15px;
padding: 10px;
width: 200px;
float: right;
background-color: #f8f8f8;
border: 1px solid #ccc;
border-right: none;
}

#toc h2 {
font-size: 20px;
margin: 0 0 10px 0;
padding: 0;
color: #444;
}

#toc ul {
margin: 0 0 0 30px;
padding: 0;
}

#toc ul + h2 {
margin-top: 10px;
}

#toc ul li {
padding: 0;
margin: 2px 0 2px 0;
}

0 comments on commit 5091528

Please sign in to comment.