Skip to content

Commit 95e7df4

Browse files
committed
Fix Other Features sidebar nesting for Send Alerts to Robusta
Move toctree to end of configuration/index.rst (after content) to match the pattern used by gitops/index.rst. When the toctree was before the heading, Sphinx rendered children as flat siblings. With toctree after content, alertmanager pages now nest properly under "Send Alerts to Robusta" in the sidebar. Also set Other Features maxdepth to 4 to allow deep nesting. https://claude.ai/code/session_0184fwhrjC4ELrYQBMCbyhfS
1 parent 71d5bc9 commit 95e7df4

2 files changed

Lines changed: 25 additions & 25 deletions

File tree

docs/configuration/index.rst

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,5 @@
11
:hide-toc:
22

3-
.. toctree::
4-
:maxdepth: 1
5-
:hidden:
6-
7-
alertmanager-integration/outofcluster-prometheus
8-
alertmanager-integration/alert-manager
9-
alertmanager-integration/eks-managed-prometheus
10-
alertmanager-integration/azure-managed-prometheus
11-
alertmanager-integration/coralogix_managed_prometheus
12-
alertmanager-integration/embedded-prometheus
13-
alertmanager-integration/google-managed-prometheus
14-
alertmanager-integration/google-managed-alertmanager
15-
alertmanager-integration/grafana-self-hosted
16-
alertmanager-integration/grafana-cloud
17-
alertmanager-integration/victoria-metrics
18-
alertmanager-integration/dynatrace
19-
alertmanager-integration/gcp-monitoring
20-
alertmanager-integration/nagios
21-
alertmanager-integration/newrelic
22-
alertmanager-integration/pagerduty-alerting
23-
alertmanager-integration/solarwinds
24-
alertmanager-integration/customize-labels-priorities
25-
exporting/custom-webhooks
26-
273
Send Alerts to Robusta
284
=======================
295

@@ -141,3 +117,27 @@ Advanced
141117
:class-card: sd-bg-light sd-bg-text-light
142118
:link: exporting/custom-webhooks
143119
:link-type: doc
120+
121+
.. toctree::
122+
:maxdepth: 1
123+
:hidden:
124+
125+
alertmanager-integration/outofcluster-prometheus
126+
alertmanager-integration/alert-manager
127+
alertmanager-integration/eks-managed-prometheus
128+
alertmanager-integration/azure-managed-prometheus
129+
alertmanager-integration/coralogix_managed_prometheus
130+
alertmanager-integration/embedded-prometheus
131+
alertmanager-integration/google-managed-prometheus
132+
alertmanager-integration/google-managed-alertmanager
133+
alertmanager-integration/grafana-self-hosted
134+
alertmanager-integration/grafana-cloud
135+
alertmanager-integration/victoria-metrics
136+
alertmanager-integration/dynatrace
137+
alertmanager-integration/gcp-monitoring
138+
alertmanager-integration/nagios
139+
alertmanager-integration/newrelic
140+
alertmanager-integration/pagerduty-alerting
141+
alertmanager-integration/solarwinds
142+
alertmanager-integration/customize-labels-priorities
143+
exporting/custom-webhooks

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
configuration/exporting/prometheus-query-api
4242

4343
.. toctree::
44-
:maxdepth: 1
44+
:maxdepth: 4
4545
:caption: Other Features
4646
:hidden:
4747

0 commit comments

Comments
 (0)