Skip to content

Commit d6192fc

Browse files
authored
chore(docs): add provider schema (#39)
1 parent cd1599f commit d6192fc

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

docs/index.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@
33
page_title: "envbuilder Provider"
44
subcategory: ""
55
description: |-
6-
6+
The Envbuilder provider can be used to check for the presence of a container image previously built by Envbuilder https://github.com/coder/envbuilder.
7+
This allows re-using a previously built image pushed to a container registry without having to rebuild it.
78
---
89

910
# envbuilder Provider
1011

11-
12+
The Envbuilder provider can be used to check for the presence of a container image previously built by [Envbuilder](https://github.com/coder/envbuilder).
13+
This allows re-using a previously built image pushed to a container registry without having to rebuild it.
1214

1315
## Example Usage
1416

internal/provider/provider.go

+3
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ func (p *EnvbuilderProvider) Metadata(ctx context.Context, req provider.Metadata
3636
func (p *EnvbuilderProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse) {
3737
resp.Schema = schema.Schema{
3838
Attributes: map[string]schema.Attribute{},
39+
MarkdownDescription: `
40+
The Envbuilder provider can be used to check for the presence of a container image previously built by [Envbuilder](https://github.com/coder/envbuilder).
41+
This allows re-using a previously built image pushed to a container registry without having to rebuild it.`,
3942
}
4043
}
4144

0 commit comments

Comments
 (0)