From de412081640995f3c3cbac807510bca2d61b4809 Mon Sep 17 00:00:00 2001 From: Thomas Heartman Date: Fri, 14 Jan 2022 13:19:13 +0100 Subject: [PATCH] docs: create categories and group how-to guides. This probably needs more discussion etc, but it's a good start, I think. --- website/sidebars.js | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/website/sidebars.js b/website/sidebars.js index 11db850b73..670b102152 100644 --- a/website/sidebars.js +++ b/website/sidebars.js @@ -30,18 +30,25 @@ module.exports = { slug: '/how-to', }, items: [ - 'how-to/how-to-add-strategy-constraints', - 'how-to/how-to-define-custom-context-fields', - 'how-to/how-to-use-custom-strategies', - - 'advanced/sso-open-id-connect', - 'advanced/sso-saml', - 'advanced/sso-saml-keycloak', - 'advanced/sso-google', - 'advanced/api_access', - 'user_guide/api-token', - 'user_guide/user-management', - 'user_guide/create_feature_toggle', + { + API: ['advanced/api_access', 'user_guide/api-token'], + 'Feature toggles, strategies, and related': [ + 'how-to/how-to-add-strategy-constraints', + 'how-to/how-to-define-custom-context-fields', + 'how-to/how-to-use-custom-strategies', + 'user_guide/create_feature_toggle', + ], + 'Users and permissions': [ + 'how-to/how-to-create-and-assign-custom-project-roles', + 'user_guide/user-management', + ], + SSO: [ + 'advanced/sso-open-id-connect', + 'advanced/sso-saml', + 'advanced/sso-saml-keycloak', + 'advanced/sso-google', + ], + }, ], }, {