Skip to content

Commit

Permalink
Fix typos of "additional"
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Simpkins authored and Jasha10 committed Feb 22, 2023
1 parent b8280b3 commit 53e57a3
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion examples/advanced/config_search_path/conf/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defaults:

hydra:
searchpath:
- pkg://additonal_conf
- pkg://additional_conf
# You can also use file based schema, for example:
# - file:///etc/my_app
# - file://${oc.env:HOME}/.my_app
6 changes: 3 additions & 3 deletions tests/test_hydra.py
Original file line number Diff line number Diff line change
Expand Up @@ -845,13 +845,13 @@ def test_help(
"overrides,expected",
[
param(
["--info", "searchpath", "hydra.searchpath=['pkg://additonal_conf']"],
r".*hydra.searchpath in command-line\s+|\s+pkg://additonal_conf.*",
["--info", "searchpath", "hydra.searchpath=['pkg://additional_conf']"],
r".*hydra.searchpath in command-line\s+|\s+pkg://additional_conf.*",
id="searchpath config from command-line",
),
param(
["--info", "searchpath"],
r".*hydra.searchpath in main\s+|\s+pkg://additonal_conf.*",
r".*hydra.searchpath in main\s+|\s+pkg://additional_conf.*",
id="print info with searchpath config",
),
param(
Expand Down
4 changes: 2 additions & 2 deletions website/docs/advanced/search_path.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ defaults:

hydra:
searchpath:
- pkg://additonal_conf
- pkg://additional_conf
# You can also use file based schema:
# - file:///etc/my_app
# - file://${oc.env:HOME}/.my_app
Expand Down Expand Up @@ -148,7 +148,7 @@ dataset:
`hydra.searchpath` can be defined or overridden via the command line as well:

```bash title="command line override"
python my_app.py 'hydra.searchpath=[pkg://additonal_conf]'
python my_app.py 'hydra.searchpath=[pkg://additional_conf]'
```

#### Overriding `--config-dir` from the command line
Expand Down
8 changes: 4 additions & 4 deletions website/versioned_docs/version-1.1/advanced/search_path.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ In this example, we add a second config directory - `additional_conf`, next to t
│   ├── config.yaml
│   └── dataset
│   └── cifar10.yaml
├── additonal_conf
├── additional_conf
│   ├── __init__.py
│   └── dataset
│   └── imagenet.yaml
Expand All @@ -83,7 +83,7 @@ if __name__ == "__main__":

`conf/config.yaml` is the primary config for `my_app.py`, config groups `cifar10` and `imagenet` are
under different folders.
We can add `additonal_conf` to `hydra.searchpath` for Hydra to discover `dataset/imagenet`.
We can add `additional_conf` to `hydra.searchpath` for Hydra to discover `dataset/imagenet`.

<div className="row">
<div className="col col--7">
Expand All @@ -94,7 +94,7 @@ defaults:

hydra:
searchpath:
- pkg://additonal_conf
- pkg://additional_conf
# You can also use file based schema:
# - file:///etc/my_app
# - file://${oc.env:HOME}/.my_app
Expand Down Expand Up @@ -148,7 +148,7 @@ dataset:
`hydra.searchpath` can be defined or overridden via the command line as well:

```bash title="command line override"
python my_app.py 'hydra.searchpath=[pkg://additonal_conf]'
python my_app.py 'hydra.searchpath=[pkg://additional_conf]'
```

#### Overriding `--config-dir` from the command line
Expand Down
4 changes: 2 additions & 2 deletions website/versioned_docs/version-1.2/advanced/search_path.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ defaults:

hydra:
searchpath:
- pkg://additonal_conf
- pkg://additional_conf
# You can also use file based schema:
# - file:///etc/my_app
# - file://${oc.env:HOME}/.my_app
Expand Down Expand Up @@ -148,7 +148,7 @@ dataset:
`hydra.searchpath` can be defined or overridden via the command line as well:

```bash title="command line override"
python my_app.py 'hydra.searchpath=[pkg://additonal_conf]'
python my_app.py 'hydra.searchpath=[pkg://additional_conf]'
```

#### Overriding `--config-dir` from the command line
Expand Down
4 changes: 2 additions & 2 deletions website/versioned_docs/version-1.3/advanced/search_path.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ defaults:

hydra:
searchpath:
- pkg://additonal_conf
- pkg://additional_conf
# You can also use file based schema:
# - file:///etc/my_app
# - file://${oc.env:HOME}/.my_app
Expand Down Expand Up @@ -148,7 +148,7 @@ dataset:
`hydra.searchpath` can be defined or overridden via the command line as well:

```bash title="command line override"
python my_app.py 'hydra.searchpath=[pkg://additonal_conf]'
python my_app.py 'hydra.searchpath=[pkg://additional_conf]'
```

#### Overriding `--config-dir` from the command line
Expand Down

0 comments on commit 53e57a3

Please sign in to comment.