Open ptgott opened 6 months ago
Here are the pages that include the relevant partials (there's one partial in this list, and it's shared between two guides):
$ find docs/pages/includes -name "*.mdx" -exec awk '
/^<Tabs/{t=1}
t==1 && /^<\/Tabs/{t=0}
t==1 && /[dD]ynamic/{d=1}
t==1 && /[sS]tatic/{s=1}
END{if (s==1 && d==1) print FILENAME }' {} \; | xargs -I{} grep -Rl '{}' docs/pages
docs/pages/database-access/auto-user-provisioning/postgres.mdx
docs/pages/database-access/auto-user-provisioning/mariadb.mdx
docs/pages/database-access/auto-user-provisioning/aws-redshift.mdx
docs/pages/database-access/auto-user-provisioning/mysql.mdx
docs/pages/database-access/auto-user-provisioning/mongodb.mdx
docs/pages/database-access/guides/postgres-redshift.mdx
docs/pages/database-access/guides/rds.mdx
docs/pages/includes/database-access/rds-proxy.mdx
docs/pages/access-controls/sso/gitlab.mdx
docs/pages/access-controls/sso/google-workspace.mdx
docs/pages/access-controls/sso/oidc.mdx
docs/pages/access-controls/sso/adfs.mdx
docs/pages/access-controls/sso/one-login.mdx
docs/pages/access-controls/sso/azuread.mdx
docs/pages/access-controls/sso/okta.mdx
Applies To
Multiple pages. See "Details".
Details
Some how-to guides for setting up Teleport agents include tab items that show users how to perform the same task with both dynamic resources and static agent configs. How-to guides should only provide guidance on a specific procedure, not all possible variations of the procedure, since otherwise a how-to guide can get to complex for users to follow.
For agent-related guides, we should show either configuration using dynamic resources or a static config file, then use the "Next steps" section to indicate that you can do both. We can also modify the Prerequisites sections of these guides to indicate that thes guide will show one several ways of doing things.
Here are guides/partials that include "static" and "dynamic" within a
Tabs
component:How will we know this is resolved?
The
find
command above returns no relevant output, with the pages shown above edited to include only one configuration example.Related Issues