Commits

percious  committed 98a0b15

fix docs for 2.0

  • Participants
  • Parent commits 554daaf

Comments (0)

Files changed (14)

File docs/_static/tg.css

-/* @override http://www.turbogears.org/2.0/docs/_static/tg.css */
+/* @override http://www.turbogears.org/2.1/docs/_static/tg.css */
 
 /**
  * Sphinx Doc Design

File docs/_templates/layout.html

   <ul id="menu">
     <li><a href="http://turbogears.org/2.0/" title="Learn more about TurboGears 2.">About 2.0</a></li>
     <li><a href="http://turbogears.org/about/" title="Learn more about TurboGears 1.">About 1.1</a></li>
-    <li><a href="http://turbogears.org/2.0/docs/" title="Go to the TurboGears documentation site.">Documentation</a></li>
-    <li><a href="http://turbogears.org/2.0/docs/main/DownloadInstall.html" title="Read the download &amp; installation instructions for TurboGears.">Install</a></li>
-    <li><a href="http://turbogears.org/2.0/docs/main/Contributing.html" title="Want to contribute or try a development snapshot?">Development</a></li>
+    <li><a href="http://turbogears.org/2.1/docs/" title="Go to the TurboGears documentation site.">Documentation</a></li>
+    <li><a href="http://turbogears.org/2.1/docs/main/DownloadInstall.html" title="Read the download &amp; installation instructions for TurboGears.">Install</a></li>
+    <li><a href="http://turbogears.org/2.1/docs/main/Contributing.html" title="Want to contribute or try a development snapshot?">Development</a></li>
     <li><a href="http://turbogears.org/news.html" title="Read what's happing in the TurboGears world.">News</a></li>
   </ul>
   

File docs/main/DatabaseMigration.rst

 TurboGears project should be sent to the `TurboGears mailing list`_.
 
 .. _`sqlalchemy-migrate documentation`: http://code.google.com/p/sqlalchemy-migrate/w/list
-.. _`TurboGears SQLAlchemy documentation`: http://turbogears.org/2.0/docs/main/SQLAlchemy.html
+.. _`TurboGears SQLAlchemy documentation`: http://turbogears.org/2.1/docs/main/SQLAlchemy.html
 .. _`TurboGears mailing list`: http://groups.google.com/group/turbogears

File docs/main/Deployment/DeployWithAnEgg.rst

         version=0.1,
         zip_safe=False,
         install_requires = [
-            "TurboGears >= 2.0",
+            "TurboGears >= 2.1",
             "FooBar"
         ],
         ...
 
 If you need a specific version of the package you can use comparison operators
 against the version name. You can see that happening in the above example, as
-this project depends on "TurboGears version 2.0 or greater". See the setuptools_
+this project depends on "TurboGears version 2.1 or greater". See the setuptools_
 documentation for more information on declaring dependencies.
 
 

File docs/main/Pagination/index.rst

 or download the zipped ToscaWidgetsFormsExample_.
 
 .. _ToscaWidgetsFormsExample: ../../_downloads/ToscaSample-0.2dev.zip
-.. _ToscaSample: http://www.turbogears.org/2.0/docs/main/ToscaWidgets/forms.html
+.. _ToscaSample: http://www.turbogears.org/2.1/docs/main/ToscaWidgets/forms.html
 
 Populating The Database
 ^^^^^^^^^^^^^^^^^^^^^^^

File docs/main/TGandPyAMF.rst

 -----------------
 
 If you haven't installed TG2, you'll need to do that first (see
-:ref:`downloadinstall`).  You'll need TurboGears version 2.0 or higher
+:ref:`downloadinstall`).  You'll need TurboGears version 2.1 or higher
 for this to work.  All released versions of TG2 should work, but early
 SVN versions may need to be updated.  Once you've got an up-to-date
 version of TG2, you'll need to install PyAMF, which you can do by::

File docs/main/Wiki20/NOTES.txt

 output of quickstart, looks more like...
 -----------------
 Selected and implied templates:
-  tg.devtools#turbogears2  TurboGears 2.0 Standard Quickstart Template
+  tg.devtools#turbogears2  TurboGears 2.1 Standard Quickstart Template
 
 ...etc...
 

File docs/main/Wiki20/wiki20.rst

 Now ``paster`` will spit out a bunch of stuff::
 
   Selected and implied templates:
-    tg.devtools#turbogears2  TurboGears 2.0 Standard Quickstart Template
+    tg.devtools#turbogears2  TurboGears 2.1 Standard Quickstart Template
 
   ...etc...
 

File docs/main/explorequickstart.rst

 
     <head>
       <meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/>
-      <title>Welcome to TurboGears 2.0, standing on the
+      <title>Welcome to TurboGears 2.1, standing on the
       shoulders of giants, since 2007</title>
     </head>
 

File docs/misc.rst

 .. todo:: Difficulty: Medium. Document @restrict decorator, restricts request types that a given method will respond to
 
 .. todo:: Difficulty: Medium. incorporate custom routes docs from here http://simplestation.com/locomotion/routes-in-turbogears2/
-          percious: There is a better way of doing this by overriding _dispatch in 2.0
+          percious: There is a better way of doing this by overriding _dispatch in 2.1
           so I would wait until I re-write RoutedController with _dispatch before documenting this
 
 .. todo:: Difficulty: Hard. RestController requires that all data come in as a key/value pair, can't just get raw POST body. 
 Installation
 ---------------
 
-.. todo:: Difficulty: Medium. http://turbogears.org/2.0/docs/main/DownloadInstall.html references 
+.. todo:: Difficulty: Medium. http://turbogears.org/2.1/docs/main/DownloadInstall.html references 
           ttp://www.turbogears.org/2.0/downloads/current/tg2-bootstrap.py and this needs to be updated. 
           Or does it? request from percious, the code to generate the installer currently has 
           tg.devtools/scripts/_installer.py and it's fixed at 2.0 only update needed is to hg

File docs/project_code/wiki_root/wiki20/templates/about.html

 
 <head>
   <meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/>
-  <title>Learning TurboGears 2.0: Quick guide to the Quickstart pages.</title>
+  <title>Learning TurboGears 2.1: Quick guide to the Quickstart pages.</title>
 </head>
 
 <body>

File docs/project_code/wiki_root/wiki20/templates/index.html

 
 <head>
   <meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/>
-  <title>Welcome to TurboGears 2.0, standing on the 
+  <title>Welcome to TurboGears 2.1, standing on the 
   shoulders of giants, since 2007</title>
 </head>
 

File docs/project_code/wiki_root/wiki20/templates/sidebars.html

           <span py:when="page=='index'"><a href="/about">About this page</a> A quick guide to this TG2 site </span>
           <span py:otherwise=""><a href="/">Home</a> Back to your Quickstart Home page </span>
         </li>
-        <li><a href="http://www.turbogears.org/2.0/docs/">TG2 Documents</a> - Read everything in the Getting Started section</li>
+        <li><a href="http://www.turbogears.org/2.1/docs/">TG2 Documents</a> - Read everything in the Getting Started section</li>
         <li><a href="http://docs.turbogears.org/1.0">TG1 docs</a> (still useful, although a lot has changed for TG2) </li>
         <li><a href="http://groups.google.com/group/turbogears"> Join the TG Mail List</a> for general TG use/topics  </li>
       </ul>

File docs/todo.rst

 From Admin Through Creating Your Own Widgets
 --------------------------------------------
 
-* http://turbogears.org/2.0/docs/main/Extensions/Admin/index.html
-* http://turbogears.org/2.0/docs/main/Extensions/Crud/index.html
-* http://turbogears.org/2.0/docs/main/RestControllers.html?highlight=moviedemo
-* http://turbogears.org/2.0/docs/main/ToscaWidgets/forms.html
+* http://turbogears.org/2.1/docs/main/Extensions/Admin/index.html
+* http://turbogears.org/2.1/docs/main/Extensions/Crud/index.html
+* http://turbogears.org/2.1/docs/main/RestControllers.html?highlight=moviedemo
+* http://turbogears.org/2.1/docs/main/ToscaWidgets/forms.html
 * http://www.sprox.org/tutorials/table.html
 * http://www.sprox.org/tutorials/form.html
 * http://code.google.com/p/pythontutorials/source/browse/docs/twtut/ajax_tutorial.rst