Skip to content

Commit

Permalink
Typos
Browse files Browse the repository at this point in the history
  • Loading branch information
ambroisemaupate committed Aug 18, 2020
1 parent 9e6cb67 commit 683e38a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion developer/first-steps/manual_config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Choose your inheritance model

*Roadiz’* main feature is all about its polymorphic document model which is mapped on a relational database. This requires a
challenging structure which can be lead to some performance bottlenecks when dealing with more than 20-30 node-types.
So we made the data inheritance model configurable to allow switching to `single_class <https://www.doctrine-project.org/projects/doctrine-orm/en/2.7/reference/inheritance-mapping.html#single-table-inheritance>`_ scheme which will be more performant
So we made the data inheritance model configurable to allow switching to `single_table <https://www.doctrine-project.org/projects/doctrine-orm/en/2.7/reference/inheritance-mapping.html#single-table-inheritance>`_ scheme which will be more performant
if you need lots of node-types. However *Single class* model will drop support for indexable fields and you won’t be able
to create fields with the *same name but not the same type* because all node-type fields will be created in the **same SQL table**.

Expand Down
3 changes: 2 additions & 1 deletion developer/first-steps/requirements.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ CMS Structure
-------------

* ``bin/``: Contains the Roadiz CLI executable
* ``docker/``: Tools for creating development and production *Docker* image for your project
* ``app/``: Contains every runtime resources from configuration to app cache and nodes-sources entities

* ``cache/``: Every cache file for *Twig* templates and `Intervention Request <https://github.com/roadiz/roadiz/releases>`_ images (this folder must be writable for PHP)
Expand All @@ -91,5 +92,5 @@ CMS Structure
* ``files/``: Public documents (this folder must be writable for PHP)
* ``themes/``: public assets mirror for each theme, this folder contains symlinks to your ``themes/YourTheme/static`` folder

* ``themes/``: Contains your themes and system themes such as *Rozier* and *Install*
* ``themes/``: Contains your own themes and all your website logic
* ``vendor/``: Dependencies folder managed by *Composer*
5 changes: 2 additions & 3 deletions developer/nodes-system/node_type_fields.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,14 @@ This following fields stores simple data in your custom node-source database tab

.. note ::
*Single geographic coordinates* field stores its data in JSON format. Make sure you
don’t have manually writen data in its input field.
don’t have manually written data in its input field.
.. warning ::
To use *Single geographic coordinates* you must create a *Google API Console* account with *Maps API v3* activated.
Then, create a *Browser key* and paste it in “Google Client ID” parameter in Roadiz settings
to enable *geographic* node-type fields. If you didnt do it, a simple text input will
to enable *geographic* node-type fields. If you didn't do it, a simple text input will
be display instead of *Roadiz Map Widget*.
.. image:: ./img/field-types.*
:align: center
:width: 300
Expand Down
2 changes: 1 addition & 1 deletion developer/themes/using_twig.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ in order to make page content available from your Twig template.
* **keywords** — [string]

All these data will be available in your Twig template using ``{{ }}`` syntax.
For example use ``{{ pageMeta.title }}`` inside your head’s ``<title>`` tag.
For example use ``{{ pageMeta.title }}`` inside your head’s ``<title>`` tag.
You can of course call objects members within Twig using the *dot* separator.

.. code-block:: html+jinja
Expand Down

0 comments on commit 683e38a

Please sign in to comment.