Permalink
Browse files

use the right branch for github urls

  • Loading branch information...
1 parent f848148 commit 1ea8938a848bf46aaf0aa7c94c0db4ad6b199e77 @mcdonc mcdonc committed Nov 27, 2011
View
@@ -522,8 +522,8 @@ The API that must be implemented by a class that provides
The default context URL generator is available for perusal as the class
:class:`pyramid.traversal.TraversalContextURL` in the `traversal module
-<http://github.com/Pylons/pyramid/blob/master/pyramid/traversal.py>`_ of the
-:term:`Pylons` GitHub Pyramid repository.
+<http://github.com/Pylons/pyramid/blob/1.0-branch/pyramid/traversal.py>`_ of
+the :term:`Pylons` GitHub Pyramid repository.
.. index::
single: view mapper
@@ -11,8 +11,8 @@ facilities for *authorization* and *authentication*. We'll make use of both
features to provide security to our application.
The source code for this tutorial stage can be browsed via
-`http://github.com/Pylons/pyramid/tree/master/docs/tutorials/wiki/src/authorization/
-<http://github.com/Pylons/pyramid/tree/master/docs/tutorials/wiki/src/authorization/>`_.
+`http://github.com/Pylons/pyramid/tree/1.0-branch/docs/tutorials/wiki/src/authorization/
+<http://github.com/Pylons/pyramid/tree/1.0-branch/docs/tutorials/wiki/src/authorization/>`_.
Configuring a ``pyramid`` Authentication Policy
@@ -7,8 +7,8 @@ they provide a good orientation for the high-level patterns common to most
:term:`traversal` -based :app:`Pyramid` (and :term:`ZODB` based) projects.
The source code for this tutorial stage can be browsed via
-`http://github.com/Pylons/pyramid/tree/master/docs/tutorials/wiki/src/basiclayout/
-<http://github.com/Pylons/pyramid/tree/master/docs/tutorials/wiki/src/basiclayout/>`_.
+`http://github.com/Pylons/pyramid/tree/1.0-branch/docs/tutorials/wiki/src/basiclayout/
+<http://github.com/Pylons/pyramid/tree/1.0-branch/docs/tutorials/wiki/src/basiclayout/>`_.
App Startup with ``__init__.py``
--------------------------------
@@ -14,8 +14,8 @@ single instance of the "Wiki" class will serve as a container for "Page"
objects, which will be instances of the "Page" class.
The source code for this tutorial stage can be browsed via
-`http://github.com/Pylons/pyramid/tree/master/docs/tutorials/wiki/src/models/
-<http://github.com/Pylons/pyramid/tree/master/docs/tutorials/wiki/src/models/>`_.
+`http://github.com/Pylons/pyramid/tree/1.0-branch/docs/tutorials/wiki/src/models/
+<http://github.com/Pylons/pyramid/tree/1.0-branch/docs/tutorials/wiki/src/models/>`_.
Deleting the Database
---------------------
@@ -39,8 +39,8 @@ We're going to define several :term:`view callable` functions then wire them
into :app:`Pyramid` using some :term:`view configuration`.
The source code for this tutorial stage can be browsed via
-`http://github.com/Pylons/pyramid/tree/master/docs/tutorials/wiki/src/views/
-<http://github.com/Pylons/pyramid/tree/master/docs/tutorials/wiki/src/views/>`_.
+`http://github.com/Pylons/pyramid/tree/1.0-branch/docs/tutorials/wiki/src/views/
+<http://github.com/Pylons/pyramid/tree/1.0-branch/docs/tutorials/wiki/src/views/>`_.
Adding View Functions
=====================
@@ -266,7 +266,7 @@ Our templates name a single static asset named ``pylons.css``. We don't need
to create this file within our package's ``static`` directory because it was
provided at the time we created the project. This file is a little too long to
replicate within the body of this guide, however it is available `online
-<http://github.com/Pylons/pyramid/blob/master/docs/tutorials/wiki/src/views/tutorial/static/pylons.css>`_.
+<http://github.com/Pylons/pyramid/blob/1.0-branch/docs/tutorials/wiki/src/views/tutorial/static/pylons.css>`_.
This CSS file will be accessed via
e.g. ``http://localhost:6543/static/pylons.css`` by virtue of the call to
@@ -11,8 +11,8 @@ authentication.
For cut and paste purposes, the source code for all stages of this
tutorial can be browsed at
-`http://github.com/Pylons/pyramid/tree/master/docs/tutorials/wiki
-<http://github.com/Pylons/pyramid/tree/master/docs/tutorials/wiki>`_.
+`http://github.com/Pylons/pyramid/tree/1.0-branch/docs/tutorials/wiki
+<http://github.com/Pylons/pyramid/tree/1.0-branch/docs/tutorials/wiki>`_.
.. toctree::
:maxdepth: 2
@@ -14,8 +14,8 @@ continue allowing anyone with access to the server to view pages.
to our application.
The source code for this tutorial stage can be browsed at
-`http://github.com/Pylons/pyramid/tree/master/docs/tutorials/wiki2/src/authorization/
-<http://github.com/Pylons/pyramid/tree/master/docs/tutorials/wiki2/src/authorization/>`_.
+`http://github.com/Pylons/pyramid/tree/1.0-branch/docs/tutorials/wiki2/src/authorization/
+<http://github.com/Pylons/pyramid/tree/1.0-branch/docs/tutorials/wiki2/src/authorization/>`_.
Changing ``__init__.py`` For Authorization
-------------------------------------------
@@ -8,8 +8,8 @@ patterns common to most :term:`url dispatch` -based :app:`Pyramid`
projects.
The source code for this tutorial stage can be browsed at
-`http://github.com/Pylons/pyramid/tree/master/docs/tutorials/wiki2/src/basiclayout/
-<http://github.com/Pylons/pyramid/tree/master/docs/tutorials/wiki2/src/basiclayout/>`_.
+`http://github.com/Pylons/pyramid/tree/1.0-branch/docs/tutorials/wiki2/src/basiclayout/
+<http://github.com/Pylons/pyramid/tree/1.0-branch/docs/tutorials/wiki2/src/basiclayout/>`_.
App Startup with ``__init__.py``
--------------------------------
@@ -7,8 +7,8 @@ to define a :term:`domain model` constructor representing a wiki page. We'll
do this inside our ``models.py`` file.
The source code for this tutorial stage can be browsed at
-`http://github.com/Pylons/pyramid/tree/master/docs/tutorials/wiki2/src/models/
-<http://github.com/Pylons/pyramid/tree/master/docs/tutorials/wiki2/src/models/>`_.
+`http://github.com/Pylons/pyramid/tree/1.0-branch/docs/tutorials/wiki2/src/models/
+<http://github.com/Pylons/pyramid/tree/1.0-branch/docs/tutorials/wiki2/src/models/>`_.
Making Edits to ``models.py``
-----------------------------
@@ -30,8 +30,8 @@ matchdict dictionary attached to the request passed to the view would have a
``one`` key with the value ``foo`` and a ``two`` key with the value ``bar``.
The source code for this tutorial stage can be browsed at
-`http://github.com/Pylons/pyramid/tree/master/docs/tutorials/wiki2/src/views/
-<http://github.com/Pylons/pyramid/tree/master/docs/tutorials/wiki2/src/views/>`_.
+`http://github.com/Pylons/pyramid/tree/1.0-branch/docs/tutorials/wiki2/src/views/
+<http://github.com/Pylons/pyramid/tree/1.0-branch/docs/tutorials/wiki2/src/views/>`_.
Declaring Dependencies in Our ``setup.py`` File
===============================================
@@ -248,7 +248,7 @@ Our templates name a single static asset named ``pylons.css``. We don't need
to create this file within our package's ``static`` directory because it was
provided at the time we created the project. This file is a little too long to
replicate within the body of this guide, however it is available `online
-<http://github.com/Pylons/pyramid/blob/master/docs/tutorials/wiki2/src/views/tutorial/static/pylons.css>`_.
+<http://github.com/Pylons/pyramid/blob/1.0-branch/docs/tutorials/wiki2/src/views/tutorial/static/pylons.css>`_.
This CSS file will be accessed via
e.g. ``http://localhost:6543/static/pylons.css`` by virtue of the call to
@@ -11,8 +11,8 @@ basic Wiki application with authentication.
For cut and paste purposes, the source code for all stages of this
tutorial can be browsed at
-`http://github.com/Pylons/pyramid/tree/master/docs/tutorials/wiki2/
-<http://github.com/Pylons/pyramid/tree/master/docs/tutorials/wiki2/>`_.
+`http://github.com/Pylons/pyramid/tree/1.0-branch/docs/tutorials/wiki2/
+<http://github.com/Pylons/pyramid/tree/1.0-branch/docs/tutorials/wiki2/>`_.
.. toctree::
:maxdepth: 2

0 comments on commit 1ea8938

Please sign in to comment.