Skip to content

Commit

Permalink
fix docs tutorial links (#968)
Browse files Browse the repository at this point in the history
* docs - fix broken init nornir and config index hyperlinks in tutorial

* docs - fix broken links in failed_tasks.ipynb for nornir failed states
  • Loading branch information
mjbear committed Aug 12, 2024
1 parent cc31296 commit 0e44bfc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/tutorial/failed_tasks.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"To achieve this `nornir` keeps a set of failed hosts in it's shared [data](../../ref/api/nornir.rst#nornir.core.state.GlobalState) object:"
"To achieve this `nornir` keeps a set of failed hosts in it's shared [data](../../api/nornir/core/state.html#nornir.core.state.GlobalState) object:"
]
},
{
Expand All @@ -405,7 +405,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"If you want to mark some hosts as succeeded and make them back eligible for future tasks you can do it individually per host with the function [recover_host](../../ref/api/nornir.rst#nornir.core.state.GlobalState.recover_host) or reset the list completely with [reset_failed_hosts](../../ref/api/nornir.rst#nornir.core.state.GlobalState.reset_failed_hosts):"
"If you want to mark some hosts as succeeded and make them back eligible for future tasks you can do it individually per host with the function [recover_host](../../api/nornir/core/state.html#nornir.core.state.GlobalState.recover_host) or reset the list completely with [reset_failed_hosts](../../api/nornir/core/state.html#nornir.core.state.GlobalState.reset_failed_hosts):"
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions docs/tutorial/initializing_nornir.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"\n",
"With `InitNornir` you can initialize nornir with a configuration file, with code or with a combination of both.\n",
"\n",
"Let's start with [a configuration file](../configuration/index.rst):"
"Let's start with [a configuration file](../configuration/index.html):"
]
},
{
Expand Down Expand Up @@ -143,7 +143,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Now to create the [nornir](../../ref/api/nornir.rst#nornir) object:"
"Now to create the [nornir](../api/nornir/init_nornir.html#nornir.init_nornir.InitNornir) object:"
]
},
{
Expand Down

0 comments on commit 0e44bfc

Please sign in to comment.