Skip to content

feat: Generate docs#3199

Draft
stevehipwell wants to merge 1 commit intointegrations:mainfrom
stevehipwell:generate-docs
Draft

feat: Generate docs#3199
stevehipwell wants to merge 1 commit intointegrations:mainfrom
stevehipwell:generate-docs

Conversation

@stevehipwell
Copy link
Copy Markdown
Collaborator

@stevehipwell stevehipwell commented Feb 16, 2026

Resolves #2924
Resolves #2961
Resolves #2897
Resolves #3241
Closes #2987


Before the change?

  • Docs were manually generated

After the change?

  • Docs auto-generated using tfplugindocs

Pull request checklist

  • Schema migrations have been created if needed (example)
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)

Does this introduce a breaking change?

Please see our docs on breaking changes to help!

  • Yes
  • No

@stevehipwell stevehipwell added this to the v6.12.0 Release milestone Feb 16, 2026
@stevehipwell stevehipwell self-assigned this Feb 16, 2026
@stevehipwell stevehipwell added the Type: Maintenance Any dependency, housekeeping, and clean up Issue or PR label Feb 16, 2026
@github-actions
Copy link
Copy Markdown

👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀

Signed-off-by: Steve Hipwell <steve.hipwell@gmail.com>
@ViacheslavKudinov
Copy link
Copy Markdown
Contributor

There is a new one #3241 duplication

Copy link
Copy Markdown
Collaborator

@deiga deiga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added some non-critical suggestions. I didn't review all the templates as I think you made as small as possible changes.

What else can I do to help get this merged?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would propose moving linting, testing and docs validation into separate jobs to get parallel runs that don't block each other

//go:generate go tool github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs generate --rendered-provider-name=GitHub

// Check for misspellings in documentation.
//go:generate go tool github.com/client9/misspell/cmd/misspell -error -i "docs/**/*.md"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: since the client9/misspell hasn't been updated in a while and there exists a maintained fork https://github.com/golangci/misspell, should we use that instead?

@@ -1,4 +1,4 @@
# Hi fellow bots and humans :wave:
# Hi fellow bots and humans :wave
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Accidental deeltion?

Suggested change
# Hi fellow bots and humans :wave
# Hi fellow bots and humans :wave:

[per-file-ignores]
".github/pull_request_template.md" = ["MD041"]
"docs/**/*.md" = ["MD059"]

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we wanted to consolidate on using dash for UL, right? We could add this rule then

Suggested change
[MD004]
style = "dash"

".github/pull_request_template.md" = ["MD041"]
"docs/**/*.md" = ["MD059"]

[MD024]
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it might be worth setting the list indentation to 4, though I can't recall why that was 😬

Suggested change
[MD024]
[MD007]
indent = 4
[MD024]

Comment on lines +15 to +23
## Argument Reference

- `repository` - (Required) Name of the repository to get public key from.
- `environment` - (Required) Name of the environment to get public key from.

## Attributes Reference

- `key_id` - ID of the key that has been retrieved.
- `key` - Actual key retrieved.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you considered using an even more automatic approach here? Or would you like to do ~minimal changes now and then ramping up ~full automation level?

Suggested change
## Argument Reference
- `repository` - (Required) Name of the repository to get public key from.
- `environment` - (Required) Name of the environment to get public key from.
## Attributes Reference
- `key_id` - ID of the key that has been retrieved.
- `key` - Actual key retrieved.
{{ .SchemaMarkdown | trimspace }}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Maintenance Any dependency, housekeeping, and clean up Issue or PR

Projects

None yet

3 participants