Skip to content

Commit

Permalink
fixed 0.11 docs links to repo to use 0.11 branch
Browse files Browse the repository at this point in the history
  • Loading branch information
omry committed Jan 14, 2020
1 parent e966dd9 commit f7b647f
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion website/docs/tutorial/1_simple_cli_app.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This is a simple Hydra application that prints your configuration.
The `my_app` function is a place holder
for your code. We will slowly evolve this example to show-case more Hydra features.

The examples in this tutorial are available [here](https://github.com/facebookresearch/hydra/tree/master/examples).
The examples in this tutorial are available [here](https://github.com/facebookresearch/hydra/tree/master/examples/tutorial).

Python file: `my_app.py`
```python
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ sidebar_label: Experimental compose API
Hydra 0.11.0 introduces a new experimental API for composing configuration via the `hydra.experimental.compose()` function.
Prior to calling compose(), you have to initialize Hydra: This can be done by using the standard `@hydra.main()` or by calling `hydra.experimental.initialize()`.

Here is an [example Jupyter notebook utilizing this API](https://github.com/facebookresearch/hydra/tree/master/examples/notebook).
Here is an [example Jupyter notebook utilizing this API](https://github.com/facebookresearch/hydra/tree/0.11_branch/examples/notebook).

### `hydra.experimental.compose()` example
```python
Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-0.11/advanced/packaging.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sidebar_label: Application packaging
---

You can package your Hydra application along with its configuration.
There is a working example [here](https://github.com/facebookresearch/hydra/tree/master/examples/advanced/hydra_app_example).
There is a working example [here](https://github.com/facebookresearch/hydra/tree/0.11_branch/examples/advanced/hydra_app_example).

You can run it with:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ defaults:
- hydra/sweeper: basic # Sweeper config
- hydra/output: default # Output directory
```
You can view the Hydra config structure [here](https://github.com/facebookresearch/hydra/tree/master/hydra/conf).
You can view the Hydra config structure [here](https://github.com/facebookresearch/hydra/tree/0.11_branch/hydra/conf).
This is a subset of the composed Hydra configuration node:
Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-0.11/plugins/colorlog.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ defaults:
- hydra/hydra_logging: colorlog
```
See included [example](https://github.com/facebookresearch/hydra/tree/master/plugins/hydra_colorlog/example).
See included [example](https://github.com/facebookresearch/hydra/tree/0.11_branch/plugins/hydra_colorlog/example).
![Colored log output](/plugins/colorlog/colorlog.png)
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This is a simple Hydra application that prints your configuration.
The `my_app` function is a place holder
for your code. We will slowly evolve this example to show-case more Hydra features.

The examples in this tutorial are available [here](https://github.com/facebookresearch/hydra/tree/master/examples).
The examples in this tutorial are available [here](https://github.com/facebookresearch/hydra/tree/0.11_branch/examples/tutorial).

Python file: `my_app.py`
```python
Expand Down

0 comments on commit f7b647f

Please sign in to comment.