diff --git a/docs/platform/concepts/service-integration.md b/docs/platform/concepts/service-integration.md index 17adb9d07..eee0988aa 100644 --- a/docs/platform/concepts/service-integration.md +++ b/docs/platform/concepts/service-integration.md @@ -1,5 +1,6 @@ --- -title: Service integrations +title: Service integrations overview +sidebar_label: Overview --- Service integrations provide additional functionality and features by connecting different Aiven services together. diff --git a/docs/platform/howto/list-service.md b/docs/platform/howto/list-service.md index 825c4a92f..b5b3d2e41 100644 --- a/docs/platform/howto/list-service.md +++ b/docs/platform/howto/list-service.md @@ -1,5 +1,6 @@ --- title: Service management +sidebar_label: Overview --- import DocCardList from '@theme/DocCardList'; diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 67cb7adc0..243f0e0b9 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -177,24 +177,27 @@ const config: Config = { }, items: [ { - label: 'Console', + type: 'docSidebar', position: 'left', - href: 'https://console.aiven.io/login', + label: 'Platform', + sidebarId: 'main', }, { - label: 'API reference', + type: 'docSidebar', position: 'left', - href: 'https://api.aiven.io/doc/', + label: 'Services', + sidebarId: 'services', }, { - label: 'Changelog', - href: 'https://aiven.io/changelog', + type: 'docSidebar', position: 'left', + label: 'Tools', + sidebarId: 'tools', }, { - href: 'https://github.com/aiven/aiven-docs', - label: 'GitHub', - position: 'left', + label: 'Aiven Console', + position: 'right', + href: 'https://console.aiven.io/login', }, { type: 'search', @@ -265,6 +268,10 @@ const config: Config = { label: 'Support tiers', href: 'https://aiven.io/support-services', }, + { + label: 'Product updates', + href: 'https://aiven.io/changelog', + }, { label: 'Status', href: 'https://status.aiven.io', diff --git a/sidebars.ts b/sidebars.ts index 886a1ecb9..499ab0ed3 100644 --- a/sidebars.ts +++ b/sidebars.ts @@ -174,73 +174,6 @@ const sidebars: SidebarsConfig = { 'platform/howto/saml/add-onelogin-idp', ], }, - { - type: 'category', - label: 'Service management', - link: { - type: 'doc', - id: 'platform/howto/list-service', - }, - items: [ - { - type: 'category', - label: 'Concepts', - items: [ - 'platform/concepts/service-memory-limits', - 'platform/concepts/out-of-memory-conditions', - 'platform/concepts/maintenance-window', - 'platform/howto/custom-plans', - ], - }, - { - type: 'category', - label: 'Backup and restore', - items: [ - 'platform/concepts/service_backups', - 'platform/howto/restore_progress_updates', - { - type: 'category', - label: 'Backup to another region', - link: { - type: 'doc', - id: 'platform/concepts/backup-to-another-region', - }, - items: [ - 'platform/howto/btar/enable-backup-to-another-region', - 'platform/howto/btar/manage-backup-to-another-region', - 'platform/howto/btar/disable-backup-to-another-region', - ], - }, - ], - }, - { - type: 'category', - label: 'Migrations', - items: [ - 'platform/howto/migrate-services-cloud-region', - 'platform/howto/migrate-services-vpc', - ], - }, - { - type: 'category', - label: 'Service scaling', - items: [ - 'platform/howto/scale-services', - 'platform/howto/add-storage-space', - 'platform/howto/disk-autoscaler', - ], - }, - - 'platform/howto/create_new_service', - 'platform/concepts/service-power-cycle', - 'platform/concepts/rename-services', - 'platform/howto/tag-resources', - 'platform/howto/search-services', - 'platform/howto/create_new_service_user', - 'platform/concepts/service-forking', - 'platform/howto/prepare-for-high-load', - ], - }, { type: 'category', label: 'Networking and security', @@ -379,86 +312,9 @@ const sidebars: SidebarsConfig = { 'platform/reference/get-resource-IDs', ], }, - { - type: 'category', - label: 'Integrations', - className: 'expandedSection', - collapsed: false, - collapsible: false, - items: [ - 'platform/concepts/service-integration', - 'platform/howto/create-service-integration', - { - type: 'category', - label: 'Monitoring and logs', - link: { - type: 'doc', - id: 'platform/howto/list-monitoring', - }, - items: [ - { - type: 'category', - label: 'Amazon CloudWatch', - link: { - type: 'doc', - id: 'integrations/cloudwatch', - }, - items: [ - 'integrations/cloudwatch/cloudwatch-metrics', - { - type: 'category', - label: 'CloudWatch logs', - - items: [ - 'integrations/cloudwatch/cloudwatch-logs-console', - 'integrations/cloudwatch/cloudwatch-logs-cli', - ], - }, - ], - }, - { - type: 'category', - label: 'Datadog', - link: { - type: 'doc', - id: 'integrations/datadog', - }, - items: [ - 'integrations/datadog/datadog-metrics', - 'platform/howto/integrations/datadog-increase-metrics-limit', - 'integrations/datadog/datadog-logs', - 'integrations/datadog/add-custom-tags-to-datadog', - ], - }, - 'integrations/send-logs-to-elasticsearch', - 'integrations/cloudlogging', - { - type: 'category', - label: 'Remote Syslog', - link: { - type: 'doc', - id: 'integrations/rsyslog', - }, - items: [ - 'integrations/rsyslog/logtail', - 'integrations/rsyslog/loggly', - ], - }, - 'platform/howto/integrations/access-jmx-metrics-jolokia', - - { - type: 'category', - label: 'Prometheus', - link: { - id: 'platform/howto/integrations/prometheus-metrics', - type: 'doc', - }, - items: ['integrations/prometheus-system-metrics'], - }, - ], - }, - ], - }, + ], + // Tools sidebar + tools: [ { type: 'category', label: 'Aiven dev tools', @@ -528,6 +384,9 @@ const sidebars: SidebarsConfig = { 'tools/doc-diff-llms', ], }, + ], + //Services sidebar + services: [ { type: 'category', label: 'Services', @@ -2015,6 +1874,153 @@ const sidebars: SidebarsConfig = { }, ], }, + { + type: 'category', + label: 'Service management', + className: 'expandedSection', + collapsed: false, + collapsible: false, + items: [ + 'platform/howto/list-service', + { + type: 'category', + label: 'Concepts', + items: [ + 'platform/concepts/service-memory-limits', + 'platform/concepts/out-of-memory-conditions', + 'platform/concepts/maintenance-window', + 'platform/howto/custom-plans', + ], + }, + { + type: 'category', + label: 'Backup and restore', + items: [ + 'platform/concepts/service_backups', + 'platform/howto/restore_progress_updates', + { + type: 'category', + label: 'Backup to another region', + link: { + type: 'doc', + id: 'platform/concepts/backup-to-another-region', + }, + items: [ + 'platform/howto/btar/enable-backup-to-another-region', + 'platform/howto/btar/manage-backup-to-another-region', + 'platform/howto/btar/disable-backup-to-another-region', + ], + }, + ], + }, + { + type: 'category', + label: 'Migrations', + items: [ + 'platform/howto/migrate-services-cloud-region', + 'platform/howto/migrate-services-vpc', + ], + }, + { + type: 'category', + label: 'Service scaling', + items: [ + 'platform/howto/scale-services', + 'platform/howto/add-storage-space', + 'platform/howto/disk-autoscaler', + ], + }, + + 'platform/howto/create_new_service', + 'platform/concepts/service-power-cycle', + 'platform/concepts/rename-services', + 'platform/howto/tag-resources', + 'platform/howto/search-services', + 'platform/howto/create_new_service_user', + 'platform/concepts/service-forking', + 'platform/howto/prepare-for-high-load', + ], + }, + { + type: 'category', + label: 'Integrations', + className: 'expandedSection', + collapsed: false, + collapsible: false, + items: [ + 'platform/concepts/service-integration', + 'platform/howto/create-service-integration', + { + type: 'category', + label: 'Monitoring and logs', + link: { + type: 'doc', + id: 'platform/howto/list-monitoring', + }, + items: [ + { + type: 'category', + label: 'Amazon CloudWatch', + link: { + type: 'doc', + id: 'integrations/cloudwatch', + }, + items: [ + 'integrations/cloudwatch/cloudwatch-metrics', + { + type: 'category', + label: 'CloudWatch logs', + + items: [ + 'integrations/cloudwatch/cloudwatch-logs-console', + 'integrations/cloudwatch/cloudwatch-logs-cli', + ], + }, + ], + }, + { + type: 'category', + label: 'Datadog', + link: { + type: 'doc', + id: 'integrations/datadog', + }, + items: [ + 'integrations/datadog/datadog-metrics', + 'platform/howto/integrations/datadog-increase-metrics-limit', + 'integrations/datadog/datadog-logs', + 'integrations/datadog/add-custom-tags-to-datadog', + ], + }, + 'integrations/send-logs-to-elasticsearch', + 'integrations/cloudlogging', + { + type: 'category', + label: 'Remote Syslog', + link: { + type: 'doc', + id: 'integrations/rsyslog', + }, + items: [ + 'integrations/rsyslog/logtail', + 'integrations/rsyslog/loggly', + ], + }, + 'platform/howto/integrations/access-jmx-metrics-jolokia', + + { + type: 'category', + label: 'Prometheus', + link: { + id: 'platform/howto/integrations/prometheus-metrics', + type: 'doc', + }, + items: ['integrations/prometheus-system-metrics'], + }, + ], + }, + ], + }, ], }; diff --git a/src/css/custom.css b/src/css/custom.css index 2c318fb8c..664d2ba8d 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -268,7 +268,7 @@ ul + div { /* Sidebar section titles */ .expandedSection > div > a { - font-weight: bold; + font-weight: 900; padding-top: 1em; padding-bottom: 0.5em; } diff --git a/src/css/navbar.css b/src/css/navbar.css index 41ecee550..fe3bce3b2 100644 --- a/src/css/navbar.css +++ b/src/css/navbar.css @@ -37,6 +37,18 @@ color: var(--ifm-link-color); } +.navbar__title { + display: none; +} + +/* Dropdown */ +.navbar__item .dropdown__menu { + border: 1px solid var(--ifm-color-emphasis-200); + border-radius: 8px; + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); + min-width: 200px; +} + .dropdown__link--active { background-color: transparent; color: var(--ifm-text-color); @@ -46,8 +58,17 @@ } .dropdown__link { + padding: 12px 16px; + font-weight: 500; color: var(--ifm-text-color); } -.navbar__title { - display: none; + +.dropdown__link:hover { + background-color: var(--aiven-nav-active-bg); + color: var(--ifm-link-color); +} + +[data-theme='dark'] .dropdown__link:hover { + background-color: var(--aiven-nav-active-bg); + color: var(--ifm-color-primary); }