Skip to content

Commit 3a4cb02

Browse files
authored
add link (#43)
* add link * fix path
1 parent 3290c85 commit 3a4cb02

File tree

8 files changed

+31
-45
lines changed

8 files changed

+31
-45
lines changed

Diff for: docs/docs/nornir/readme.mdx renamed to docs/docs/readme.mdx

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
---
2-
title: Nornir plugin for Infrahub
2+
title: Nornir plugin
33
---
44

55
A [Nornir](https://github.com/nornir-automation/nornir) plugin for Infrahub. Infrahub can be used as an inventory source for Nornir.
66

7+
## Usage
8+
9+
For an example of how to use this plugin, see the [Simplifying Network Automation Workflows with Infrahub, Nornir, and Jinja2](https://www.opsmill.com/simplifying-network-automation-workflows-with-infrahub-nornir-and-jinja2/) blog post.
10+
711
## Installation
812

913
```console

Diff for: docs/sidebars.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ import type {SidebarsConfig} from '@docusaurus/plugin-content-docs';
22

33
const sidebars: SidebarsConfig = {
44
nornirSidebar: [
5-
'nornir/readme',
5+
'readme',
66
{
77
type: 'category',
8-
label: 'Reference',
8+
label: 'Nornir Plugin Reference',
99
items: [
10-
'nornir/references/plugins/infrahub_inventory',
11-
'nornir/references/plugins/artifact_tasks',
10+
'references/plugins/infrahub_inventory',
11+
'references/plugins/artifact_tasks',
1212
],
1313
}
1414
]

Diff for: docs/src/pages/index.tsx

-19
This file was deleted.

Diff for: poetry.lock

+20-19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ pydantic = ">=1.7.4,!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,!=2.1.0,<3.0.0"
3434

3535
[tool.poetry.group.dev.dependencies]
3636
pytest = "*"
37-
ruff = "0.3.3"
37+
ruff = "0.9.5"
3838
mypy = "*"
3939
pytest-asyncio = "^0.21.1"
4040
types-python-slugify = "*"

Diff for: tasks.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
CURRENT_DIRECTORY = Path(__file__).resolve()
1010
DOCUMENTATION_DIRECTORY = CURRENT_DIRECTORY.parent / "docs"
11-
NORNIR_DOCUMENTATION_DIRECTORY = DOCUMENTATION_DIRECTORY / "docs" / "nornir"
11+
NORNIR_DOCUMENTATION_DIRECTORY = DOCUMENTATION_DIRECTORY / "docs"
1212

1313
PLUGIN_TYPES: dict[str, str] = {"inventory": "inventory", "tasks": "tasks"}
1414
PLUGINS_DIRECTORY = Path("nornir_infrahub/plugins")

0 commit comments

Comments
 (0)