From 0c8a9ae1a2ca515214ed7778c396c60d79dfa534 Mon Sep 17 00:00:00 2001 From: Greg Gardner Date: Wed, 26 Aug 2026 02:10:48 -0700 Subject: [PATCH] docs: surface the orphaned troubleshooting page in site navigation The troubleshooting page shipped but was never added to sidebars.js, so Docusaurus rendered it without a sidebar entry and it was unreachable by browsing. Add it under Reference, and extend the Introduction "Next Steps" list to link the Budget, Scheduling, CLI Reference, and Troubleshooting pages. Correct the task count there from "20+" to 59 to match task-reference.md and internal/tasks/tasks.go. Nightshift-Task: docs-backfill Nightshift-Ref: https://github.com/marcus/nightshift --- website/docs/intro.md | 6 +++++- website/sidebars.js | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/website/docs/intro.md b/website/docs/intro.md index b395242..111c847 100644 --- a/website/docs/intro.md +++ b/website/docs/intro.md @@ -42,4 +42,8 @@ nightshift run - [Installation](/docs/installation) — All installation methods - [Quick Start](/docs/quick-start) — Get running in 2 minutes - [Configuration](/docs/configuration) — Customize budgets, schedules, and tasks -- [Tasks](/docs/tasks) — Browse the 20+ built-in tasks +- [Tasks](/docs/tasks) — Browse the 59 built-in tasks +- [Budget](/docs/budget) — How budget tracking and calibration work +- [Scheduling](/docs/scheduling) — Run Nightshift automatically +- [CLI Reference](/docs/cli-reference) — Every command and flag +- [Troubleshooting](/docs/troubleshooting) — Fixes for common problems diff --git a/website/sidebars.js b/website/sidebars.js index e516e2c..ddb5931 100644 --- a/website/sidebars.js +++ b/website/sidebars.js @@ -15,7 +15,7 @@ const sidebars = { { type: 'category', label: 'Reference', - items: ['cli-reference', 'integrations'], + items: ['cli-reference', 'integrations', 'troubleshooting'], }, ], };