From b3c28de0bb1a337deb4dca03298dab13554d2b2f Mon Sep 17 00:00:00 2001 From: Thomas Heartman Date: Tue, 25 Jan 2022 12:20:53 +0100 Subject: [PATCH] docs: add introduction as separate entry --- website/sidebars.js | 165 ++++++++++++++++++++------------------------ 1 file changed, 73 insertions(+), 92 deletions(-) diff --git a/website/sidebars.js b/website/sidebars.js index 5dd6d1d386..0e4cd3566a 100644 --- a/website/sidebars.js +++ b/website/sidebars.js @@ -10,97 +10,78 @@ */ module.exports = { - documentation: { - 'Tutorials': [ 'user_guide/index'], - 'Reference documentation': [ 'user_guide/index'], - 'Getting started': [ - 'user_guide/index', - 'user_guide/quickstart', - 'user_guide/important-concepts', - 'user_guide/v4-whats-new', - 'user_guide/create_feature_toggle', - 'user_guide/activation_strategy', - 'user_guide/control_rollout', - 'user_guide/projects', - 'user_guide/environments', - 'user_guide/unleash_context', - 'user_guide/user-management', - 'user_guide/rbac', - 'user_guide/api-token', - 'user_guide/technical_debt', - ], - 'Unleash SDKs': [ - 'sdks/index', - 'sdks/unleash-proxy', - { - type: 'category', - collapsible: false, - label: 'Server-side SDKs', - items: [ - 'sdks/go_sdk', - 'sdks/java_sdk', - 'sdks/node_sdk', - 'sdks/php_sdk', - 'sdks/python_sdk', - 'sdks/ruby_sdk', - { - type: 'link', - href: 'https://github.com/unleash/unleash-client-rust', - label: 'Rust SDK', - }, - 'sdks/dot_net_sdk', - ], - }, - { - type: 'category', - collapsible: false, - label: 'Client-side SDKs', - items: [ - 'sdks/android_proxy_sdk', - 'sdks/proxy-ios', - 'sdks/proxy-javascript', - 'sdks/proxy-react', - ], - }, - { - type: 'link', - label: 'Community SDKs', - href: '/sdks#community-sdks', - }, - ], - Addons: [ - 'addons/index', - 'addons/webhook', - 'addons/slack', - 'addons/teams', - 'addons/datadog', - ], - Advanced: [ - 'advanced/strategy_constraints', - 'advanced/custom_activation_strategy', - 'advanced/feature_toggle_types', - 'advanced/toggle_variants', - 'advanced/stickiness', - 'advanced/archived_toggles', - 'advanced/audit_log', - 'advanced/api_access', - 'advanced/tags', - 'advanced/enterprise-authentication', - 'advanced/sso-open-id-connect', - 'advanced/sso-saml', - 'advanced/sso-saml-keycloak', - 'advanced/sso-google', - ], - 'Topic guides': [ - 'topics/a-b-testing' - ], - "How-to guides": [ - "how-to/how-to-add-strategy-constraints", - "how-to/how-to-create-and-assign-custom-project-roles", - "how-to/how-to-define-custom-context-fields", - "how-to/how-to-use-custom-strategies", - ] - }, + documentation: [ + 'user_guide/index', + { + Tutorials: ['user_guide/index'], + 'Reference documentation': ['user_guide/index'], + 'Getting started': [ + 'user_guide/index', + 'user_guide/quickstart', + 'user_guide/important-concepts', + 'user_guide/v4-whats-new', + 'user_guide/create_feature_toggle', + 'user_guide/activation_strategy', + 'user_guide/control_rollout', + 'user_guide/projects', + 'user_guide/environments', + 'user_guide/unleash_context', + 'user_guide/user-management', + 'user_guide/rbac', + 'user_guide/api-token', + 'user_guide/technical_debt', + ], + 'Unleash SDKs': [ + 'sdks/index', + 'sdks/java_sdk', + 'sdks/node_sdk', + 'sdks/dot_net_sdk', + 'sdks/go_sdk', + 'sdks/python_sdk', + 'sdks/ruby_sdk', + 'sdks/php_sdk', + 'sdks/unleash-proxy', + 'sdks/android_proxy_sdk', + 'sdks/proxy-javascript', + 'sdks/proxy-react', + 'sdks/proxy-ios', + { + label: 'Community SDKs', + type: 'link', + href: '/sdks#community-sdks', + }, + ], + Addons: [ + 'addons/index', + 'addons/webhook', + 'addons/slack', + 'addons/teams', + 'addons/datadog', + ], + Advanced: [ + 'advanced/strategy_constraints', + 'advanced/custom_activation_strategy', + 'advanced/feature_toggle_types', + 'advanced/toggle_variants', + 'advanced/stickiness', + 'advanced/archived_toggles', + 'advanced/audit_log', + 'advanced/api_access', + 'advanced/tags', + 'advanced/enterprise-authentication', + 'advanced/sso-open-id-connect', + 'advanced/sso-saml', + 'advanced/sso-saml-keycloak', + 'advanced/sso-google', + ], + 'Topic guides': ['topics/a-b-testing'], + 'How-to guides': [ + 'how-to/how-to-add-strategy-constraints', + 'how-to/how-to-define-custom-context-fields', + 'how-to/how-to-use-custom-strategies', + ], + }, + ], api: { Introduction: [ 'api/index', @@ -146,6 +127,6 @@ module.exports = { 'Jira server': [ 'integrations/jira_server_plugin_installation', 'integrations/jira_server_plugin_usage', - ] + ], }, };