We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
pcreate -s shows wrong link to tutorials
after a 

```
pcreate -s alchemy scaffold-alchemy
```

I see a link to tutorials, but this link is a 404: 

```
Tutorials: http://docs.pylonsproject.org/projects/pyramid_tutorials
```


--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `pyramid/scaffolds/__init__.py`
Content:
```
1 import binascii
2 import os
3 from textwrap import dedent
4 
5 from pyramid.compat import native_
6 
7 from pyramid.scaffolds.template import Template # API
8 
9 class PyramidTemplate(Template):
10     """
11      A class that can be used as a base class for Pyramid scaffolding
12      templates.
13     """
14     def pre(self, command, output_dir, vars):
15         """ Overrides :meth:`pyramid.scaffolds.template.Template.pre`, adding
16         several variables to the default variables list (including
17         ``random_string``, and ``package_logger``).  It also prevents common
18         misnamings (such as naming a package "site" or naming a package
19         logger "root".
20         """
21         vars['random_string'] = native_(binascii.hexlify(os.urandom(20)))
22         package_logger = vars['package']
23         if package_logger == 'root':
24             # Rename the app logger in the rare case a project is named 'root'
25             package_logger = 'app'
26         vars['package_logger'] = package_logger
27         return Template.pre(self, command, output_dir, vars)
28 
29     def post(self, command, output_dir, vars): # pragma: no cover
30         """ Overrides :meth:`pyramid.scaffolds.template.Template.post`, to
31         print "Welcome to Pyramid.  Sorry for the convenience." after a
32         successful scaffolding rendering."""
33 
34         separator = "=" * 79
35         msg = dedent(
36             """
37             %(separator)s
38             Tutorials: http://docs.pylonsproject.org/projects/pyramid_tutorials
39             Documentation: http://docs.pylonsproject.org/projects/pyramid
40 
41             Twitter (tips & updates): http://twitter.com/pylons
42             Mailing List: http://groups.google.com/group/pylons-discuss
43 
44             Welcome to Pyramid.  Sorry for the convenience.
45             %(separator)s
46         """ % {'separator': separator})
47 
48         self.out(msg)
49         return Template.post(self, command, output_dir, vars)
50 
51     def out(self, msg): # pragma: no cover (replaceable testing hook)
52         print(msg)
53 
54 class StarterProjectTemplate(PyramidTemplate):
55     _template_dir = 'starter'
56     summary = 'Pyramid starter project'
57 
58 class ZODBProjectTemplate(PyramidTemplate):
59     _template_dir = 'zodb'
60     summary = 'Pyramid ZODB project using traversal'
61 
62 class AlchemyProjectTemplate(PyramidTemplate):
63     _template_dir = 'alchemy'
64     summary = 'Pyramid SQLAlchemy project using url dispatch'
65
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/pyramid/scaffolds/__init__.py b/pyramid/scaffolds/__init__.py
--- a/pyramid/scaffolds/__init__.py
+++ b/pyramid/scaffolds/__init__.py
@@ -35,11 +35,10 @@
         msg = dedent(
             """
             %(separator)s
-            Tutorials: http://docs.pylonsproject.org/projects/pyramid_tutorials
-            Documentation: http://docs.pylonsproject.org/projects/pyramid
-
-            Twitter (tips & updates): http://twitter.com/pylons
-            Mailing List: http://groups.google.com/group/pylons-discuss
+            Tutorials:     http://docs.pylonsproject.org/projects/pyramid_tutorials/en/latest/
+            Documentation: http://docs.pylonsproject.org/projects/pyramid/en/latest/
+            Twitter:       https://twitter.com/trypyramid
+            Mailing List:  https://groups.google.com/forum/#!forum/pylons-discuss
 
             Welcome to Pyramid.  Sorry for the convenience.
             %(separator)s
@@ -53,12 +52,13 @@
 
 class StarterProjectTemplate(PyramidTemplate):
     _template_dir = 'starter'
-    summary = 'Pyramid starter project'
+    summary = 'Pyramid starter project using URL dispatch and Chameleon'
 
 class ZODBProjectTemplate(PyramidTemplate):
     _template_dir = 'zodb'
-    summary = 'Pyramid ZODB project using traversal'
+    summary = 'Pyramid project using ZODB, traversal, and Chameleon'
 
 class AlchemyProjectTemplate(PyramidTemplate):
     _template_dir = 'alchemy'
-    summary = 'Pyramid SQLAlchemy project using url dispatch'
+    summary = 'Pyramid project using SQLAlchemy, SQLite, URL dispatch, and'
+    ' Chameleon'

{"golden_diff": "diff --git a/pyramid/scaffolds/__init__.py b/pyramid/scaffolds/__init__.py\n--- a/pyramid/scaffolds/__init__.py\n+++ b/pyramid/scaffolds/__init__.py\n@@ -35,11 +35,10 @@\n         msg = dedent(\n             \"\"\"\n             %(separator)s\n-            Tutorials: http://docs.pylonsproject.org/projects/pyramid_tutorials\n-            Documentation: http://docs.pylonsproject.org/projects/pyramid\n-\n-            Twitter (tips & updates): http://twitter.com/pylons\n-            Mailing List: http://groups.google.com/group/pylons-discuss\n+            Tutorials:     http://docs.pylonsproject.org/projects/pyramid_tutorials/en/latest/\n+            Documentation: http://docs.pylonsproject.org/projects/pyramid/en/latest/\n+            Twitter:       https://twitter.com/trypyramid\n+            Mailing List:  https://groups.google.com/forum/#!forum/pylons-discuss\n \n             Welcome to Pyramid.  Sorry for the convenience.\n             %(separator)s\n@@ -53,12 +52,13 @@\n \n class StarterProjectTemplate(PyramidTemplate):\n     _template_dir = 'starter'\n-    summary = 'Pyramid starter project'\n+    summary = 'Pyramid starter project using URL dispatch and Chameleon'\n \n class ZODBProjectTemplate(PyramidTemplate):\n     _template_dir = 'zodb'\n-    summary = 'Pyramid ZODB project using traversal'\n+    summary = 'Pyramid project using ZODB, traversal, and Chameleon'\n \n class AlchemyProjectTemplate(PyramidTemplate):\n     _template_dir = 'alchemy'\n-    summary = 'Pyramid SQLAlchemy project using url dispatch'\n+    summary = 'Pyramid project using SQLAlchemy, SQLite, URL dispatch, and'\n+    ' Chameleon'\n", "issue": "pcreate -s shows wrong link to tutorials\nafter a \n\n```\npcreate -s alchemy scaffold-alchemy\n```\n\nI see a link to tutorials, but this link is a 404: \n\n```\nTutorials: http://docs.pylonsproject.org/projects/pyramid_tutorials\n```\n\n", "before_files": [{"content": "import binascii\nimport os\nfrom textwrap import dedent\n\nfrom pyramid.compat import native_\n\nfrom pyramid.scaffolds.template import Template # API\n\nclass PyramidTemplate(Template):\n    \"\"\"\n     A class that can be used as a base class for Pyramid scaffolding\n     templates.\n    \"\"\"\n    def pre(self, command, output_dir, vars):\n        \"\"\" Overrides :meth:`pyramid.scaffolds.template.Template.pre`, adding\n        several variables to the default variables list (including\n        ``random_string``, and ``package_logger``).  It also prevents common\n        misnamings (such as naming a package \"site\" or naming a package\n        logger \"root\".\n        \"\"\"\n        vars['random_string'] = native_(binascii.hexlify(os.urandom(20)))\n        package_logger = vars['package']\n        if package_logger == 'root':\n            # Rename the app logger in the rare case a project is named 'root'\n            package_logger = 'app'\n        vars['package_logger'] = package_logger\n        return Template.pre(self, command, output_dir, vars)\n\n    def post(self, command, output_dir, vars): # pragma: no cover\n        \"\"\" Overrides :meth:`pyramid.scaffolds.template.Template.post`, to\n        print \"Welcome to Pyramid.  Sorry for the convenience.\" after a\n        successful scaffolding rendering.\"\"\"\n\n        separator = \"=\" * 79\n        msg = dedent(\n            \"\"\"\n            %(separator)s\n            Tutorials: http://docs.pylonsproject.org/projects/pyramid_tutorials\n            Documentation: http://docs.pylonsproject.org/projects/pyramid\n\n            Twitter (tips & updates): http://twitter.com/pylons\n            Mailing List: http://groups.google.com/group/pylons-discuss\n\n            Welcome to Pyramid.  Sorry for the convenience.\n            %(separator)s\n        \"\"\" % {'separator': separator})\n\n        self.out(msg)\n        return Template.post(self, command, output_dir, vars)\n\n    def out(self, msg): # pragma: no cover (replaceable testing hook)\n        print(msg)\n\nclass StarterProjectTemplate(PyramidTemplate):\n    _template_dir = 'starter'\n    summary = 'Pyramid starter project'\n\nclass ZODBProjectTemplate(PyramidTemplate):\n    _template_dir = 'zodb'\n    summary = 'Pyramid ZODB project using traversal'\n\nclass AlchemyProjectTemplate(PyramidTemplate):\n    _template_dir = 'alchemy'\n    summary = 'Pyramid SQLAlchemy project using url dispatch'\n", "path": "pyramid/scaffolds/__init__.py"}], "after_files": [{"content": "import binascii\nimport os\nfrom textwrap import dedent\n\nfrom pyramid.compat import native_\n\nfrom pyramid.scaffolds.template import Template # API\n\nclass PyramidTemplate(Template):\n    \"\"\"\n     A class that can be used as a base class for Pyramid scaffolding\n     templates.\n    \"\"\"\n    def pre(self, command, output_dir, vars):\n        \"\"\" Overrides :meth:`pyramid.scaffolds.template.Template.pre`, adding\n        several variables to the default variables list (including\n        ``random_string``, and ``package_logger``).  It also prevents common\n        misnamings (such as naming a package \"site\" or naming a package\n        logger \"root\".\n        \"\"\"\n        vars['random_string'] = native_(binascii.hexlify(os.urandom(20)))\n        package_logger = vars['package']\n        if package_logger == 'root':\n            # Rename the app logger in the rare case a project is named 'root'\n            package_logger = 'app'\n        vars['package_logger'] = package_logger\n        return Template.pre(self, command, output_dir, vars)\n\n    def post(self, command, output_dir, vars): # pragma: no cover\n        \"\"\" Overrides :meth:`pyramid.scaffolds.template.Template.post`, to\n        print \"Welcome to Pyramid.  Sorry for the convenience.\" after a\n        successful scaffolding rendering.\"\"\"\n\n        separator = \"=\" * 79\n        msg = dedent(\n            \"\"\"\n            %(separator)s\n            Tutorials:     http://docs.pylonsproject.org/projects/pyramid_tutorials/en/latest/\n            Documentation: http://docs.pylonsproject.org/projects/pyramid/en/latest/\n            Twitter:       https://twitter.com/trypyramid\n            Mailing List:  https://groups.google.com/forum/#!forum/pylons-discuss\n\n            Welcome to Pyramid.  Sorry for the convenience.\n            %(separator)s\n        \"\"\" % {'separator': separator})\n\n        self.out(msg)\n        return Template.post(self, command, output_dir, vars)\n\n    def out(self, msg): # pragma: no cover (replaceable testing hook)\n        print(msg)\n\nclass StarterProjectTemplate(PyramidTemplate):\n    _template_dir = 'starter'\n    summary = 'Pyramid starter project using URL dispatch and Chameleon'\n\nclass ZODBProjectTemplate(PyramidTemplate):\n    _template_dir = 'zodb'\n    summary = 'Pyramid project using ZODB, traversal, and Chameleon'\n\nclass AlchemyProjectTemplate(PyramidTemplate):\n    _template_dir = 'alchemy'\n    summary = 'Pyramid project using SQLAlchemy, SQLite, URL dispatch, and'\n    ' Chameleon'\n", "path": "pyramid/scaffolds/__init__.py"}]}