Skip to content

Commit 300a174

Browse files
committed
Make local TOCs consistent
1 parent 750b602 commit 300a174

42 files changed

Lines changed: 128 additions & 42 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

user_guide_src/source/concepts/services.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
Services
33
########
44

5+
.. contents::
6+
:local:
7+
:depth: 2
8+
59
Introduction
610
============
711

user_guide_src/source/database/configuration.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
Database Configuration
33
######################
44

5+
.. contents::
6+
:local:
7+
:depth: 2
8+
59
CodeIgniter has a config file that lets you store your database
610
connection values (username, password, database name, etc.). The config
711
file is located at application/Config/Database.php. You can also set

user_guide_src/source/database/entities.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ CodeIgniter supports Entity classes as a first-class citizen in it's database la
66
them completely optional to use. They are commonly used as part of the Repository pattern, but can
77
be used directly with the :doc:`Model </database/model>` if that fits your needs better.
88

9-
.. contents:: Page Contents
10-
:local:
9+
.. contents::
10+
:local:
11+
:depth: 2
1112

1213
Entity Usage
1314
============

user_guide_src/source/database/forge.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ Database Forge Class
55
The Database Forge Class contains methods that help you manage your
66
database.
77

8-
.. contents:: Table of Contents
9-
:depth: 3
8+
.. contents::
9+
:local:
10+
:depth: 2
1011

1112
****************************
1213
Initializing the Forge Class

user_guide_src/source/database/metadata.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
Database Metadata
33
#################
44

5+
.. contents::
6+
:local:
7+
:depth: 2
8+
59
**************
610
Table MetaData
711
**************

user_guide_src/source/database/queries.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
Queries
33
#######
44

5-
.. contents:: Table of Contents
5+
.. contents::
6+
:local:
7+
:depth: 2
68

79
************
810
Query Basics

user_guide_src/source/database/query_builder.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ system.
1717

1818
.. contents::
1919
:local:
20-
:depth: 1
20+
:depth: 2
2121

2222
*************************
2323
Loading the Query Builder

user_guide_src/source/general/cli_commands.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ need to have routes defined for, making them perfect for building tools that dev
88
their jobs simpler, whether by handling migrations or database seeding, checking cronjob status, or even
99
building out custom code generators for your company.
1010

11-
.. contents:: Page Contents
11+
.. contents::
12+
:local:
13+
:depth: 2
1214

1315
****************
1416
Running Commands

user_guide_src/source/general/common_functions.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ Global Functions and Constants
55
CodeIgniter uses provides a few functions and variables that are globally defined, and are available to you at any point.
66
These do not require loading any additional libraries or helpers.
77

8-
.. contents:: Page Contents
9-
:local:
8+
.. contents::
9+
:local:
10+
:depth: 2
11+
1012

1113
================
1214
Global Functions

user_guide_src/source/general/configuration.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ hold a class that contains its settings as public properties. Unlike in many oth
88
there is no single class that you need to use to access your settings. Instead, you simply
99
create an instance of the class and all your settings are there for you.
1010

11+
.. contents::
12+
:local:
13+
:depth: 2
14+
1115
Accessing Config Files
1216
======================
1317

0 commit comments

Comments
 (0)