diff --git a/contributing/documentation/standards.rst b/contributing/documentation/standards.rst index 821252113bf..a46dea693a5 100644 --- a/contributing/documentation/standards.rst +++ b/contributing/documentation/standards.rst @@ -85,10 +85,10 @@ Files and Directories ~~~~~~~~~~~~~~~~~~~~~ * When referencing directories, always add a trailing slash to avoid confusions - with regular files (e.g. *"execute the ``console`` script located at the ``app/`` - directory"*). + with regular files (e.g. "execute the ``console`` script located at the ``app/`` + directory"). * When referencing file extensions explicitly, you should include a leading dot - for every extension (e.g. "*XML files use the ``.xml`` extension*"). + for every extension (e.g. "XML files use the ``.xml`` extension"). * When you list a Symfony file/directory hierarchy, use ``your-project/`` as the top level directory. E.g. diff --git a/cookbook/configuration/override_dir_structure.rst b/cookbook/configuration/override_dir_structure.rst index b3d73241b93..b8144809085 100644 --- a/cookbook/configuration/override_dir_structure.rst +++ b/cookbook/configuration/override_dir_structure.rst @@ -10,18 +10,19 @@ directory structure is: .. code-block:: text - app/ - cache/ - config/ - logs/ - ... - src/ - ... - vendor/ - ... - web/ - app.php - ... + your-project/ + ├─ app/ + | ├─ cache/ + | ├─ config/ + | ├─ logs/ + | └─ ... + ├─ src/ + | └─ ... + ├─ vendor/ + | └─ ... + └─ web/ + ├─ app.php + └─ ... .. _override-cache-dir: @@ -94,7 +95,7 @@ may need to modify the paths inside these files:: You also need to change the ``extra.symfony-web-dir`` option in the ``composer.json`` file: -.. code-block:: json +.. code-block:: javascript { ...