From b4c21eeebb8fee4dd2ab52038ad97e3ba06286fe Mon Sep 17 00:00:00 2001 From: Arijit Basu Date: Tue, 19 Feb 2019 11:46:17 +0530 Subject: doc update: firstapp: routes to root https://docs.pylonsproject.org/projects/pyramid/en/latest/narr/firstapp.html#adding-configuration --- docs/narr/firstapp.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'docs/narr') diff --git a/docs/narr/firstapp.rst b/docs/narr/firstapp.rst index 917482976..10fbc5bb4 100644 --- a/docs/narr/firstapp.rst +++ b/docs/narr/firstapp.rst @@ -170,8 +170,7 @@ Adding Configuration :lines: 12-13 The first line above calls the :meth:`pyramid.config.Configurator.add_route` -method, which registers a :term:`route` to match any URL path that begins with -``/hello/`` followed by a string. +method, which registers a :term:`route` to root (``/``) URL path. The second line registers the ``hello_world`` function as a :term:`view callable` and makes sure that it will be called when the ``hello`` route is -- cgit v1.2.3 From 05303500475186f5e8e70bb4be67dc202a0dd6f1 Mon Sep 17 00:00:00 2001 From: Arijit Basu Date: Tue, 19 Feb 2019 17:02:31 +0530 Subject: no change in case --- docs/narr/project.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/narr') diff --git a/docs/narr/project.rst b/docs/narr/project.rst index 14f0d083e..58bef5701 100644 --- a/docs/narr/project.rst +++ b/docs/narr/project.rst @@ -149,7 +149,7 @@ number of debugging settings. You can use this file to put your application into production. The ``myproject`` project directory contains an additional subdirectory named -``myproject`` (note the case difference) representing a Python :term:`package` +``myproject`` representing a Python :term:`package` which holds very simple :app:`Pyramid` sample code. This is where you'll edit your application's Python code and templates. -- cgit v1.2.3 From eeea366a2c5cb56fdc7e8bdb8eb098ea1eff3705 Mon Sep 17 00:00:00 2001 From: Steve Piercy Date: Tue, 19 Feb 2019 10:26:38 -0800 Subject: fix grammar --- docs/narr/firstapp.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/narr') diff --git a/docs/narr/firstapp.rst b/docs/narr/firstapp.rst index 10fbc5bb4..49d9b467f 100644 --- a/docs/narr/firstapp.rst +++ b/docs/narr/firstapp.rst @@ -170,7 +170,7 @@ Adding Configuration :lines: 12-13 The first line above calls the :meth:`pyramid.config.Configurator.add_route` -method, which registers a :term:`route` to root (``/``) URL path. +method, which registers a :term:`route` to the root (``/``) URL path. The second line registers the ``hello_world`` function as a :term:`view callable` and makes sure that it will be called when the ``hello`` route is -- cgit v1.2.3 From 143f72294a5c2ba27017660098c8f0afbf50324a Mon Sep 17 00:00:00 2001 From: Ben Date: Mon, 25 Mar 2019 15:13:51 -0700 Subject: Fixing typo in the description --- docs/narr/introduction.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/narr') diff --git a/docs/narr/introduction.rst b/docs/narr/introduction.rst index dada4e8bd..41a5638e3 100644 --- a/docs/narr/introduction.rst +++ b/docs/narr/introduction.rst @@ -47,7 +47,7 @@ In a world filled with web frameworks, why should you choose :app:`Pyramid`\ ? Modern ~~~~~~ -:app:`Pyramid` is fully compatible with Python 3. If you develop a :app:`Pyramid` application today, you can rest assured that you'll be able to use the most modern features of your favorite language. And in the years to come, you'll continue to bed working on a framework that is up-to-date and forward-looking. +:app:`Pyramid` is fully compatible with Python 3. If you develop a :app:`Pyramid` application today, you can rest assured that you'll be able to use the most modern features of your favorite language. And in the years to come, you'll continue to be working on a framework that is up-to-date and forward-looking. Tested ~~~~~~ -- cgit v1.2.3