Closed publi0 closed 1 month ago
Hi @publi0!
I think this is a great idea! We'd be very happy to accept a PR adding this. Let us know if you have any questions around categorization.
I think the best approach is follow the digitalocean manage menu for categories
App Platform
Droplets
Kubernetes
Volumes Block Storage
Databases
Spaces Object Storage
Container Registry
Backups & Snapshots
Networking
Monitoring
Account
@andrewsomething I didn't find any Makefile or script referencing the Terraform plugin for generating documentation. Do you use the plugin, or do you build the documentation manually? If it's the latter, a script for automatically adjusting the subcategories wouldn't be necessary
+1 for following the control panel's categorization.
Do you use the plugin, or do you build the documentation manually?
Currently we are creating the documentation manually.
@publi0 This is now live with the latest release! Thanks again for the great contribution!
https://registry.terraform.io/providers/digitalocean/digitalocean/latest/docs
Enhance DigitalOcean Terraform Provider Documentation with Subcategories
Current Situation
The current Terraform Registry documentation for the DigitalOcean provider lacks organization, making it difficult to navigate and find specific resources or data sources.
All resources (including databases) are grouped together, which:
Proposed Improvement
Implement subcategories in the resources documentation markdown file to improve organization and readability.
Benefits:
Implementation Challenges
The current Terraform documentation plugin doesn't have a built-in option to define subcategories, requiring manual definition in the markdown files.
Proposed Solution
Create a script to automatically adjust the markdown files and add the necessary subcategory definitions.
If this idea is approved, I volunteer to implement the solution :)