Skip to content

Commit

Permalink
All TOC's should be limited in depth.
Browse files Browse the repository at this point in the history
Giant duplicated TOCs can be really confusing to some readers. Lets not
do that.

Refs #1149
  • Loading branch information
markstory committed Mar 13, 2014
1 parent 4c4a284 commit 6ad7fa6
Show file tree
Hide file tree
Showing 37 changed files with 51 additions and 15 deletions.
1 change: 1 addition & 0 deletions en/controllers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -809,6 +809,7 @@ More on controllers
===================

.. toctree::
:maxdepth: 1

controllers/request-response
controllers/scaffolding
Expand Down
1 change: 1 addition & 0 deletions en/core-libraries/events.rst
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,7 @@ Additional Reading
==================

.. toctree::
:maxdepth: 1

/core-libraries/collections
/models/behaviors
Expand Down
1 change: 1 addition & 0 deletions en/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Additional Reading
==================

.. toctree::
:maxdepth: 1

getting-started/a-typical-cakephp-request
getting-started/cakephp-conventions
Expand Down
1 change: 1 addition & 0 deletions en/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ Advanced Installation and URL Rewriting
=======================================

.. toctree::
:maxdepth: 1

installation/advanced-installation
installation/url-rewriting
Expand Down
1 change: 1 addition & 0 deletions en/models.rst
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ More on models
==============

.. toctree::
:maxdepth: 1

models/associations-linking-models-together
models/retrieving-your-data
Expand Down
1 change: 1 addition & 0 deletions en/models/data-validation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1258,6 +1258,7 @@ ability to pass off to another validator has been added.
Also feel free to contribute with your localized validation rules.

.. toctree::
:maxdepth: 1

data-validation/validating-data-from-the-controller

Expand Down
1 change: 1 addition & 0 deletions en/tutorials-and-examples/blog/blog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ to one of the sections below about URL rewriting for your webserver to get
you up and running:

.. toctree::
:maxdepth: 1

/installation/url-rewriting

Expand Down
1 change: 1 addition & 0 deletions en/views.rst
Original file line number Diff line number Diff line change
Expand Up @@ -795,6 +795,7 @@ More about Views
================

.. toctree::
:maxdepth: 1

views/themes
views/media-view
Expand Down
1 change: 1 addition & 0 deletions es/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Lectura Adicional
=================

.. toctree::
:maxdepth: 1

getting-started/a-typical-cakephp-request
getting-started/cakephp-conventions
Expand Down
1 change: 1 addition & 0 deletions es/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ Instalación avanzada y configuración flexible
=============================================

.. toctree::
:maxdepth: 1

installation/advanced-installation

Expand Down
1 change: 1 addition & 0 deletions fr/controllers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -857,6 +857,7 @@ En savoir plus sur les controllers
==================================

.. toctree::
:maxdepth: 1

controllers/request-response
controllers/scaffolding
Expand Down
1 change: 1 addition & 0 deletions fr/core-libraries/events.rst
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,7 @@ Lecture Supplémentaire
======================

.. toctree::
:maxdepth: 1

/core-libraries/collections
/models/behaviors
Expand Down
1 change: 1 addition & 0 deletions fr/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Lectures supplémentaires
========================

.. toctree::
:maxdepth: 1

getting-started/a-typical-cakephp-request
getting-started/cakephp-conventions
Expand Down
1 change: 1 addition & 0 deletions fr/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ Installation avancée et URL Rewriting
=====================================

.. toctree::
:maxdepth: 1

installation/advanced-installation
installation/url-rewriting
Expand Down
1 change: 1 addition & 0 deletions fr/models.rst
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ Pour en savoir plus sur les Models
==================================

.. toctree::
:maxdepth: 1

models/associations-linking-models-together
models/retrieving-your-data
Expand Down
1 change: 1 addition & 0 deletions fr/models/data-validation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1256,6 +1256,7 @@ validateur a été ajouté.
localisées.

.. toctree::
:maxdepth: 1

data-validation/validating-data-from-the-controller

Expand Down
1 change: 1 addition & 0 deletions fr/tutorials-and-examples/blog/blog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ mod\_rewrite ne fonctionne pas sur votre système. Merci de vous référer
web fonctionne:

.. toctree::
:maxdepth: 1

/installation/url-rewriting

Expand Down
1 change: 1 addition & 0 deletions fr/views.rst
Original file line number Diff line number Diff line change
Expand Up @@ -810,6 +810,7 @@ En savoir plus sur les vues
===========================

.. toctree::
:maxdepth: 1

views/themes
views/media-view
Expand Down
1 change: 1 addition & 0 deletions ja/controllers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -646,6 +646,7 @@ More on controllers
===================

.. toctree::
:maxdepth: 1

controllers/request-response
controllers/scaffolding
Expand Down
1 change: 1 addition & 0 deletions ja/core-libraries/events.rst
Original file line number Diff line number Diff line change
Expand Up @@ -811,6 +811,7 @@ PHPが呼び出し可能な関数として扱うことができる何かです
============

.. toctree::
:maxdepth: 1

/core-libraries/collections
/models/behaviors
Expand Down
1 change: 1 addition & 0 deletions ja/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ CakePHPを体験し学ぶ最良の方法は腰を据えて何かを作ること
============

.. toctree::
:maxdepth: 1

getting-started/a-typical-cakephp-request
getting-started/cakephp-conventions
Expand Down
1 change: 1 addition & 0 deletions ja/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ Apache を使用する場合は、そのドメインの ``DocumentRoot`` ディ
=====================================

.. toctree::
:maxdepth: 1

installation/advanced-installation
installation/url-rewriting
Expand Down
1 change: 1 addition & 0 deletions ja/models.rst
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ More on models
==============

.. toctree::
:maxdepth: 1

models/associations-linking-models-together
models/retrieving-your-data
Expand Down
1 change: 1 addition & 0 deletions ja/tutorials-and-examples/blog/blog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ mod\_rewriteについて
以下のいずれかの項目を参照して、URLリライティングが有効になるように設定してください。

.. toctree::
:maxdepth: 1

/installation/url-rewriting

Expand Down
1 change: 1 addition & 0 deletions ja/views.rst
Original file line number Diff line number Diff line change
Expand Up @@ -670,6 +670,7 @@ More about Views
================

.. toctree::
:maxdepth: 1

views/themes
views/media-view
Expand Down
1 change: 1 addition & 0 deletions pt/controllers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -718,6 +718,7 @@ Mais sobre Controllers
======================

.. toctree::
:maxdepth: 1

controllers/request-response
controllers/scaffolding
Expand Down
1 change: 1 addition & 0 deletions pt/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Leitura Adicional
=================

.. toctree::
:maxdepth: 1

getting-started/a-typical-cakephp-request
getting-started/cakephp-conventions
Expand Down
1 change: 1 addition & 0 deletions pt/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ Instalação Avançada e Configuração Específica por Servidor
==========================================================

.. toctree::
:maxdepth: 1

installation/advanced-installation

Expand Down
1 change: 1 addition & 0 deletions ro/controllers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -809,6 +809,7 @@ Mai multe despre controlleri
============================

.. toctree::
:maxdepth: 1

controllers/request-response
controllers/scaffolding
Expand Down
1 change: 1 addition & 0 deletions ro/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ Instalare avansata si URL Rewriting
=======================================

.. toctree::
:maxdepth: 1

installation/advanced-installation
installation/url-rewriting
Expand Down
1 change: 1 addition & 0 deletions ro/views.rst
Original file line number Diff line number Diff line change
Expand Up @@ -794,6 +794,7 @@ Mai multe despre View-uri
=========================

.. toctree::
:maxdepth: 1

views/themes
views/media-view
Expand Down
1 change: 1 addition & 0 deletions ru/controllers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -693,6 +693,7 @@ More on controllers
===================

.. toctree::
:maxdepth: 1

controllers/request-response
controllers/scaffolding
Expand Down
1 change: 1 addition & 0 deletions ru/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ CakePHP фреймворк предоставляет надежную осно
========================

.. toctree::
:maxdepth: 1

getting-started/a-typical-cakephp-request
getting-started/cakephp-conventions
Expand Down
1 change: 1 addition & 0 deletions ru/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ Production установка
=================================================

.. toctree::
:maxdepth: 1

installation/advanced-installation

Expand Down
27 changes: 14 additions & 13 deletions ru/models.rst
Original file line number Diff line number Diff line change
Expand Up @@ -109,16 +109,17 @@ CakePHP автоматически сделает модель доступно
===================

.. toctree::

models/associations-linking-models-together
models/retrieving-your-data
models/saving-your-data
models/deleting-data
models/data-validation
models/callback-methods
models/behaviors
models/datasources
models/model-attributes
models/additional-methods-and-properties
models/virtual-fields
models/transactions
:maxdepth: 1

models/associations-linking-models-together
models/retrieving-your-data
models/saving-your-data
models/deleting-data
models/data-validation
models/callback-methods
models/behaviors
models/datasources
models/model-attributes
models/additional-methods-and-properties
models/virtual-fields
models/transactions
1 change: 1 addition & 0 deletions ru/views.rst
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,7 @@ API представления
==========================

.. toctree::
:maxdepth: 1

views/themes
views/media-view
Expand Down
4 changes: 2 additions & 2 deletions sr/epub-contents.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ Contents
########

.. toctree::
:maxdepth: 3
:maxdepth: 3

index
index

.. todolist::

0 comments on commit 6ad7fa6

Please sign in to comment.