File tree Expand file tree Collapse file tree 6 files changed +19
-6
lines changed
contributing/documentation Expand file tree Collapse file tree 6 files changed +19
-6
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,8 @@ while you're reading the Symfony documentation.
3939and you'll be redirected to GitHub:
4040
4141.. image :: /_images/contributing/docs-github-edit-page.png
42+ :align: center
43+ :class: with-browser
4244
4345**Step 2. ** Edit the contents, describe your changes and click on the
4446**Propose file change ** button.
@@ -48,6 +50,8 @@ and you'll be redirected to GitHub:
4850also display a preview of your changes:
4951
5052.. image :: /_images/contributing/docs-github-create-pr.png
53+ :align: center
54+ :class: with-browser
5155
5256If everything is correct, click on the **Create pull request ** button.
5357
Original file line number Diff line number Diff line change @@ -15,13 +15,17 @@ with lots of debug information to help you quickly discover the root problem:
1515
1616.. image :: /_images/controller/error_pages/exceptions-in-dev-environment.png
1717 :alt: A typical exception page in the development environment
18+ :align: center
19+ :class: with-browser
1820
1921Since these pages contain a lot of sensitive internal information, Symfony won't
2022display them in the production environment. Instead, it'll show a simple and
2123generic **error page **:
2224
2325.. image :: /_images/controller/error_pages/errors-in-prod-environment.png
2426 :alt: A typical error page in the production environment
27+ :align: center
28+ :class: with-browser
2529
2630Error pages for the production environment can be customized in different ways
2731depending on your needs:
@@ -273,19 +277,19 @@ will be passed two parameters:
273277Instead of creating a new exception controller from scratch you can, of course,
274278also extend the default :class: `Symfony\\ Bundle\\ TwigBundle\\ Controller\\ ExceptionController `.
275279In that case, you might want to override one or both of the ``showAction() `` and
276- ``findTemplate() `` methods. The latter one locates the template to be used.
280+ ``findTemplate() `` methods. The latter one locates the template to be used.
277281
278282.. note ::
279-
283+
280284 In case of extending the
281285 :class: `Symfony\\ Bundle\\ TwigBundle\\ Controller\\ ExceptionController ` you
282286 may configure a service to pass the Twig environment and the ``debug `` flag
283- to the constructor.
284-
287+ to the constructor.
288+
285289 .. configuration-block ::
286-
290+
287291 .. code-block :: yaml
288-
292+
289293 # app/config/services.yml
290294 services :
291295 app.exception_controller :
Original file line number Diff line number Diff line change @@ -175,13 +175,15 @@ developer's best friend!
175175
176176.. image :: /_images/quick_tour/web_debug_toolbar.png
177177 :align: center
178+ :class: with-browser
178179
179180But what you see initially is only the tip of the iceberg; click on any
180181of the bar sections to open the profiler and get much more detailed information
181182about the request, the query parameters, security details and database queries:
182183
183184.. image :: /_images/quick_tour/profiler.png
184185 :align: center
186+ : class: with-browser
185187
186188This tool provides so much internal information about your application that
187189you may be worried about your visitors accessing sensible information. Symfony
Original file line number Diff line number Diff line change @@ -137,6 +137,7 @@ Welcome Page of Symfony:
137137.. image :: /_images/quick_tour/welcome.png
138138 :align: center
139139 :alt: Symfony Welcome Page
140+ :class: with-browser
140141
141142If you see a blank page or an error page instead of the Welcome Page, there is
142143a directory permission misconfiguration. The solution to this problem is
Original file line number Diff line number Diff line change @@ -41,6 +41,8 @@ using a deprecated feature. When visiting your application in the
4141in your browser, these notices are shown in the web dev toolbar:
4242
4343.. image :: /_images/install/deprecations-in-profiler.png
44+ :align: center
45+ :class: with-browser
4446
4547Of course ultimately, you want to stop using the deprecated functionality.
4648Sometimes, this is easy: the warning might tell you exactly what to change.
You can’t perform that action at this time.
0 commit comments