Skip to content

Commit

Permalink
Editing rst round 1
Browse files Browse the repository at this point in the history
  • Loading branch information
TomHAnderson committed Jan 16, 2019
1 parent c73f529 commit d6694cd
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 16 deletions.
4 changes: 2 additions & 2 deletions docs/EXTRAS_ORM.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Extra goodies included with DoctrineModule
==========================================
Miscellaneous
=============

The items listed below are entirely optional and are intended to enhance
integration between Zend Framework and Doctrine 2.
Expand Down
4 changes: 2 additions & 2 deletions docs/cache.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ adapters. You can specify any other adapter that implements the
`here <https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/reference/caching.html>`__.

Example with Redis
^^^^^^^^^^^^^^^^^^
------------------

.. code:: php
Expand Down Expand Up @@ -87,7 +87,7 @@ Read more about
`Caching <https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/reference/caching.html>`__.

How to enable and configure Second Level Cache
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
----------------------------------------------

.. code:: php
Expand Down
21 changes: 12 additions & 9 deletions docs/configuration.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Configuration
=============

How to Register Custom DQL Functions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
------------------------------------

.. code:: php
Expand All @@ -16,7 +19,7 @@ How to Register Custom DQL Functions
];
How to register type mapping
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
----------------------------

.. code:: php
Expand All @@ -33,7 +36,7 @@ How to register type mapping
];
How to add new type
~~~~~~~~~~~~~~~~~~~
-------------------

.. code:: php
Expand Down Expand Up @@ -64,7 +67,7 @@ How to add new type
];
Option to set the doctrine type comment (DC2Type:myType) for custom types
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-------------------------------------------------------------------------

.. code:: php
Expand All @@ -81,7 +84,7 @@ Option to set the doctrine type comment (DC2Type:myType) for custom types
];
How to Define Relationships with Abstract Classes and Interfaces (ResolveTargetEntityListener)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----

.. code:: php
Expand All @@ -99,7 +102,7 @@ How to Define Relationships with Abstract Classes and Interfaces (ResolveTargetE
];
Set a custom default repository
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-------------------------------

.. code:: php
Expand All @@ -114,7 +117,7 @@ Set a custom default repository
];
How to Use Two Connections
~~~~~~~~~~~~~~~~~~~~~~~~~~
--------------------------

.. code:: php
Expand Down Expand Up @@ -201,7 +204,7 @@ will create the following objects as needed: \*
You can retrieve them from the service manager via their keys.

How to Use Naming Strategy
~~~~~~~~~~~~~~~~~~~~~~~~~~
--------------------------

`Official
documentation <https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/reference/namingstrategy.html>`__
Expand All @@ -226,7 +229,7 @@ Zend Configuration
];
How to Use Quote Strategy
~~~~~~~~~~~~~~~~~~~~~~~~~
-------------------------

`Official
documentation <https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/reference/basic-mapping.html#quoting-reserved-words>`__
Expand Down
4 changes: 2 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Doctrine ORM Module for Zend Framework
.. toctree::
:caption: Table of Contents

cache
configuration
developer-tools
configuration
cache
migrations
EXTRAS_ORM
2 changes: 1 addition & 1 deletion docs/migrations.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
How to configure Doctrine Migrations
Configuring Doctrine Migrations
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. code:: php
Expand Down

0 comments on commit d6694cd

Please sign in to comment.