Skip to content

Commit eb86ddc

Browse files
andrewesweetclaude
andcommitted
docs: align documentation style with codebase conventions
- Use "This resource allows you to..." voice (matches all enterprise resources) - Use "Creates and manages" in frontmatter description - Move admin access note to inline text (matches enterprise_actions_permissions) - Add empty "Attributes Reference" section (matches enterprise_security_analysis_settings) - Remove ~> callout for destroy note (no precedent in enterprise resource docs) Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
1 parent c427a8d commit eb86ddc

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

website/docs/r/enterprise_private_repository_forking_setting.html.markdown

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,19 @@
22
layout: "github"
33
page_title: "GitHub: github_enterprise_private_repository_forking_setting"
44
description: |-
5-
Manages the private repository forking policy for a GitHub Enterprise.
5+
Creates and manages the private repository forking policy for a GitHub Enterprise.
66
---
77

88
# github_enterprise_private_repository_forking_setting
99

10-
This resource manages the enterprise-level policy that controls whether and where
11-
members can fork private and internal repositories within a GitHub Enterprise.
10+
This resource allows you to create and manage the private repository forking policy for a GitHub Enterprise.
11+
You must have enterprise admin access to use this resource.
1212

1313
When `setting_value` is `ENABLED`, the `policy_value` attribute controls where forks
1414
can be created. When `DISABLED`, forking of private repositories is not allowed.
1515
When `NO_POLICY`, individual organizations within the enterprise control their own
1616
forking settings.
1717

18-
~> **Note:** You must have enterprise admin access to use this resource.
19-
2018
## Example Usage
2119

2220
### Restrict forking to same organization only
@@ -71,7 +69,11 @@ The following arguments are supported:
7169
* `USER_ACCOUNTS` - Members can fork to their user account.
7270
* `EVERYWHERE` - Members can fork to their user account or an organization, either inside or outside of this enterprise.
7371

74-
~> **Note:** Destroying this resource sets the enterprise policy to `NO_POLICY`, which allows individual organizations to control their own forking settings. It does not set the policy to `DISABLED`.
72+
**Note:** Destroying this resource sets the enterprise policy to `NO_POLICY`, which allows individual organizations to control their own forking settings. It does not set the policy to `DISABLED`.
73+
74+
## Attributes Reference
75+
76+
No additional attributes are exported.
7577

7678
## Import
7779

0 commit comments

Comments
 (0)