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 6, 2022
1 parent b66b1bd commit 0e50979
Show file tree
Hide file tree
Showing 38 changed files with 40 additions and 789 deletions.
99 changes: 32 additions & 67 deletions docs/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +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 @@ -91,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 @@ -116,8 +110,7 @@
"entries": [
{
"title": "Scaling",
"slug": "/setup/operations/scaling/",
"hideInScopes": "cloud"
"slug": "/setup/operations/scaling/"
},
{
"title": "Upgrading a Cluster",
Expand Down Expand Up @@ -173,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 @@ -216,8 +208,7 @@
},
{
"title": "Storage Backends",
"slug": "/setup/reference/backends/",
"hideInScopes": "cloud"
"slug": "/setup/reference/backends/"
},
{
"title": "Networking",
Expand Down Expand Up @@ -323,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 @@ -360,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 @@ -394,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 @@ -685,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 @@ -747,75 +728,61 @@
},
{
"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"]
"slug": "/enterprise/workflow/"
},
{
"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 @@ -829,17 +796,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 @@ -294,5 +283,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 @@ -205,4 +194,3 @@ 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
16 changes: 0 additions & 16 deletions docs/pages/enterprise/fedramp.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,6 @@ h1: FedRAMP Compliance for Infrastructure Access
Teleport provides the foundation to meet FedRAMP requirements for the purposes of accessing infrastructure. This includes support for [FIPS 140-2](https://en.wikipedia.org/wiki/FIPS\_140-2), also known as the Federal Information Processing Standard, which is the US government approved standard for cryptographic modules. This document outlines a high
level overview of how Teleport FIPS mode works and how it can help your company to become FedRAMP certified.

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

This guide is intended for Teleport Enterprise users.

<TileSet>
<Tile title="View this guide as a Teleport Enterprise user" icon="building" href="./fedramp.mdx/?scope=enterprise">

</Tile>
</TileSet>

</ScopedBlock>

<ScopedBlock scope="enterprise">

### Obtain FedRAMP certification with Teleport

Teleport includes new FedRAMP and FIPS 140-2 features to support companies that sell into
Expand Down Expand Up @@ -159,5 +145,3 @@ is emitted to the Audit Log.
- Removes all uses of non-compliant algorithms like NaCl and replace with compliant algorithms like AES-GCM.
- Teleport is compiled with [BoringCrypto](https://csrc.nist.gov/projects/cryptographic-module-validation-program/certificate/3678)
- User, host and CA certificates (and host keys for recording proxy mode) should only use 2048-bit RSA private keys.

</ScopedBlock>
15 changes: 0 additions & 15 deletions docs/pages/enterprise/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,6 @@ h1: Teleport Enterprise Quick Start

This guide shows you how to get up and running with Teleport Enterprise.

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

This guide is intended for Teleport Enterprise users.

<TileSet>
<Tile title="View this guide as a Teleport Enterprise user" icon="building" href="./getting-started.mdx/?scope=enterprise">

</Tile>
</TileSet>

</ScopedBlock>

<ScopedBlock scope="enterprise">

There are three types of services Teleport can run:

- **Auth Service** stores user accounts and provides authentication and
Expand Down Expand Up @@ -474,4 +460,3 @@ If something is not working, please reach out to us by creating a ticket in your
Customers who have purchased the premium support package can also ping us through
your Slack channel.

</ScopedBlock>
Loading

0 comments on commit 0e50979

Please sign in to comment.