From c9f0976f4ec3565ae8bf1fbba40e9f9f16649bb6 Mon Sep 17 00:00:00 2001 From: Brice Lalu Date: Thu, 15 Mar 2018 11:11:54 +0100 Subject: [PATCH] Update deployment.rst Fix 404 not found the link was: - http://api.symfony.com/3.4/Symfony/Component/HttpKernel/Kernel/Kernel.html#method_getProjectDir> (404) And I tried to make it like this: -http://api.symfony.com/3.4/Symfony/Component/HttpKernel/Kernel.html#method_getProjectDir (working) But since I don't know how links are generated from the doc I guess that removing the useless "Kernel" and ">" can do the job. --- deployment.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment.rst b/deployment.rst index 07df32ecc58..b66d1ab758a 100644 --- a/deployment.rst +++ b/deployment.rst @@ -217,7 +217,7 @@ Deployments not Using the ``composer.json`` File ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Symfony applications provide a ``kernel.project_dir`` parameter and a related -:method:`Symfony\\Component\\HttpKernel\\Kernel\\Kernel::getProjectDir>` method. +:method:`Symfony\\Component\\HttpKernel\\Kernel::getProjectDir` method. You can use this method to perform operations with file paths relative to your project's root directory. The logic to find that project root directory is based on the location of the main ``composer.json`` file.