Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v10] docs: remove blocks hiding content and scope links #14117

Merged
merged 1 commit into from
Jul 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
148 changes: 33 additions & 115 deletions docs/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@
"entries": [
{
"title": "Linux Server",
"slug": "/getting-started/linux-server/",
"hideInScopes": [
"enterprise",
"cloud"
]
"slug": "/getting-started/linux-server/"
},
{
"title": "Docker Compose",
Expand All @@ -34,8 +30,7 @@
},
{
"title": "Kubernetes Cluster",
"slug": "/getting-started/kubernetes-cluster/",
"hideInScopes": "cloud"
"slug": "/getting-started/kubernetes-cluster/"
}
]
},
Expand Down Expand Up @@ -98,22 +93,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 @@ -123,8 +114,7 @@
"entries": [
{
"title": "Scaling",
"slug": "/setup/operations/scaling/",
"hideInScopes": "cloud"
"slug": "/setup/operations/scaling/"
},
{
"title": "Upgrading a Cluster",
Expand Down Expand Up @@ -180,8 +170,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 @@ -223,8 +212,7 @@
},
{
"title": "Storage Backends",
"slug": "/setup/reference/backends/",
"hideInScopes": "cloud"
"slug": "/setup/reference/backends/"
},
{
"title": "Networking",
Expand Down Expand Up @@ -330,8 +318,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 @@ -371,8 +358,7 @@
},
{
"title": "Cluster",
"slug": "/kubernetes-access/getting-started/cluster/",
"hideInScopes": "cloud"
"slug": "/kubernetes-access/getting-started/cluster/"
},
{
"title": "Agent",
Expand Down Expand Up @@ -405,32 +391,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 @@ -696,17 +676,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 @@ -758,123 +736,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 @@ -888,23 +814,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