From b6fc14c392e271873f90e400ae15287efd2fbf4a Mon Sep 17 00:00:00 2001 From: WouterJ Date: Tue, 12 Jul 2016 20:33:13 +0200 Subject: [PATCH] Move images to _images and group by topic --- .../components/console/debug_formatter.png | Bin .../console/process-helper-debug.png | Bin .../console/process-helper-error-debug.png | Bin .../console/process-helper-verbose.png | Bin .../components/console/progress.png | Bin .../components/console/progressbar.gif | Bin .../components/console/table.png | Bin .../components/form/general_flow.png | Bin .../components/form/set_data_flow.png | Bin .../components/form/submission_flow.png | Bin .../components/http_kernel/01-workflow.png | Bin .../http_kernel/02-kernel-request.png | Bin .../03-kernel-request-response.png | Bin .../http_kernel/04-resolve-controller.png | Bin .../http_kernel/06-kernel-controller.png | Bin .../http_kernel/07-controller-arguments.png | Bin .../http_kernel/08-call-controller.png | Bin .../09-controller-returns-response.png | Bin .../components/http_kernel/10-kernel-view.png | Bin .../http_kernel/11-kernel-exception.png | Bin .../http_kernel/request-response-flow.png | Bin .../components/http_kernel/sub-request.png | Bin .../components/phpunit_bridge/report.png | Bin .../serializer/serializer_workflow.png | Bin .../components/var_dumper/01-simple.png | Bin .../var_dumper/02-multi-line-str.png | Bin .../components/var_dumper/03-object.png | Bin .../var_dumper/04-dynamic-property.png | Bin .../components/var_dumper/05-soft-ref.png | Bin .../components/var_dumper/06-constants.png | Bin .../components/var_dumper/07-hard-ref.png | Bin .../var_dumper/08-virtual-property.png | Bin .../components/var_dumper/09-cut.png | Bin .../contributing/docs-github-create-pr.png | Bin .../contributing/docs-github-edit-page.png | Bin .../docs-pull-request-change-base.png | Bin .../docs-pull-request-platformsh.png | Bin .../contributing/release-process.jpg | Bin .../errors-in-prod-environment.png | Bin .../exceptions-in-dev-environment.png | Bin .../deployment/azure-website/step-01.png | Bin .../deployment/azure-website/step-02.png | Bin .../deployment/azure-website/step-03.png | Bin .../deployment/azure-website/step-04.png | Bin .../deployment/azure-website/step-05.png | Bin .../deployment/azure-website/step-06.png | Bin .../deployment/azure-website/step-07.png | Bin .../deployment/azure-website/step-08.png | Bin .../deployment/azure-website/step-09.png | Bin .../deployment/azure-website/step-10.png | Bin .../deployment/azure-website/step-11.png | Bin .../deployment/azure-website/step-12.png | Bin .../deployment/azure-website/step-13.png | Bin .../deployment/azure-website/step-14.png | Bin .../deployment/azure-website/step-15.png | Bin .../deployment/azure-website/step-16.png | Bin .../deployment/azure-website/step-17.png | Bin .../deployment/azure-website/step-18.png | Bin .../docs-pull-request-change-base.png | Bin .../doctrine/mapping_relations.png | Bin .../doctrine/mapping_relations_proxy.png | Bin .../doctrine/mapping_single_entity.png | Bin .../doctrine/web_debug_toolbar.png | Bin .../form/data-transformer-types.png | Bin .../form/simple-form-2.png | Bin .../form/simple-form.png | Bin .../http/xkcd-full.png | Bin .../http/xkcd-request.png | Bin .../install}/deprecations-in-profiler.png | Bin .../quick_tour/hello_fabien.png | Bin {images => _images}/quick_tour/profiler.png | Bin .../quick_tour/web_debug_toolbar.png | Bin {images => _images}/quick_tour/welcome.png | Bin .../reference/form/choice-example1.png | Bin .../reference/form/choice-example2.png | Bin .../reference/form/choice-example3.png | Bin .../reference/form/choice-example4.png | Bin .../reference/form/choice-example5.png | Bin {images => _images}/release-process.jpg | Bin {images => _images}/request-flow.png | Bin .../security/anonymous_wdt.png | Bin .../security/http_basic_popup.png | Bin .../security}/symfony_loggedin_wdt.png | Bin .../book => _images}/translation/debug_1.png | Bin .../book => _images}/translation/debug_2.png | Bin .../book => _images}/translation/debug_3.png | Bin .../book => _images}/translation/debug_4.png | Bin .../console/helpers/debug_formatter.rst | 2 +- components/console/helpers/processhelper.rst | 6 +-- components/console/helpers/progressbar.rst | 2 +- components/console/helpers/progresshelper.rst | 2 +- components/console/helpers/tablehelper.rst | 2 +- components/form.rst | 2 +- components/form/form_events.rst | 6 +-- components/http_kernel.rst | 24 ++++++------ components/phpunit_bridge.rst | 2 +- components/serializer.rst | 2 +- components/var_dumper.rst | 18 ++++----- contributing/community/releases.rst | 2 +- contributing/documentation/overview.rst | 8 ++-- controller.rst | 2 +- controller/error_pages.rst | 4 +- deployment/azure-website.rst | 36 +++++++++--------- doctrine.rst | 8 ++-- form/data_transformers.rst | 2 +- forms.rst | 4 +- http_fundamentals.rst | 6 +-- installation.rst | 2 +- quick_tour/the_big_picture.rst | 4 +- reference/forms/types/choice.rst | 4 +- .../forms/types/options/choice_label.rst.inc | 2 +- .../forms/types/options/group_by.rst.inc | 2 +- .../types/options/preferred_choices.rst.inc | 2 +- security.rst | 6 +-- translation.rst | 8 ++-- upgrade/major_version.rst | 2 +- 116 files changed, 86 insertions(+), 86 deletions(-) rename {images => _images}/components/console/debug_formatter.png (100%) rename {images => _images}/components/console/process-helper-debug.png (100%) rename {images => _images}/components/console/process-helper-error-debug.png (100%) rename {images => _images}/components/console/process-helper-verbose.png (100%) rename {images => _images}/components/console/progress.png (100%) rename {images => _images}/components/console/progressbar.gif (100%) rename {images => _images}/components/console/table.png (100%) rename {images => _images}/components/form/general_flow.png (100%) rename {images => _images}/components/form/set_data_flow.png (100%) rename {images => _images}/components/form/submission_flow.png (100%) rename {images => _images}/components/http_kernel/01-workflow.png (100%) rename {images => _images}/components/http_kernel/02-kernel-request.png (100%) rename {images => _images}/components/http_kernel/03-kernel-request-response.png (100%) rename {images => _images}/components/http_kernel/04-resolve-controller.png (100%) rename {images => _images}/components/http_kernel/06-kernel-controller.png (100%) rename {images => _images}/components/http_kernel/07-controller-arguments.png (100%) rename {images => _images}/components/http_kernel/08-call-controller.png (100%) rename {images => _images}/components/http_kernel/09-controller-returns-response.png (100%) rename {images => _images}/components/http_kernel/10-kernel-view.png (100%) rename {images => _images}/components/http_kernel/11-kernel-exception.png (100%) rename {images => _images}/components/http_kernel/request-response-flow.png (100%) rename {images => _images}/components/http_kernel/sub-request.png (100%) rename {images => _images}/components/phpunit_bridge/report.png (100%) rename {images => _images}/components/serializer/serializer_workflow.png (100%) rename {images => _images}/components/var_dumper/01-simple.png (100%) rename {images => _images}/components/var_dumper/02-multi-line-str.png (100%) rename {images => _images}/components/var_dumper/03-object.png (100%) rename {images => _images}/components/var_dumper/04-dynamic-property.png (100%) rename {images => _images}/components/var_dumper/05-soft-ref.png (100%) rename {images => _images}/components/var_dumper/06-constants.png (100%) rename {images => _images}/components/var_dumper/07-hard-ref.png (100%) rename {images => _images}/components/var_dumper/08-virtual-property.png (100%) rename {images => _images}/components/var_dumper/09-cut.png (100%) rename {images => _images}/contributing/docs-github-create-pr.png (100%) rename {images => _images}/contributing/docs-github-edit-page.png (100%) rename {images => _images}/contributing/docs-pull-request-change-base.png (100%) rename {images => _images}/contributing/docs-pull-request-platformsh.png (100%) rename {images => _images}/contributing/release-process.jpg (100%) rename {images/cookbook => _images}/controller/error_pages/errors-in-prod-environment.png (100%) rename {images/cookbook => _images}/controller/error_pages/exceptions-in-dev-environment.png (100%) rename {images/cookbook => _images}/deployment/azure-website/step-01.png (100%) rename {images/cookbook => _images}/deployment/azure-website/step-02.png (100%) rename {images/cookbook => _images}/deployment/azure-website/step-03.png (100%) rename {images/cookbook => _images}/deployment/azure-website/step-04.png (100%) rename {images/cookbook => _images}/deployment/azure-website/step-05.png (100%) rename {images/cookbook => _images}/deployment/azure-website/step-06.png (100%) rename {images/cookbook => _images}/deployment/azure-website/step-07.png (100%) rename {images/cookbook => _images}/deployment/azure-website/step-08.png (100%) rename {images/cookbook => _images}/deployment/azure-website/step-09.png (100%) rename {images/cookbook => _images}/deployment/azure-website/step-10.png (100%) rename {images/cookbook => _images}/deployment/azure-website/step-11.png (100%) rename {images/cookbook => _images}/deployment/azure-website/step-12.png (100%) rename {images/cookbook => _images}/deployment/azure-website/step-13.png (100%) rename {images/cookbook => _images}/deployment/azure-website/step-14.png (100%) rename {images/cookbook => _images}/deployment/azure-website/step-15.png (100%) rename {images/cookbook => _images}/deployment/azure-website/step-16.png (100%) rename {images/cookbook => _images}/deployment/azure-website/step-17.png (100%) rename {images/cookbook => _images}/deployment/azure-website/step-18.png (100%) rename {images => _images}/docs-pull-request-change-base.png (100%) rename images/book/doctrine_image_2.png => _images/doctrine/mapping_relations.png (100%) rename images/book/doctrine_image_3.png => _images/doctrine/mapping_relations_proxy.png (100%) rename images/book/doctrine_image_1.png => _images/doctrine/mapping_single_entity.png (100%) rename images/book/doctrine_web_debug_toolbar.png => _images/doctrine/web_debug_toolbar.png (100%) rename images/cookbook/form/DataTransformersTypes.png => _images/form/data-transformer-types.png (100%) rename images/book/form-simple2.png => _images/form/simple-form-2.png (100%) rename images/book/form-simple.png => _images/form/simple-form.png (100%) rename images/http-xkcd.png => _images/http/xkcd-full.png (100%) rename images/http-xkcd-request.png => _images/http/xkcd-request.png (100%) rename {images/cookbook => _images/install}/deprecations-in-profiler.png (100%) rename {images => _images}/quick_tour/hello_fabien.png (100%) rename {images => _images}/quick_tour/profiler.png (100%) rename {images => _images}/quick_tour/web_debug_toolbar.png (100%) rename {images => _images}/quick_tour/welcome.png (100%) rename {images => _images}/reference/form/choice-example1.png (100%) rename {images => _images}/reference/form/choice-example2.png (100%) rename {images => _images}/reference/form/choice-example3.png (100%) rename {images => _images}/reference/form/choice-example4.png (100%) rename {images => _images}/reference/form/choice-example5.png (100%) rename {images => _images}/release-process.jpg (100%) rename {images => _images}/request-flow.png (100%) rename images/book/security_anonymous_wdt.png => _images/security/anonymous_wdt.png (100%) rename images/book/security_http_basic_popup.png => _images/security/http_basic_popup.png (100%) rename {images/book => _images/security}/symfony_loggedin_wdt.png (100%) rename {images/book => _images}/translation/debug_1.png (100%) rename {images/book => _images}/translation/debug_2.png (100%) rename {images/book => _images}/translation/debug_3.png (100%) rename {images/book => _images}/translation/debug_4.png (100%) diff --git a/images/components/console/debug_formatter.png b/_images/components/console/debug_formatter.png similarity index 100% rename from images/components/console/debug_formatter.png rename to _images/components/console/debug_formatter.png diff --git a/images/components/console/process-helper-debug.png b/_images/components/console/process-helper-debug.png similarity index 100% rename from images/components/console/process-helper-debug.png rename to _images/components/console/process-helper-debug.png diff --git a/images/components/console/process-helper-error-debug.png b/_images/components/console/process-helper-error-debug.png similarity index 100% rename from images/components/console/process-helper-error-debug.png rename to _images/components/console/process-helper-error-debug.png diff --git a/images/components/console/process-helper-verbose.png b/_images/components/console/process-helper-verbose.png similarity index 100% rename from images/components/console/process-helper-verbose.png rename to _images/components/console/process-helper-verbose.png diff --git a/images/components/console/progress.png b/_images/components/console/progress.png similarity index 100% rename from images/components/console/progress.png rename to _images/components/console/progress.png diff --git a/images/components/console/progressbar.gif b/_images/components/console/progressbar.gif similarity index 100% rename from images/components/console/progressbar.gif rename to _images/components/console/progressbar.gif diff --git a/images/components/console/table.png b/_images/components/console/table.png similarity index 100% rename from images/components/console/table.png rename to _images/components/console/table.png diff --git a/images/components/form/general_flow.png b/_images/components/form/general_flow.png similarity index 100% rename from images/components/form/general_flow.png rename to _images/components/form/general_flow.png diff --git a/images/components/form/set_data_flow.png b/_images/components/form/set_data_flow.png similarity index 100% rename from images/components/form/set_data_flow.png rename to _images/components/form/set_data_flow.png diff --git a/images/components/form/submission_flow.png b/_images/components/form/submission_flow.png similarity index 100% rename from images/components/form/submission_flow.png rename to _images/components/form/submission_flow.png diff --git a/images/components/http_kernel/01-workflow.png b/_images/components/http_kernel/01-workflow.png similarity index 100% rename from images/components/http_kernel/01-workflow.png rename to _images/components/http_kernel/01-workflow.png diff --git a/images/components/http_kernel/02-kernel-request.png b/_images/components/http_kernel/02-kernel-request.png similarity index 100% rename from images/components/http_kernel/02-kernel-request.png rename to _images/components/http_kernel/02-kernel-request.png diff --git a/images/components/http_kernel/03-kernel-request-response.png b/_images/components/http_kernel/03-kernel-request-response.png similarity index 100% rename from images/components/http_kernel/03-kernel-request-response.png rename to _images/components/http_kernel/03-kernel-request-response.png diff --git a/images/components/http_kernel/04-resolve-controller.png b/_images/components/http_kernel/04-resolve-controller.png similarity index 100% rename from images/components/http_kernel/04-resolve-controller.png rename to _images/components/http_kernel/04-resolve-controller.png diff --git a/images/components/http_kernel/06-kernel-controller.png b/_images/components/http_kernel/06-kernel-controller.png similarity index 100% rename from images/components/http_kernel/06-kernel-controller.png rename to _images/components/http_kernel/06-kernel-controller.png diff --git a/images/components/http_kernel/07-controller-arguments.png b/_images/components/http_kernel/07-controller-arguments.png similarity index 100% rename from images/components/http_kernel/07-controller-arguments.png rename to _images/components/http_kernel/07-controller-arguments.png diff --git a/images/components/http_kernel/08-call-controller.png b/_images/components/http_kernel/08-call-controller.png similarity index 100% rename from images/components/http_kernel/08-call-controller.png rename to _images/components/http_kernel/08-call-controller.png diff --git a/images/components/http_kernel/09-controller-returns-response.png b/_images/components/http_kernel/09-controller-returns-response.png similarity index 100% rename from images/components/http_kernel/09-controller-returns-response.png rename to _images/components/http_kernel/09-controller-returns-response.png diff --git a/images/components/http_kernel/10-kernel-view.png b/_images/components/http_kernel/10-kernel-view.png similarity index 100% rename from images/components/http_kernel/10-kernel-view.png rename to _images/components/http_kernel/10-kernel-view.png diff --git a/images/components/http_kernel/11-kernel-exception.png b/_images/components/http_kernel/11-kernel-exception.png similarity index 100% rename from images/components/http_kernel/11-kernel-exception.png rename to _images/components/http_kernel/11-kernel-exception.png diff --git a/images/components/http_kernel/request-response-flow.png b/_images/components/http_kernel/request-response-flow.png similarity index 100% rename from images/components/http_kernel/request-response-flow.png rename to _images/components/http_kernel/request-response-flow.png diff --git a/images/components/http_kernel/sub-request.png b/_images/components/http_kernel/sub-request.png similarity index 100% rename from images/components/http_kernel/sub-request.png rename to _images/components/http_kernel/sub-request.png diff --git a/images/components/phpunit_bridge/report.png b/_images/components/phpunit_bridge/report.png similarity index 100% rename from images/components/phpunit_bridge/report.png rename to _images/components/phpunit_bridge/report.png diff --git a/images/components/serializer/serializer_workflow.png b/_images/components/serializer/serializer_workflow.png similarity index 100% rename from images/components/serializer/serializer_workflow.png rename to _images/components/serializer/serializer_workflow.png diff --git a/images/components/var_dumper/01-simple.png b/_images/components/var_dumper/01-simple.png similarity index 100% rename from images/components/var_dumper/01-simple.png rename to _images/components/var_dumper/01-simple.png diff --git a/images/components/var_dumper/02-multi-line-str.png b/_images/components/var_dumper/02-multi-line-str.png similarity index 100% rename from images/components/var_dumper/02-multi-line-str.png rename to _images/components/var_dumper/02-multi-line-str.png diff --git a/images/components/var_dumper/03-object.png b/_images/components/var_dumper/03-object.png similarity index 100% rename from images/components/var_dumper/03-object.png rename to _images/components/var_dumper/03-object.png diff --git a/images/components/var_dumper/04-dynamic-property.png b/_images/components/var_dumper/04-dynamic-property.png similarity index 100% rename from images/components/var_dumper/04-dynamic-property.png rename to _images/components/var_dumper/04-dynamic-property.png diff --git a/images/components/var_dumper/05-soft-ref.png b/_images/components/var_dumper/05-soft-ref.png similarity index 100% rename from images/components/var_dumper/05-soft-ref.png rename to _images/components/var_dumper/05-soft-ref.png diff --git a/images/components/var_dumper/06-constants.png b/_images/components/var_dumper/06-constants.png similarity index 100% rename from images/components/var_dumper/06-constants.png rename to _images/components/var_dumper/06-constants.png diff --git a/images/components/var_dumper/07-hard-ref.png b/_images/components/var_dumper/07-hard-ref.png similarity index 100% rename from images/components/var_dumper/07-hard-ref.png rename to _images/components/var_dumper/07-hard-ref.png diff --git a/images/components/var_dumper/08-virtual-property.png b/_images/components/var_dumper/08-virtual-property.png similarity index 100% rename from images/components/var_dumper/08-virtual-property.png rename to _images/components/var_dumper/08-virtual-property.png diff --git a/images/components/var_dumper/09-cut.png b/_images/components/var_dumper/09-cut.png similarity index 100% rename from images/components/var_dumper/09-cut.png rename to _images/components/var_dumper/09-cut.png diff --git a/images/contributing/docs-github-create-pr.png b/_images/contributing/docs-github-create-pr.png similarity index 100% rename from images/contributing/docs-github-create-pr.png rename to _images/contributing/docs-github-create-pr.png diff --git a/images/contributing/docs-github-edit-page.png b/_images/contributing/docs-github-edit-page.png similarity index 100% rename from images/contributing/docs-github-edit-page.png rename to _images/contributing/docs-github-edit-page.png diff --git a/images/contributing/docs-pull-request-change-base.png b/_images/contributing/docs-pull-request-change-base.png similarity index 100% rename from images/contributing/docs-pull-request-change-base.png rename to _images/contributing/docs-pull-request-change-base.png diff --git a/images/contributing/docs-pull-request-platformsh.png b/_images/contributing/docs-pull-request-platformsh.png similarity index 100% rename from images/contributing/docs-pull-request-platformsh.png rename to _images/contributing/docs-pull-request-platformsh.png diff --git a/images/contributing/release-process.jpg b/_images/contributing/release-process.jpg similarity index 100% rename from images/contributing/release-process.jpg rename to _images/contributing/release-process.jpg diff --git a/images/cookbook/controller/error_pages/errors-in-prod-environment.png b/_images/controller/error_pages/errors-in-prod-environment.png similarity index 100% rename from images/cookbook/controller/error_pages/errors-in-prod-environment.png rename to _images/controller/error_pages/errors-in-prod-environment.png diff --git a/images/cookbook/controller/error_pages/exceptions-in-dev-environment.png b/_images/controller/error_pages/exceptions-in-dev-environment.png similarity index 100% rename from images/cookbook/controller/error_pages/exceptions-in-dev-environment.png rename to _images/controller/error_pages/exceptions-in-dev-environment.png diff --git a/images/cookbook/deployment/azure-website/step-01.png b/_images/deployment/azure-website/step-01.png similarity index 100% rename from images/cookbook/deployment/azure-website/step-01.png rename to _images/deployment/azure-website/step-01.png diff --git a/images/cookbook/deployment/azure-website/step-02.png b/_images/deployment/azure-website/step-02.png similarity index 100% rename from images/cookbook/deployment/azure-website/step-02.png rename to _images/deployment/azure-website/step-02.png diff --git a/images/cookbook/deployment/azure-website/step-03.png b/_images/deployment/azure-website/step-03.png similarity index 100% rename from images/cookbook/deployment/azure-website/step-03.png rename to _images/deployment/azure-website/step-03.png diff --git a/images/cookbook/deployment/azure-website/step-04.png b/_images/deployment/azure-website/step-04.png similarity index 100% rename from images/cookbook/deployment/azure-website/step-04.png rename to _images/deployment/azure-website/step-04.png diff --git a/images/cookbook/deployment/azure-website/step-05.png b/_images/deployment/azure-website/step-05.png similarity index 100% rename from images/cookbook/deployment/azure-website/step-05.png rename to _images/deployment/azure-website/step-05.png diff --git a/images/cookbook/deployment/azure-website/step-06.png b/_images/deployment/azure-website/step-06.png similarity index 100% rename from images/cookbook/deployment/azure-website/step-06.png rename to _images/deployment/azure-website/step-06.png diff --git a/images/cookbook/deployment/azure-website/step-07.png b/_images/deployment/azure-website/step-07.png similarity index 100% rename from images/cookbook/deployment/azure-website/step-07.png rename to _images/deployment/azure-website/step-07.png diff --git a/images/cookbook/deployment/azure-website/step-08.png b/_images/deployment/azure-website/step-08.png similarity index 100% rename from images/cookbook/deployment/azure-website/step-08.png rename to _images/deployment/azure-website/step-08.png diff --git a/images/cookbook/deployment/azure-website/step-09.png b/_images/deployment/azure-website/step-09.png similarity index 100% rename from images/cookbook/deployment/azure-website/step-09.png rename to _images/deployment/azure-website/step-09.png diff --git a/images/cookbook/deployment/azure-website/step-10.png b/_images/deployment/azure-website/step-10.png similarity index 100% rename from images/cookbook/deployment/azure-website/step-10.png rename to _images/deployment/azure-website/step-10.png diff --git a/images/cookbook/deployment/azure-website/step-11.png b/_images/deployment/azure-website/step-11.png similarity index 100% rename from images/cookbook/deployment/azure-website/step-11.png rename to _images/deployment/azure-website/step-11.png diff --git a/images/cookbook/deployment/azure-website/step-12.png b/_images/deployment/azure-website/step-12.png similarity index 100% rename from images/cookbook/deployment/azure-website/step-12.png rename to _images/deployment/azure-website/step-12.png diff --git a/images/cookbook/deployment/azure-website/step-13.png b/_images/deployment/azure-website/step-13.png similarity index 100% rename from images/cookbook/deployment/azure-website/step-13.png rename to _images/deployment/azure-website/step-13.png diff --git a/images/cookbook/deployment/azure-website/step-14.png b/_images/deployment/azure-website/step-14.png similarity index 100% rename from images/cookbook/deployment/azure-website/step-14.png rename to _images/deployment/azure-website/step-14.png diff --git a/images/cookbook/deployment/azure-website/step-15.png b/_images/deployment/azure-website/step-15.png similarity index 100% rename from images/cookbook/deployment/azure-website/step-15.png rename to _images/deployment/azure-website/step-15.png diff --git a/images/cookbook/deployment/azure-website/step-16.png b/_images/deployment/azure-website/step-16.png similarity index 100% rename from images/cookbook/deployment/azure-website/step-16.png rename to _images/deployment/azure-website/step-16.png diff --git a/images/cookbook/deployment/azure-website/step-17.png b/_images/deployment/azure-website/step-17.png similarity index 100% rename from images/cookbook/deployment/azure-website/step-17.png rename to _images/deployment/azure-website/step-17.png diff --git a/images/cookbook/deployment/azure-website/step-18.png b/_images/deployment/azure-website/step-18.png similarity index 100% rename from images/cookbook/deployment/azure-website/step-18.png rename to _images/deployment/azure-website/step-18.png diff --git a/images/docs-pull-request-change-base.png b/_images/docs-pull-request-change-base.png similarity index 100% rename from images/docs-pull-request-change-base.png rename to _images/docs-pull-request-change-base.png diff --git a/images/book/doctrine_image_2.png b/_images/doctrine/mapping_relations.png similarity index 100% rename from images/book/doctrine_image_2.png rename to _images/doctrine/mapping_relations.png diff --git a/images/book/doctrine_image_3.png b/_images/doctrine/mapping_relations_proxy.png similarity index 100% rename from images/book/doctrine_image_3.png rename to _images/doctrine/mapping_relations_proxy.png diff --git a/images/book/doctrine_image_1.png b/_images/doctrine/mapping_single_entity.png similarity index 100% rename from images/book/doctrine_image_1.png rename to _images/doctrine/mapping_single_entity.png diff --git a/images/book/doctrine_web_debug_toolbar.png b/_images/doctrine/web_debug_toolbar.png similarity index 100% rename from images/book/doctrine_web_debug_toolbar.png rename to _images/doctrine/web_debug_toolbar.png diff --git a/images/cookbook/form/DataTransformersTypes.png b/_images/form/data-transformer-types.png similarity index 100% rename from images/cookbook/form/DataTransformersTypes.png rename to _images/form/data-transformer-types.png diff --git a/images/book/form-simple2.png b/_images/form/simple-form-2.png similarity index 100% rename from images/book/form-simple2.png rename to _images/form/simple-form-2.png diff --git a/images/book/form-simple.png b/_images/form/simple-form.png similarity index 100% rename from images/book/form-simple.png rename to _images/form/simple-form.png diff --git a/images/http-xkcd.png b/_images/http/xkcd-full.png similarity index 100% rename from images/http-xkcd.png rename to _images/http/xkcd-full.png diff --git a/images/http-xkcd-request.png b/_images/http/xkcd-request.png similarity index 100% rename from images/http-xkcd-request.png rename to _images/http/xkcd-request.png diff --git a/images/cookbook/deprecations-in-profiler.png b/_images/install/deprecations-in-profiler.png similarity index 100% rename from images/cookbook/deprecations-in-profiler.png rename to _images/install/deprecations-in-profiler.png diff --git a/images/quick_tour/hello_fabien.png b/_images/quick_tour/hello_fabien.png similarity index 100% rename from images/quick_tour/hello_fabien.png rename to _images/quick_tour/hello_fabien.png diff --git a/images/quick_tour/profiler.png b/_images/quick_tour/profiler.png similarity index 100% rename from images/quick_tour/profiler.png rename to _images/quick_tour/profiler.png diff --git a/images/quick_tour/web_debug_toolbar.png b/_images/quick_tour/web_debug_toolbar.png similarity index 100% rename from images/quick_tour/web_debug_toolbar.png rename to _images/quick_tour/web_debug_toolbar.png diff --git a/images/quick_tour/welcome.png b/_images/quick_tour/welcome.png similarity index 100% rename from images/quick_tour/welcome.png rename to _images/quick_tour/welcome.png diff --git a/images/reference/form/choice-example1.png b/_images/reference/form/choice-example1.png similarity index 100% rename from images/reference/form/choice-example1.png rename to _images/reference/form/choice-example1.png diff --git a/images/reference/form/choice-example2.png b/_images/reference/form/choice-example2.png similarity index 100% rename from images/reference/form/choice-example2.png rename to _images/reference/form/choice-example2.png diff --git a/images/reference/form/choice-example3.png b/_images/reference/form/choice-example3.png similarity index 100% rename from images/reference/form/choice-example3.png rename to _images/reference/form/choice-example3.png diff --git a/images/reference/form/choice-example4.png b/_images/reference/form/choice-example4.png similarity index 100% rename from images/reference/form/choice-example4.png rename to _images/reference/form/choice-example4.png diff --git a/images/reference/form/choice-example5.png b/_images/reference/form/choice-example5.png similarity index 100% rename from images/reference/form/choice-example5.png rename to _images/reference/form/choice-example5.png diff --git a/images/release-process.jpg b/_images/release-process.jpg similarity index 100% rename from images/release-process.jpg rename to _images/release-process.jpg diff --git a/images/request-flow.png b/_images/request-flow.png similarity index 100% rename from images/request-flow.png rename to _images/request-flow.png diff --git a/images/book/security_anonymous_wdt.png b/_images/security/anonymous_wdt.png similarity index 100% rename from images/book/security_anonymous_wdt.png rename to _images/security/anonymous_wdt.png diff --git a/images/book/security_http_basic_popup.png b/_images/security/http_basic_popup.png similarity index 100% rename from images/book/security_http_basic_popup.png rename to _images/security/http_basic_popup.png diff --git a/images/book/symfony_loggedin_wdt.png b/_images/security/symfony_loggedin_wdt.png similarity index 100% rename from images/book/symfony_loggedin_wdt.png rename to _images/security/symfony_loggedin_wdt.png diff --git a/images/book/translation/debug_1.png b/_images/translation/debug_1.png similarity index 100% rename from images/book/translation/debug_1.png rename to _images/translation/debug_1.png diff --git a/images/book/translation/debug_2.png b/_images/translation/debug_2.png similarity index 100% rename from images/book/translation/debug_2.png rename to _images/translation/debug_2.png diff --git a/images/book/translation/debug_3.png b/_images/translation/debug_3.png similarity index 100% rename from images/book/translation/debug_3.png rename to _images/translation/debug_3.png diff --git a/images/book/translation/debug_4.png b/_images/translation/debug_4.png similarity index 100% rename from images/book/translation/debug_4.png rename to _images/translation/debug_4.png diff --git a/components/console/helpers/debug_formatter.rst b/components/console/helpers/debug_formatter.rst index b5af8bb978..9333a0c85f 100644 --- a/components/console/helpers/debug_formatter.rst +++ b/components/console/helpers/debug_formatter.rst @@ -13,7 +13,7 @@ instance a process or HTTP request. For example, if you used it to output the results of running ``ls -la`` on a UNIX system, it might output something like this: -.. image:: /images/components/console/debug_formatter.png +.. image:: /_images/components/console/debug_formatter.png :align: center Using the debug_formatter diff --git a/components/console/helpers/processhelper.rst b/components/console/helpers/processhelper.rst index 5494ca0137..7ba70340b4 100644 --- a/components/console/helpers/processhelper.rst +++ b/components/console/helpers/processhelper.rst @@ -23,15 +23,15 @@ a very verbose verbosity (e.g. -vv):: will result in this output: -.. image:: /images/components/console/process-helper-verbose.png +.. image:: /_images/components/console/process-helper-verbose.png It will result in more detailed output with debug verbosity (e.g. ``-vvv``): -.. image:: /images/components/console/process-helper-debug.png +.. image:: /_images/components/console/process-helper-debug.png In case the process fails, debugging is easier: -.. image:: /images/components/console/process-helper-error-debug.png +.. image:: /_images/components/console/process-helper-error-debug.png Arguments --------- diff --git a/components/console/helpers/progressbar.rst b/components/console/helpers/progressbar.rst index 3c97a53ec4..9b77d16895 100644 --- a/components/console/helpers/progressbar.rst +++ b/components/console/helpers/progressbar.rst @@ -7,7 +7,7 @@ Progress Bar When executing longer-running commands, it may be helpful to show progress information, which updates as your command runs: -.. image:: /images/components/console/progressbar.gif +.. image:: /_images/components/console/progressbar.gif To display progress details, use the :class:`Symfony\\Component\\Console\\Helper\\ProgressBar`, pass it a total diff --git a/components/console/helpers/progresshelper.rst b/components/console/helpers/progresshelper.rst index 7d858d2169..da2b8f507c 100644 --- a/components/console/helpers/progresshelper.rst +++ b/components/console/helpers/progresshelper.rst @@ -17,7 +17,7 @@ Progress Helper When executing longer-running commands, it may be helpful to show progress information, which updates as your command runs: -.. image:: /images/components/console/progress.png +.. image:: /_images/components/console/progress.png To display progress details, use the :class:`Symfony\\Component\\Console\\Helper\\ProgressHelper`, pass it a total number of units, and advance the progress as your command executes:: diff --git a/components/console/helpers/tablehelper.rst b/components/console/helpers/tablehelper.rst index 0e508b4d4d..cc853ebdad 100644 --- a/components/console/helpers/tablehelper.rst +++ b/components/console/helpers/tablehelper.rst @@ -16,7 +16,7 @@ Table Helper When building a console application it may be useful to display tabular data: -.. image:: /images/components/console/table.png +.. image:: /_images/components/console/table.png To display a table, use the :class:`Symfony\\Component\\Console\\Helper\\TableHelper`, set headers, rows and render:: diff --git a/components/form.rst b/components/form.rst index b3306b24ae..9f6b88aefa 100644 --- a/components/form.rst +++ b/components/form.rst @@ -491,7 +491,7 @@ helper functions: {{ form_end(form) }} -.. image:: /images/book/form-simple.png +.. image:: /_images/form/simple-form.png :align: center That's it! By printing ``form_widget(form)``, each field in the form is diff --git a/components/form/form_events.rst b/components/form/form_events.rst index 79f6c2c2c2..1bda792247 100644 --- a/components/form/form_events.rst +++ b/components/form/form_events.rst @@ -38,13 +38,13 @@ The Form Workflow The Form Submission Workflow ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.. image:: /images/components/form/general_flow.png +.. image:: /_images/components/form/general_flow.png :align: center 1) Pre-populating the Form (``FormEvents::PRE_SET_DATA`` and ``FormEvents::POST_SET_DATA``) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.. image:: /images/components/form/set_data_flow.png +.. image:: /_images/components/form/set_data_flow.png :align: center Two events are dispatched during pre-population of a form, when @@ -121,7 +121,7 @@ View data Normalized data transformed using a view transformer 2) Submitting a Form (``FormEvents::PRE_SUBMIT``, ``FormEvents::SUBMIT`` and ``FormEvents::POST_SUBMIT``) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.. image:: /images/components/form/submission_flow.png +.. image:: /_images/components/form/submission_flow.png :align: center Three events are dispatched when diff --git a/components/http_kernel.rst b/components/http_kernel.rst index ae909817d7..6d46188bc3 100644 --- a/components/http_kernel.rst +++ b/components/http_kernel.rst @@ -28,7 +28,7 @@ Every HTTP web interaction begins with a request and ends with a response. Your job as a developer is to create PHP code that reads the request information (e.g. the URL) and creates and returns a response (e.g. an HTML page or JSON string). -.. image:: /images/components/http_kernel/request-response-flow.png +.. image:: /_images/components/http_kernel/request-response-flow.png :align: center Typically, some sort of framework or system is built to handle all the repetitive @@ -62,7 +62,7 @@ the concrete implementation of :method:`HttpKernelInterface::handle() ` is ``kernel.request``, which may have a variety of different listeners. -.. image:: /images/components/http_kernel/02-kernel-request.png +.. image:: /_images/components/http_kernel/02-kernel-request.png :align: center Listeners of this event can be quite varied. Some listeners - such as a security @@ -150,7 +150,7 @@ to the login page or a 403 Access Denied response. If a ``Response`` is returned at this stage, the process skips directly to the :ref:`kernel.response ` event. -.. image:: /images/components/http_kernel/03-kernel-request-response.png +.. image:: /_images/components/http_kernel/03-kernel-request-response.png :align: center Other listeners simply initialize things or add more information to the request. @@ -205,7 +205,7 @@ to your application. This is the job of the "controller resolver" - a class that implements :class:`Symfony\\Component\\HttpKernel\\Controller\\ControllerResolverInterface` and is one of the constructor arguments to ``HttpKernel``. -.. image:: /images/components/http_kernel/04-resolve-controller.png +.. image:: /_images/components/http_kernel/04-resolve-controller.png :align: center Your job is to create a class that implements the interface and fill in its @@ -280,7 +280,7 @@ some part of the system that needs to be initialized after certain things have been determined (e.g. the controller, routing information) but before the controller is executed. For some examples, see the Symfony section below. -.. image:: /images/components/http_kernel/06-kernel-controller.png +.. image:: /_images/components/http_kernel/06-kernel-controller.png :align: center Listeners to this event can also change the controller callable completely @@ -314,7 +314,7 @@ should be passed to that controller. Exactly how this is done is completely up to your design, though the built-in :class:`Symfony\\Component\\HttpKernel\\Controller\\ControllerResolver` is a good example. -.. image:: /images/components/http_kernel/07-controller-arguments.png +.. image:: /_images/components/http_kernel/07-controller-arguments.png :align: center At this point the kernel has a PHP callable (the controller) and an array @@ -345,7 +345,7 @@ of arguments that should be passed when executing that callable. The next step is simple! ``HttpKernel::handle`` executes the controller. -.. image:: /images/components/http_kernel/08-call-controller.png +.. image:: /_images/components/http_kernel/08-call-controller.png :align: center The job of the controller is to build the response for the given resource. @@ -357,7 +357,7 @@ Usually, the controller will return a ``Response`` object. If this is true, then the work of the kernel is just about done! In this case, the next step is the :ref:`kernel.response ` event. -.. image:: /images/components/http_kernel/09-controller-returns-response.png +.. image:: /_images/components/http_kernel/09-controller-returns-response.png :align: center But if the controller returns anything besides a ``Response``, then the kernel @@ -384,7 +384,7 @@ another event - ``kernel.view``. The job of a listener to this event is to use the return value of the controller (e.g. an array of data or an object) to create a ``Response``. -.. image:: /images/components/http_kernel/10-kernel-view.png +.. image:: /_images/components/http_kernel/10-kernel-view.png :align: center This can be useful if you want to use a "view" layer: instead of returning @@ -515,7 +515,7 @@ function is wrapped in a try-catch block. When any exception is thrown, the ``kernel.exception`` event is dispatched so that your system can somehow respond to the exception. -.. image:: /images/components/http_kernel/11-kernel-exception.png +.. image:: /_images/components/http_kernel/11-kernel-exception.png :align: center Each listener to this event is passed a :class:`Symfony\\Component\\HttpKernel\\Event\\GetResponseForExceptionEvent` @@ -660,7 +660,7 @@ a page instead of a full page. You'll most commonly make sub-requests from your controller (or perhaps from inside a template, that's being rendered by your controller). -.. image:: /images/components/http_kernel/sub-request.png +.. image:: /_images/components/http_kernel/sub-request.png :align: center To execute a sub request, use ``HttpKernel::handle``, but change the second diff --git a/components/phpunit_bridge.rst b/components/phpunit_bridge.rst index 03b398a59a..4c43848610 100644 --- a/components/phpunit_bridge.rst +++ b/components/phpunit_bridge.rst @@ -42,7 +42,7 @@ Once the component installed, it automatically registers a called :class:`Symfony\\Bridge\\PhpUnit\\DeprecationErrorHandler`. After running your PHPUnit tests, you will get a report similar to this one: -.. image:: /images/components/phpunit_bridge/report.png +.. image:: /_images/components/phpunit_bridge/report.png The summary includes: diff --git a/components/serializer.rst b/components/serializer.rst index c8354d9713..0b61d804b0 100644 --- a/components/serializer.rst +++ b/components/serializer.rst @@ -14,7 +14,7 @@ simple schema. .. _component-serializer-encoders: .. _component-serializer-normalizers: -.. image:: /images/components/serializer/serializer_workflow.png +.. image:: /_images/components/serializer/serializer_workflow.png As you can see in the picture above, an array is used as a man in the middle. This way, Encoders will only deal with turning specific diff --git a/components/var_dumper.rst b/components/var_dumper.rst index 0e2b0adbf9..69ea77baee 100644 --- a/components/var_dumper.rst +++ b/components/var_dumper.rst @@ -171,7 +171,7 @@ then its dump representation:: ); dump($var); -.. image:: /images/components/var_dumper/01-simple.png +.. image:: /_images/components/var_dumper/01-simple.png .. note:: @@ -188,7 +188,7 @@ then its dump representation:: $var .= "this string is not UTF-8 valid, thus the `b` prefix.\n"; dump($var); -.. image:: /images/components/var_dumper/02-multi-line-str.png +.. image:: /_images/components/var_dumper/02-multi-line-str.png .. code-block:: php @@ -202,7 +202,7 @@ then its dump representation:: $var = new PropertyExample(); dump($var); -.. image:: /images/components/var_dumper/03-object.png +.. image:: /_images/components/var_dumper/03-object.png .. note:: @@ -220,7 +220,7 @@ then its dump representation:: $var->undeclaredProperty = 'Runtime added dynamic properties have `"` around their name.'; dump($var); -.. image:: /images/components/var_dumper/04-dynamic-property.png +.. image:: /_images/components/var_dumper/04-dynamic-property.png .. code-block:: php @@ -232,7 +232,7 @@ then its dump representation:: $var->aCircularReference = $var; dump($var); -.. image:: /images/components/var_dumper/05-soft-ref.png +.. image:: /_images/components/var_dumper/05-soft-ref.png .. code-block:: php @@ -245,7 +245,7 @@ then its dump representation:: ); dump($var); -.. image:: /images/components/var_dumper/06-constants.png +.. image:: /_images/components/var_dumper/06-constants.png .. code-block:: php @@ -258,7 +258,7 @@ then its dump representation:: $var[3][] = "are dumped using `&number` prefixes."; dump($var); -.. image:: /images/components/var_dumper/07-hard-ref.png +.. image:: /_images/components/var_dumper/07-hard-ref.png .. code-block:: php @@ -268,7 +268,7 @@ then its dump representation:: $var[] = "properties that describe their internal state."; dump($var); -.. image:: /images/components/var_dumper/08-virtual-property.png +.. image:: /_images/components/var_dumper/08-virtual-property.png .. code-block:: php @@ -281,6 +281,6 @@ then its dump representation:: ); dump($var); -.. image:: /images/components/var_dumper/09-cut.png +.. image:: /_images/components/var_dumper/09-cut.png .. _Packagist: https://packagist.org/packages/symfony/var-dumper diff --git a/contributing/community/releases.rst b/contributing/community/releases.rst index 896cfdeff1..8ecc57ff6a 100644 --- a/contributing/community/releases.rst +++ b/contributing/community/releases.rst @@ -89,7 +89,7 @@ Schedule Below is the schedule for the first few versions that use this release model: -.. image:: /images/contributing/release-process.jpg +.. image:: /_images/contributing/release-process.jpg :align: center * **Yellow** represents the Development phase diff --git a/contributing/documentation/overview.rst b/contributing/documentation/overview.rst index 2334c9b3fc..67c66c9752 100644 --- a/contributing/documentation/overview.rst +++ b/contributing/documentation/overview.rst @@ -38,7 +38,7 @@ while you're reading the Symfony documentation. **Step 1.** Click on the **edit this page** button on the upper right corner and you'll be redirected to GitHub: -.. image:: /images/contributing/docs-github-edit-page.png +.. image:: /_images/contributing/docs-github-edit-page.png **Step 2.** Edit the contents, describe your changes and click on the **Propose file change** button. @@ -47,7 +47,7 @@ and you'll be redirected to GitHub: (forking the repository first if this is your first contribution) and it will also display a preview of your changes: -.. image:: /images/contributing/docs-github-create-pr.png +.. image:: /_images/contributing/docs-github-create-pr.png If everything is correct, click on the **Create pull request** button. @@ -161,7 +161,7 @@ Then, click on the big **New pull request** button. As GitHub cannot guess the exact changes that you want to propose, select the appropriate branches where changes should be applied: -.. image:: /images/contributing/docs-pull-request-change-base.png +.. image:: /_images/contributing/docs-pull-request-change-base.png :align: center In this example, the **base fork** should be ``symfony/symfony-docs`` and @@ -241,7 +241,7 @@ Every GitHub Pull Request is automatically built and deployed by `Platform.sh`_ on a single environment that you can access on your browser to review your changes. -.. image:: /images/contributing/docs-pull-request-platformsh.png +.. image:: /_images/contributing/docs-pull-request-platformsh.png :align: center :alt: Platform.sh Pull Request Deployment diff --git a/controller.rst b/controller.rst index 6c886f9497..40377f5604 100644 --- a/controller.rst +++ b/controller.rst @@ -76,7 +76,7 @@ your custom code in the controller function: Creating a page is as easy as creating a controller (#5) and making a route that maps a URL to that controller (#4). -.. image:: /images/http-xkcd-request.png +.. image:: /_images/http/xkcd-request.png :align: center .. note:: diff --git a/controller/error_pages.rst b/controller/error_pages.rst index fcf9df52b0..d005694887 100644 --- a/controller/error_pages.rst +++ b/controller/error_pages.rst @@ -13,14 +13,14 @@ In the :doc:`development environment `, Symfony catches all the exceptions and displays a special **exception page** with lots of debug information to help you quickly discover the root problem: -.. image:: /images/cookbook/controller/error_pages/exceptions-in-dev-environment.png +.. image:: /_images/controller/error_pages/exceptions-in-dev-environment.png :alt: A typical exception page in the development environment Since these pages contain a lot of sensitive internal information, Symfony won't display them in the production environment. Instead, it'll show a simple and generic **error page**: -.. image:: /images/cookbook/controller/error_pages/errors-in-prod-environment.png +.. image:: /_images/controller/error_pages/errors-in-prod-environment.png :alt: A typical error page in the production environment Error pages for the production environment can be customized in different ways diff --git a/deployment/azure-website.rst b/deployment/azure-website.rst index ccb5c1d5b9..d83b9bfc64 100644 --- a/deployment/azure-website.rst +++ b/deployment/azure-website.rst @@ -18,7 +18,7 @@ with your credentials. Once you're connected to your `Azure Portal`_ interface, scroll down to the bottom and select the **New** panel. On this panel, click **Web Site** and choose **Custom Create**: -.. image:: /images/cookbook/deployment/azure-website/step-01.png +.. image:: /_images/deployment/azure-website/step-01.png :alt: Create a new custom Azure Website Step 1: Create Web Site @@ -26,7 +26,7 @@ Step 1: Create Web Site Here, you will be prompted to fill in some basic information. -.. image:: /images/cookbook/deployment/azure-website/step-02.png +.. image:: /_images/deployment/azure-website/step-02.png :alt: Setup the Azure Website For the URL, enter the URL that you would like to use for your Symfony application, @@ -46,7 +46,7 @@ database name and a region. The MySQL database storage is provided by Microsoft in partnership with ClearDB. Choose the same region you selected for the hosting plan configuration in the previous step. -.. image:: /images/cookbook/deployment/azure-website/step-03.png +.. image:: /_images/deployment/azure-website/step-03.png :alt: Setup the MySQL database Agree to the terms and conditions and click on the right arrow to continue. @@ -57,7 +57,7 @@ Step 3: Where Is your Source Code Now, on the third step, select a **Local Git repository** item and click on the right arrow to configure your Azure Website credentials. -.. image:: /images/cookbook/deployment/azure-website/step-04.png +.. image:: /_images/deployment/azure-website/step-04.png :alt: Setup a local Git repository Step 4: New Username and Password @@ -67,20 +67,20 @@ Great! You're now on the final step. Create a username and a secure password: these will become essential identifiers to connect to the FTP server and also to push your application code to the Git repository. -.. image:: /images/cookbook/deployment/azure-website/step-05.png +.. image:: /_images/deployment/azure-website/step-05.png :alt: Configure Azure Website credentials Congratulations! Your Azure Website is now up and running. You can check it by browsing to the Website url you configured in the first step. You should see the following display in your web browser: -.. image:: /images/cookbook/deployment/azure-website/step-06.png +.. image:: /_images/deployment/azure-website/step-06.png :alt: Azure Website is running The Microsoft Azure portal also provides a complete control panel for the Azure Website. -.. image:: /images/cookbook/deployment/azure-website/step-07.png +.. image:: /_images/deployment/azure-website/step-07.png :alt: Azure Website Control Panel Your Azure Website is ready! But to run a Symfony site, you need to configure @@ -103,7 +103,7 @@ supported by the PHP core team, but you can update it easily in Azure. To update your PHP version on Azure, go to the **Configure** tab of the control panel and select the version you want. -.. image:: /images/cookbook/deployment/azure-website/step-08.png +.. image:: /_images/deployment/azure-website/step-08.png :alt: Enabling the most recent PHP runtime from Azure Website Control Panel Click the **Save** button in the bottom bar to save your changes and restart @@ -120,7 +120,7 @@ the web server. run from an Azure Website to verify that PHP 5.5 is running with OPCache enabled. - .. image:: /images/cookbook/deployment/azure-website/step-09.png + .. image:: /_images/deployment/azure-website/step-09.png :alt: OPCache Configuration Tweaking php.ini Configuration Settings @@ -182,7 +182,7 @@ explorer, a command line prompt, a log stream and a configuration settings summa page. Of course, this section can only be accessed if you're logged in to your main Azure Website account. -.. image:: /images/cookbook/deployment/azure-website/step-10.png +.. image:: /_images/deployment/azure-website/step-10.png :alt: The Kudu Panel From the Kudu front page, click on the **Debug Console** navigation item in the @@ -201,7 +201,7 @@ new directory must be created under the main directory ``site/wwwroot``. The whole process and output should look like this: -.. image:: /images/cookbook/deployment/azure-website/step-11.png +.. image:: /_images/deployment/azure-website/step-11.png :alt: Executing commands in the online Kudu Console prompt To complete the activation of the ``php_intl.dll`` extension, you must tell @@ -212,7 +212,7 @@ the **Configure** tab of the main Azure Website Control panel. In the **app settings** section, register the ``PHP_EXTENSIONS`` environment variable with the value ``ext\php_intl.dll`` as shown in the screenshot below: -.. image:: /images/cookbook/deployment/azure-website/step-12.png +.. image:: /_images/deployment/azure-website/step-12.png :alt: Registering custom PHP extensions Hit "save" to confirm your changes and restart the web server. The PHP ``Intl`` @@ -220,7 +220,7 @@ extension should now be available in your web server environment. The following screenshot of a :phpfunction:`phpinfo` page verifies the ``intl`` extension is properly enabled: -.. image:: /images/cookbook/deployment/azure-website/step-13.png +.. image:: /_images/deployment/azure-website/step-13.png :alt: Intl extension is enabled Great! The PHP environment setup is now complete. Next, you'll learn how @@ -245,7 +245,7 @@ following command in your terminal: In the Azure Website Control panel, browse the **Deployment** tab to get the Git repository URL where you should push your code: -.. image:: /images/cookbook/deployment/azure-website/step-14.png +.. image:: /_images/deployment/azure-website/step-14.png :alt: Git deployment panel Now, you'll want to connect your local Symfony application with this remote @@ -296,7 +296,7 @@ Git repository. The deployment with Git should produce an output similar to the screenshot below: -.. image:: /images/cookbook/deployment/azure-website/step-15.png +.. image:: /_images/deployment/azure-website/step-15.png :alt: Deploying files to the Git Azure Website repository The code of the Symfony application has now been deployed to the Azure Website @@ -339,7 +339,7 @@ the values of some Symfony settings like database credentials, locale, mailer credentials, CSRF token protection, etc. These parameters come from the ``app/config/parameters.yml.dist`` file. -.. image:: /images/cookbook/deployment/azure-website/step-16.png +.. image:: /_images/deployment/azure-website/step-16.png :alt: Configuring Symfony global parameters The most important thing in this cookbook is to correctly set up your database @@ -347,7 +347,7 @@ settings. You can get your MySQL database settings on the right sidebar of the **Azure Website Dashboard** panel. Simply click on the **View Connection Strings** link to make them appear in a pop-in. -.. image:: /images/cookbook/deployment/azure-website/step-17.png +.. image:: /_images/deployment/azure-website/step-17.png :alt: MySQL database settings The displayed MySQL database settings should be something similar to the code @@ -377,7 +377,7 @@ doesn't provide a built-in mailer service. You should consider configuring the host-name and credentials of some other third-party mailing service if your application needs to send emails. -.. image:: /images/cookbook/deployment/azure-website/step-18.png +.. image:: /_images/deployment/azure-website/step-18.png :alt: Configuring Symfony Your Symfony application is now configured and should be almost operational. The diff --git a/doctrine.rst b/doctrine.rst index f3c349363d..bbd9c4cb7a 100644 --- a/doctrine.rst +++ b/doctrine.rst @@ -244,7 +244,7 @@ must *map* your database tables to specific PHP classes, and the columns on those tables must be mapped to specific properties on their corresponding PHP classes. -.. image:: /images/book/doctrine_image_1.png +.. image:: /_images/doctrine/mapping_single_entity.png :align: center You'll provide this mapping information in the form of "metadata", a collection @@ -646,7 +646,7 @@ to easily fetch objects based on multiple conditions:: When you render any page, you can see how many queries were made in the bottom right corner of the web debug toolbar. - .. image:: /images/book/doctrine_web_debug_toolbar.png + .. image:: /_images/doctrine/web_debug_toolbar.png :align: center :scale: 50 :width: 350 @@ -1106,7 +1106,7 @@ In other words, the related ``Category`` object will be stored in the relationship by storing the category's id in the ``category_id`` column of the ``product`` table. -.. image:: /images/book/doctrine_image_2.png +.. image:: /_images/doctrine/mapping_relations.png :align: center The metadata above the ``Category`` entity's ``$products`` property is less @@ -1189,7 +1189,7 @@ Doctrine silently makes a second query to find the ``Category`` that's related to this ``Product``. It prepares the ``$category`` object and returns it to you. -.. image:: /images/book/doctrine_image_3.png +.. image:: /_images/doctrine/mapping_relations_proxy.png :align: center What's important is the fact that you have easy access to the product's related diff --git a/form/data_transformers.rst b/form/data_transformers.rst index 7ad2a781f6..bee2aa67c7 100644 --- a/form/data_transformers.rst +++ b/form/data_transformers.rst @@ -452,7 +452,7 @@ In the above example, the transformer was used as a "model" transformer. In fact, there are two different types of transformers and three different types of underlying data. -.. image:: /images/cookbook/form/DataTransformersTypes.png +.. image:: /_images/form/data-transformer-types.png :align: center In any form, the three different types of data are: diff --git a/forms.rst b/forms.rst index 462272f297..f749a865cc 100644 --- a/forms.rst +++ b/forms.rst @@ -156,7 +156,7 @@ helper functions: widget($form) ?> end($form) ?> -.. image:: /images/book/form-simple.png +.. image:: /_images/form/simple-form.png :align: center .. note:: @@ -671,7 +671,7 @@ the date as a string in the box):: ->add('dueDate', 'date', array('widget' => 'single_text')) -.. image:: /images/book/form-simple2.png +.. image:: /_images/form/simple-form-2.png :align: center Each field type has a number of different options that can be passed to it. diff --git a/http_fundamentals.rst b/http_fundamentals.rst index 605036b69d..e69ba43af1 100644 --- a/http_fundamentals.rst +++ b/http_fundamentals.rst @@ -20,7 +20,7 @@ HTTP (Hypertext Transfer Protocol) is a text language that allows two machines to communicate with each other. For example, when checking for the latest `xkcd`_ comic, the following (approximate) conversation takes place: -.. image:: /images/http-xkcd.png +.. image:: /_images/http/xkcd-full.png :align: center And while the actual language used is a bit more formal, it's still dead-simple. @@ -45,7 +45,7 @@ and then waits for the response. Take a look at the first part of the interaction (the request) between a browser and the xkcd web server: -.. image:: /images/http-xkcd-request.png +.. image:: /_images/http/xkcd-request.png :align: center In HTTP-speak, this HTTP request would actually look something like this: @@ -107,7 +107,7 @@ client needs (via the URI) and what the client wants to do with that resource prepares the resource and returns it in an HTTP response. Consider the response from the xkcd web server: -.. image:: /images/http-xkcd.png +.. image:: /_images/http/xkcd-full.png :align: center Translated into HTTP, the response sent back to the browser will look something diff --git a/installation.rst b/installation.rst index 05d2958850..85294d79d3 100644 --- a/installation.rst +++ b/installation.rst @@ -136,7 +136,7 @@ a matter of browsing the project directory and executing this command: Then, open your browser and access the ``http://localhost:8000/`` URL to see the Welcome Page of Symfony: -.. image:: /images/quick_tour/welcome.png +.. image:: /_images/quick_tour/welcome.png :align: center :alt: Symfony Welcome Page diff --git a/quick_tour/the_big_picture.rst b/quick_tour/the_big_picture.rst index 7c75f431bb..a98243e57a 100644 --- a/quick_tour/the_big_picture.rst +++ b/quick_tour/the_big_picture.rst @@ -175,14 +175,14 @@ look at the bottom of any Symfony rendered page. You should notice a small bar with the Symfony logo. This is the "web debug toolbar" and it is a Symfony developer's best friend! -.. image:: /images/quick_tour/web_debug_toolbar.png +.. image:: /_images/quick_tour/web_debug_toolbar.png :align: center But what you see initially is only the tip of the iceberg; click on any of the bar sections to open the profiler and get much more detailed information about the request, the query parameters, security details and database queries: -.. image:: /images/quick_tour/profiler.png +.. image:: /_images/quick_tour/profiler.png :align: center This tool provides so much internal information about your application that diff --git a/reference/forms/types/choice.rst b/reference/forms/types/choice.rst index 93fb4d4ffe..74fa99cea3 100644 --- a/reference/forms/types/choice.rst +++ b/reference/forms/types/choice.rst @@ -67,7 +67,7 @@ the ``choices`` option:: This will create a ``select`` drop-down like this: -.. image:: /images/reference/form/choice-example1.png +.. image:: /_images/reference/form/choice-example1.png :align: center If the user selects ``No``, the form will return ``false`` for this field. Similarly, @@ -149,7 +149,7 @@ You can easily "group" options in a select by passing a multi-dimensional choice 'choices_as_values' => true, ); -.. image:: /images/reference/form/choice-example4.png +.. image:: /_images/reference/form/choice-example4.png :align: center To get fancier, use the `group_by`_ option. diff --git a/reference/forms/types/options/choice_label.rst.inc b/reference/forms/types/options/choice_label.rst.inc index b92c47b687..afd833067b 100644 --- a/reference/forms/types/options/choice_label.rst.inc +++ b/reference/forms/types/options/choice_label.rst.inc @@ -32,7 +32,7 @@ This method is called for *each* choice, passing you the choice ``$value`` and t ``$key`` from the choices array (``$index`` is related to `choice_value`_). This will give you: -.. image:: /images/reference/form/choice-example2.png +.. image:: /_images/reference/form/choice-example2.png :align: center If your choice values are objects, then ``choice_label`` can also be a diff --git a/reference/forms/types/options/group_by.rst.inc b/reference/forms/types/options/group_by.rst.inc index 9147a0a09b..529d3f9fff 100644 --- a/reference/forms/types/options/group_by.rst.inc +++ b/reference/forms/types/options/group_by.rst.inc @@ -35,7 +35,7 @@ Take the following example:: This groups the dates that are within 3 days into "Soon" and everything else into a "Later" group: -.. image:: /images/reference/form/choice-example5.png +.. image:: /_images/reference/form/choice-example5.png :align: center If you return ``null``, the option won't be grouped. You can also pass a string diff --git a/reference/forms/types/options/preferred_choices.rst.inc b/reference/forms/types/options/preferred_choices.rst.inc index 2d841a21b2..9a25d58b80 100644 --- a/reference/forms/types/options/preferred_choices.rst.inc +++ b/reference/forms/types/options/preferred_choices.rst.inc @@ -40,7 +40,7 @@ be especially useful if your values are objects:: This will "prefer" the "now" and "tomorrow" choices only: -.. image:: /images/reference/form/choice-example3.png +.. image:: /_images/reference/form/choice-example3.png :align: center Finally, if your values are objects, you can also specify a property path string diff --git a/security.rst b/security.rst index 401f5a471d..b1a5436ca9 100644 --- a/security.rst +++ b/security.rst @@ -113,7 +113,7 @@ key takes care of this. In fact, if you go to the homepage right now, you'll have access and you'll see that you're "authenticated" as ``anon.``. Don't be fooled by the "Yes" next to Authenticated, you're just an anonymous user: -.. image:: /images/book/security_anonymous_wdt.png +.. image:: /_images/security/anonymous_wdt.png :align: center You'll learn later how to deny access to certain URLs or controllers. @@ -268,7 +268,7 @@ user to be logged in to access this URL: Great! Now, if you go to ``/admin``, you'll see the HTTP basic auth prompt: -.. image:: /images/book/security_http_basic_popup.png +.. image:: /_images/security/http_basic_popup.png :align: center But who can you login as? Where do users come from? @@ -437,7 +437,7 @@ but in a second, you'll change this to use ``bcrypt``. If you refresh now, you'll be logged in! The web debug toolbar even tells you who you are and what roles you have: -.. image:: /images/book/symfony_loggedin_wdt.png +.. image:: /_images/security/symfony_loggedin_wdt.png :align: center Because this URL requires ``ROLE_ADMIN``, if you had logged in as ``ryan``, diff --git a/translation.rst b/translation.rst index 3c907632db..f233cfc3e3 100644 --- a/translation.rst +++ b/translation.rst @@ -820,7 +820,7 @@ To inspect all messages in the ``fr`` locale for the AcmeDemoBundle, run: You will get this output: -.. image:: /images/book/translation/debug_1.png +.. image:: /_images/translation/debug_1.png :align: center It indicates that the message ``Symfony2 is great`` is unused because it is translated, @@ -828,7 +828,7 @@ but you haven't used it anywhere yet. Now, if you translate the message in one of your templates, you will get this output: -.. image:: /images/book/translation/debug_2.png +.. image:: /_images/translation/debug_2.png :align: center The state is empty which means the message is translated in the ``fr`` locale and used in one or more templates. @@ -836,7 +836,7 @@ The state is empty which means the message is translated in the ``fr`` locale an If you delete the message ``Symfony2 is great`` from your translation file for the ``fr`` locale and run the command, you will get: -.. image:: /images/book/translation/debug_3.png +.. image:: /_images/translation/debug_3.png :align: center The state indicates the message is missing because it is not translated in the ``fr`` locale @@ -847,7 +847,7 @@ This is a special case because the untranslated message id equals its translatio If you copy the content of the translation file in the ``en`` locale, to the translation file in the ``fr`` locale and run the command, you will get: -.. image:: /images/book/translation/debug_4.png +.. image:: /_images/translation/debug_4.png :align: center You can see that the translations of the message are identical in the ``fr`` and ``en`` locales diff --git a/upgrade/major_version.rst b/upgrade/major_version.rst index 01e9339cef..b22238372c 100644 --- a/upgrade/major_version.rst +++ b/upgrade/major_version.rst @@ -40,7 +40,7 @@ using a deprecated feature. When visiting your application in the :doc:`dev environment ` in your browser, these notices are shown in the web dev toolbar: -.. image:: /images/cookbook/deprecations-in-profiler.png +.. image:: /_images/install/deprecations-in-profiler.png Of course ultimately, you want to stop using the deprecated functionality. Sometimes, this is easy: the warning might tell you exactly what to change.