diff options
| author | Chris McDonough <chrism@plope.com> | 2010-10-25 18:47:29 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2010-10-25 18:47:29 -0400 |
| commit | fec0f0614c69dc7382fba367f8269479e2682058 (patch) | |
| tree | 68d8e4c0f7362ddc185b7811f68cf640d79b4869 /docs/narr/MyProject | |
| parent | c03dbcca24aeedfb688bf49b7ccfeef20f6f8298 (diff) | |
| download | pyramid-fec0f0614c69dc7382fba367f8269479e2682058.tar.gz pyramid-fec0f0614c69dc7382fba367f8269479e2682058.tar.bz2 pyramid-fec0f0614c69dc7382fba367f8269479e2682058.zip | |
convert narrative docs to Pyramid
Diffstat (limited to 'docs/narr/MyProject')
| -rw-r--r-- | docs/narr/MyProject/myproject/configure.zcml | 4 | ||||
| -rw-r--r-- | docs/narr/MyProject/myproject/templates/mytemplate.pt | 43 | ||||
| -rw-r--r-- | docs/narr/MyProject/setup.py | 8 |
3 files changed, 26 insertions, 29 deletions
diff --git a/docs/narr/MyProject/myproject/configure.zcml b/docs/narr/MyProject/myproject/configure.zcml index 95b7355b1..1d0b3e61c 100644 --- a/docs/narr/MyProject/myproject/configure.zcml +++ b/docs/narr/MyProject/myproject/configure.zcml @@ -1,6 +1,6 @@ -<configure xmlns="http://namespaces.repoze.org/bfg"> +<configure xmlns="http://pylonshq.com/pyramid"> - <include package="repoze.bfg.includes" /> + <include package="pyramid.includes" /> <view context=".models.MyModel" diff --git a/docs/narr/MyProject/myproject/templates/mytemplate.pt b/docs/narr/MyProject/myproject/templates/mytemplate.pt index 42cff1674..9178b5866 100644 --- a/docs/narr/MyProject/myproject/templates/mytemplate.pt +++ b/docs/narr/MyProject/myproject/templates/mytemplate.pt @@ -1,19 +1,17 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:tal="http://xml.zope.org/namespaces/tal"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>${project} Application</title> <meta name="keywords" content="python web application" /> -<meta name="description" content="repoze.bfg web application" /> -<link href="${request.application_url}/static/default.css" rel="stylesheet" - type="text/css" /> +<meta name="description" content="pyramid web application" /> +<link href="${request.application_url}/static/default.css" rel="stylesheet" type="text/css" /> </head> <body> <!-- start header --> <div id="logo"> - <h2><code>${project}</code>, a <code>repoze.bfg</code> application</h2> + <h2><code>${project}</code>, a <code>Pyramid</code> application</h2> </div> <div id="header"> <div id="menu"> @@ -28,7 +26,7 @@ <div class="post"> <h1 class="title">Welcome to <code>${project}</code>, an application generated by the <a - href="http://static.repoze.org/bfgdocs">repoze.bfg</a> web + href="http://pylonshq.com/pyramid">Pyramid</a> web application framework.</h1> </div> </div> @@ -37,50 +35,49 @@ <div id="sidebar"> <ul> <li id="search"> - <h2>Search<br/> <code>repoze.bfg</code> Documentation</h2> + <h2>Search<br/> <code>Pyramid</code> Documentation</h2> <form method="get" - action="http://static.repoze.org/bfgdocs/search.html"> + action="http://pylonshq.com/docs/pyramid/current/searchresults"> <fieldset> - <input type="text" id="q" name="q" value="" /> + <input type="text" id="q" name="text" value="" /> <input type="submit" id="x" value="Search" /> </fieldset> </form> </li> <li> - <h2><code>repoze.bfg</code> links</h2> + <h2><code>Pyramid</code> links</h2> <ul> <li><a - href="http://static.repoze.org/bfgdocs/#narrative-documentation" - >Narrative Documentation</a> + href="http://pylonshq.com/docs/pyramid/current/#narrative-documentation">Narrative + Documentation</a> </li> <li> <a - href="http://static.repoze.org/bfgdocs/#api-documentation">API + href="http://pylonshq.com/docs/pyramid/current/#api-documentation">API Documentation</a> </li> <li> <a - href="http://static.repoze.org/bfgdocs/#tutorials"> - Tutorials</a> + href="http://pylonshq.com/docs/pyramid/current/#tutorials">Tutorials</a> </li> <li> <a - href="http://static.repoze.org/bfgdocs/#change-history"> - Change History</a> + href="http://pylonshq.com/docs/pyramid/current/#change-history">Change + History</a> </li> <li> <a - href="http://static.repoze.org/bfgdocs/#sample-applications" - >Sample Applications</a> + href="http://pylonshq.com/docs/pyramid/current/#sample-applications">Sample + Applications</a> </li> <li> <a - href="http://static.repoze.org/bfgdocs/#support-and-development" - >Support and Development</a> + href="http://pylonshq.com/docs/pyramid/current/#support-and-development">Support + and Development</a> </li> <li> <a - href="irc://irc.freenode.net#repoze">IRC Channel</a> + href="irc://irc.freenode.net#pylons">IRC Channel</a> </li> </ul> </li> diff --git a/docs/narr/MyProject/setup.py b/docs/narr/MyProject/setup.py index 3ed044868..c827f8295 100644 --- a/docs/narr/MyProject/setup.py +++ b/docs/narr/MyProject/setup.py @@ -12,22 +12,22 @@ setup(name='MyProject', long_description=README + '\n\n' + CHANGES, classifiers=[ "Programming Language :: Python", - "Framework :: BFG", + "Framework :: Pylons", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: WSGI :: Application", ], author='', author_email='', url='', - keywords='web wsgi bfg', + keywords='web wsgi pylons pyramid bfg', packages=find_packages(), include_package_data=True, zip_safe=False, install_requires=[ - 'repoze.bfg', + 'pyramid', ], tests_require=[ - 'repoze.bfg', + 'pyramid', ], test_suite="myproject", entry_points = """\ |
