Skip to content

Commit 423cfbf

Browse files
authored
Merge pull request #577 from opsmill/stable
Merge stable into develop
2 parents 9aaadad + d8f58b5 commit 423cfbf

File tree

4 files changed

+1341
-891
lines changed

4 files changed

+1341
-891
lines changed

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
20

docs/docs/python-sdk/guides/resource-manager.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ We will use `allocate_next_ip_address` to allocated an IP address out of the `Co
180180

181181
We provided a data argument to method. This data argument is used to pass attributes and relationships that we want to set on the allocated resource. In this case we are setting to the description of the allocated IP Address.
182182

183-
You can allocate resources in an idempotent way by passing an identifier argument to the allocation method. This identifier links the resource pool with the allocated resource allowing us to create idempotent allocation behavior. This is crucial when you want to allocate resources in an idempotent way using [generators](https://github.com/opsmill/infrahub-docs/blob/main/docs/docs/topics/generator).
183+
You can allocate resources in an idempotent way by passing an identifier argument to the allocation method. This identifier links the resource pool with the allocated resource allowing us to create idempotent allocation behavior. This is crucial when you want to allocate resources in an idempotent way using [generators](https://docs.infrahub.app/topics/generator).
184184

185185
In this example we are executing the `allocate_next_ip_address` method 2 times, using the same identifier.
186186

docs/docusaurus.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ const config: Config = {
1818
organizationName: 'opsmill',
1919
projectName: 'infrahub-sdk-python',
2020
onBrokenLinks: 'throw',
21-
onBrokenMarkdownLinks: 'warn',
2221
onDuplicateRoutes: "throw",
2322
// Even if you don't use internationalization, you can use this field to set
2423
// useful metadata like html lang. For example, if your site is Chinese, you
@@ -123,6 +122,9 @@ const config: Config = {
123122
});
124123
return transformedContent;
125124
},
125+
hooks: {
126+
onBrokenMarkdownLinks: 'warn',
127+
},
126128
},
127129
};
128130

0 commit comments

Comments
 (0)