Skip to content

Commit

Permalink
Simplify tctl and tsh partials (#46165)
Browse files Browse the repository at this point in the history
Closes #27252

Consolidate the `tctl-tsh-prerequisite.mdx` partial, which exists for
each Teleport edition. Edition-specific variations of this partial are
used in only 1-2 guides each, so consolidating these partials helps us
take advantage of reusability.
  • Loading branch information
ptgott authored Sep 3, 2024
1 parent 714c174 commit acea137
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docs/pages/admin-guides/access-controls/sso/okta.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ guide you through configuring the Okta integration.

<Tabs>
<TabItem label="Teleport Enterprise (Self-Hosted)" scope="enterprise">
- (!docs/pages/includes/enterprise/tctl-tsh-prerequisite.mdx!)
- (!docs/pages/includes/tctl-tsh-prerequisite.mdx!)
</TabItem>
<TabItem label="Teleport Cloud" scope="cloud">
- (!docs/pages/includes/cloud/tctl-tsh-prerequisite.mdx!)
- (!docs/pages/includes/tctl-tsh-prerequisite.mdx!)
</TabItem>
</Tabs>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ For example, this Teleport Proxy Service configuration would use self-signed cer
acme: {}
```
- (!docs/pages/includes/enterprise/tctl-tsh-prerequisite.mdx!)
- (!docs/pages/includes/tctl-tsh-prerequisite.mdx!)
</TabItem>
</Tabs>
Expand Down
2 changes: 0 additions & 2 deletions docs/pages/includes/cloud/tctl-tsh-prerequisite.mdx

This file was deleted.

2 changes: 0 additions & 2 deletions docs/pages/includes/enterprise/tctl-tsh-prerequisite.mdx

This file was deleted.

0 comments on commit acea137

Please sign in to comment.