Skip to content

Commit a6fafba

Browse files
minor cleanup
1 parent a3c08a5 commit a6fafba

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

docs/source/index.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ Layered Config Tree Documentation
44

55
Layered Config Tree is a configuration structure which supports cascading layers.
66

7-
TBD.
8-
9-
107
.. toctree::
118
:maxdepth: 2
129

docs/source/tutorials/getting_started.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ To highlight how ``.get()`` works, let's make a two-layer tree of cats and their
1919
# Add whipper with the incorrect color to the base layer
2020
tree.update({"pet": {"cat": {"whipper": "black"}}}, layer="base")
2121
22-
# Update whipper's color and add burt mackling to the override layer
22+
# Update whipper's color and add burt macklin to the override layer
2323
tree.update({"pet": {"cat": {"whipper": "gray", "burt_macklin": "tuxedo"}}}, layer="override")
2424
2525
tree
@@ -159,7 +159,7 @@ isn't actually a tree.
159159
tuxedo
160160
oops
161161

162-
This works when trying to return a sub-tree as well.
162+
This works when using ``.get()`` to return a sub-tree as well.
163163

164164
.. code-block:: python
165165
@@ -260,7 +260,7 @@ since that layer doesn't exist for him:
260260

261261
One final note. The interaction between default_value and layer may sometimes be
262262
a cause of confusion. The default_value will only be returned when also providing
263-
a specific layer iff the requested value doesn't exist at all. If the value does
263+
a specific layer if and only if the requested value doesn't exist at all. If the value does
264264
exist, just not at the requested layer, then you'll get the MissingLayerError.
265265

266266
For example, let's get Garfield's color at the "base" layer (noting that Garfield

0 commit comments

Comments
 (0)