Skip to content

Commit

Permalink
docs: remove blocks hiding content and scope links
Browse files Browse the repository at this point in the history
Backports #14085

remove blocks hiding content and scope links, fixes #14052
  • Loading branch information
klizhentas authored and ptgott committed Jul 5, 2022
1 parent 66abe0e commit 2223735
Show file tree
Hide file tree
Showing 40 changed files with 41 additions and 856 deletions.
151 changes: 33 additions & 118 deletions docs/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,15 @@
"entries": [
{
"title": "Linux Server",
"slug": "/getting-started/linux-server/",
"hideInScopes": [
"enterprise",
"cloud"
]
"slug": "/getting-started/linux-server/"
},
{
"title": "Docker Compose",
"slug": "/getting-started/docker-compose/"
},
{
"title": "DigitalOcean",
"slug": "/getting-started/digitalocean/",
"hideInScopes": [
"enterprise",
"cloud"
]
"slug": "/getting-started/digitalocean/"
}
]
},
Expand Down Expand Up @@ -97,22 +89,18 @@
{
"title": "Deployments",
"slug": "/setup/deployments/",
"hideInScopes": "cloud",
"entries": [
{
"title": "AWS Terraform",
"slug": "/setup/deployments/aws-terraform/",
"hideInScopes": "cloud"
"slug": "/setup/deployments/aws-terraform/"
},
{
"title": "GCP",
"slug": "/setup/deployments/gcp/",
"hideInScopes": "cloud"
"slug": "/setup/deployments/gcp/"
},
{
"title": "IBM",
"slug": "/setup/deployments/ibm/",
"hideInScopes": "cloud"
"slug": "/setup/deployments/ibm/"
}
]
},
Expand All @@ -122,8 +110,7 @@
"entries": [
{
"title": "Scaling",
"slug": "/setup/operations/scaling/",
"hideInScopes": "cloud"
"slug": "/setup/operations/scaling/"
},
{
"title": "Upgrading a Cluster",
Expand Down Expand Up @@ -179,8 +166,7 @@
},
{
"title": "Joining Nodes via AWS EC2",
"slug": "/setup/guides/joining-nodes-aws-ec2/",
"hideInScopes": "cloud"
"slug": "/setup/guides/joining-nodes-aws-ec2/"
},
{
"title": "Using Teleport's CA with GitHub",
Expand Down Expand Up @@ -222,8 +208,7 @@
},
{
"title": "Storage Backends",
"slug": "/setup/reference/backends/",
"hideInScopes": "cloud"
"slug": "/setup/reference/backends/"
},
{
"title": "Networking",
Expand Down Expand Up @@ -329,8 +314,7 @@
},
{
"title": "Recording Proxy Mode",
"slug": "/server-access/guides/recording-proxy-mode/",
"hideInScopes": "cloud"
"slug": "/server-access/guides/recording-proxy-mode/"
},
{
"title": "BPF Session Recording",
Expand Down Expand Up @@ -366,8 +350,7 @@
},
{
"title": "Cluster",
"slug": "/kubernetes-access/getting-started/cluster/",
"hideInScopes": "cloud"
"slug": "/kubernetes-access/getting-started/cluster/"
},
{
"title": "Agent",
Expand Down Expand Up @@ -400,32 +383,26 @@
{
"title": "Helm Guides",
"slug": "/kubernetes-access/helm/guides/",
"hideInScopes": "cloud",
"entries": [
{
"title": "AWS EKS Cluster",
"slug": "/kubernetes-access/helm/guides/aws/",
"hideInScopes": "cloud"
"slug": "/kubernetes-access/helm/guides/aws/"
},
{
"title": "Google Cloud GKE Cluster",
"slug": "/kubernetes-access/helm/guides/gcp/",
"hideInScopes": "cloud"
"slug": "/kubernetes-access/helm/guides/gcp/"
},
{
"title": "DigitalOcean Kubernetes Cluster",
"slug": "/kubernetes-access/helm/guides/digitalocean/",
"hideInScopes": "cloud"
"slug": "/kubernetes-access/helm/guides/digitalocean/"
},
{
"title": "Customize Deployment Config",
"slug": "/kubernetes-access/helm/guides/custom/",
"hideInScopes": "cloud"
"slug": "/kubernetes-access/helm/guides/custom/"
},
{
"title": "Migrating From Older Charts",
"slug": "/kubernetes-access/helm/guides/migration/",
"hideInScopes": "cloud"
"slug": "/kubernetes-access/helm/guides/migration/"
}
]
},
Expand Down Expand Up @@ -691,17 +668,15 @@
},
{
"title": "Dual Authorization",
"slug": "/access-controls/guides/dual-authz/",
"hideInScopes": "oss"
"slug": "/access-controls/guides/dual-authz/"
},
{
"title": "Impersonation",
"slug": "/access-controls/guides/impersonation/"
},
{
"title": "Moderated Sessions",
"slug": "/access-controls/guides/moderated-sessions/",
"hideInScopes": "oss"
"slug": "/access-controls/guides/moderated-sessions/"
}
]
},
Expand Down Expand Up @@ -753,123 +728,71 @@
},
{
"title": "Getting Started",
"slug": "/enterprise/getting-started/",
"hideInScopes": [
"oss",
"cloud"
]
"slug": "/enterprise/getting-started/"
},
{
"title": "Single Sign-On (SSO)",
"slug": "/enterprise/sso/",
"hideInScopes": [
"oss"
],
"entries": [
{
"title": "Azure Active Directory (AD)",
"slug": "/enterprise/sso/azuread/",
"hideInScopes": [
"oss"
]
"slug": "/enterprise/sso/azuread/"
},
{
"title": "Active Directory (ADFS)",
"slug": "/enterprise/sso/adfs/",
"hideInScopes": [
"oss"
]
"slug": "/enterprise/sso/adfs/"
},
{
"title": "Google Workspace",
"slug": "/enterprise/sso/google-workspace/",
"hideInScopes": [
"oss"
]
"slug": "/enterprise/sso/google-workspace/"
},
{
"title": "GitLab",
"slug": "/enterprise/sso/gitlab/",
"hideInScopes": [
"oss"
]
"slug": "/enterprise/sso/gitlab/"
},
{
"title": "OneLogin",
"slug": "/enterprise/sso/one-login/",
"hideInScopes": [
"oss"
]
"slug": "/enterprise/sso/one-login/"
},
{
"title": "OIDC",
"slug": "/enterprise/sso/oidc/",
"hideInScopes": [
"oss"
]
"slug": "/enterprise/sso/oidc/"
},
{
"title": "Okta",
"slug": "/enterprise/sso/okta/",
"hideInScopes": [
"oss"
]
"slug": "/enterprise/sso/okta/"
}
]
},
{
"title": "Access Requests",
"slug": "/enterprise/workflow/",
"hideInScopes": [
"oss"
],
"entries": [
{
"title": "Resource Access Requests",
"slug": "/enterprise/workflow/resource-requests/",
"hideInScopes": [
"oss"
]
"slug": "/enterprise/workflow/resource-requests/"
},
{
"title": "Role Access Requests",
"slug": "/enterprise/workflow/role-requests/",
"hideInScopes": [
"oss"
]
"slug": "/enterprise/workflow/role-requests/"
}
]
},
{
"title": "FedRAMP",
"slug": "/enterprise/fedramp/",
"hideInScopes": [
"cloud",
"oss"
]
"slug": "/enterprise/fedramp/"
},
{
"title": "SOC2",
"slug": "/enterprise/soc2/",
"hideInScopes": [
"oss"
]
"slug": "/enterprise/soc2/"
},
{
"title": "HSM",
"slug": "/enterprise/hsm/",
"hideInScopes": [
"cloud",
"oss"
]
"slug": "/enterprise/hsm/"
},
{
"title": "Enterprise License File",
"slug": "/enterprise/license/",
"hideInScopes": [
"cloud",
"oss"
]
"slug": "/enterprise/license/"
}
]
},
Expand All @@ -883,23 +806,15 @@
},
{
"title": "Getting Started",
"slug": "/cloud/getting-started/",
"hideInScopes": [
"oss",
"enterprise"
]
"slug": "/cloud/getting-started/"
},
{
"title": "Architecture",
"slug": "/cloud/architecture/"
},
{
"title": "Downloads",
"slug": "/cloud/downloads/",
"hideInScopes": [
"oss",
"enterprise"
]
"slug": "/cloud/downloads/"
},
{
"title": "FAQ",
Expand Down
13 changes: 0 additions & 13 deletions docs/pages/access-controls/guides/dual-authz.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,8 @@ of two team members for a privileged role `dbadmin`.
edition of Teleport only supports [GitHub](../../setup/admin/github-sso.mdx) as
an SSO provider.

View this guide as a user of another Teleport edition:

<TileSet>
<Tile href="./dual-authz.mdx/?scope=cloud" title="Teleport Cloud" icon="cloud">
</Tile>
<Tile href="./dual-authz.mdx/?scope=enterprise" title="Teleport Enterprise" icon="building">
</Tile>
</TileSet>

</ScopedBlock>

<ScopedBlock scope={["enterprise", "cloud"]}>

<Admonition title="Note" type="tip">
The steps below describe how to use Teleport with Mattermost. You can also [integrate with many other providers](../../enterprise/workflow/index.mdx).
</Admonition>
Expand Down Expand Up @@ -257,5 +246,3 @@ auth_service:
```
</ScopedBlock>
</ScopedBlock>
12 changes: 0 additions & 12 deletions docs/pages/access-controls/guides/moderated-sessions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,8 @@ in the session, and terminate the session at will.

Moderated Sessions requires Teleport Enterprise or Teleport Cloud.

View this guide as a user of another Teleport edition:

<TileSet>
<Tile href="./moderated-sessions.mdx/?scope=cloud" title="Teleport Cloud" icon="cloud">
</Tile>
<Tile href="./moderated-sessions.mdx/?scope=enterprise" title="Teleport Enterprise" icon="building">
</Tile>
</TileSet>

</ScopedBlock>

<ScopedBlock scope={["cloud", "enterprise"]}>

### Use cases

Moderated Sessions are useful in the following scenarios:
Expand Down Expand Up @@ -227,4 +216,3 @@ example be used to enable notifications over some external communication system.

- [Moderated Sessions](https://github.com/gravitational/teleport/blob/master/rfd/0043-kubeaccess-multiparty.md)

</ScopedBlock>
2 changes: 1 addition & 1 deletion docs/pages/cloud/introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ desktops, and service accounts.
Sign up for a free trial of Teleport Cloud

</Tile>
<Tile icon="cloud" title="Get started" href="./getting-started.mdx/?scope=cloud">
<Tile icon="cloud" title="Get started" href="./getting-started.mdx">

Start using your Teleport Cloud account

Expand Down
Loading

0 comments on commit 2223735

Please sign in to comment.