Skip to content

Commit

Permalink
docs: (slightly) improve descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
acch committed Oct 8, 2024
1 parent c584c37 commit b1f0011
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions docs/data-sources/organization.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
page_title: "forgejo_organization Data Source - forgejo"
subcategory: ""
description: |-
Organization data source
Forgejo organization data source
---

# forgejo_organization (Data Source)

Organization data source
Forgejo organization data source

## Example Usage

Expand Down
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
page_title: "forgejo Provider"
subcategory: ""
description: |-
Terraform provider for Forgejo — self-hosted lightweight software forge
---

# forgejo Provider


Terraform provider for Forgejo — self-hosted lightweight software forge

## Example Usage

Expand Down
4 changes: 2 additions & 2 deletions docs/resources/organization.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
page_title: "forgejo_organization Resource - forgejo"
subcategory: ""
description: |-
Organization resource
Forgejo organization resource
---

# forgejo_organization (Resource)

Organization resource
Forgejo organization resource

## Example Usage

Expand Down
2 changes: 1 addition & 1 deletion internal/provider/organization_data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func (d *organizationDataSource) Metadata(_ context.Context, req datasource.Meta
// Schema defines the schema for the data source.
func (d *organizationDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse) {
resp.Schema = schema.Schema{
Description: "Organization data source",
Description: "Forgejo organization data source",

Attributes: map[string]schema.Attribute{
"id": schema.Int64Attribute{
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/organization_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func (r *organizationResource) Metadata(_ context.Context, req resource.Metadata
// Schema defines the schema for the resource.
func (r *organizationResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse) {
resp.Schema = schema.Schema{
Description: "Organization resource",
Description: "Forgejo organization resource",

Attributes: map[string]schema.Attribute{
"id": schema.Int64Attribute{
Expand Down
2 changes: 2 additions & 0 deletions internal/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ func (p *forgejoProvider) Metadata(_ context.Context, _ provider.MetadataRequest
// Schema defines the provider-level schema for configuration data.
func (p *forgejoProvider) Schema(_ context.Context, _ provider.SchemaRequest, resp *provider.SchemaResponse) {
resp.Schema = schema.Schema{
Description: "Terraform provider for Forgejo — self-hosted lightweight software forge",

Attributes: map[string]schema.Attribute{
"host": schema.StringAttribute{
Description: "URI for Forgejo API. May also be provided via FORGEJO_HOST environment variable.",
Expand Down

0 comments on commit b1f0011

Please sign in to comment.