From bd8d43550629e8ac0709c4ddabc77a17f138dc37 Mon Sep 17 00:00:00 2001 From: Brian 'bdougie' Douglas Date: Wed, 2 Jul 2025 10:37:03 -0700 Subject: [PATCH] move reference and troubleshooting to sidebar --- docs/docs/_category_.yml | 7 +++++++ docs/docs/{advanced => }/reference.mdx | 2 +- docs/docs/{advanced => }/troubleshooting.mdx | 0 docs/docusaurus.config.js | 12 ++++-------- docs/sidebars.js | 2 ++ 5 files changed, 14 insertions(+), 9 deletions(-) create mode 100644 docs/docs/_category_.yml rename docs/docs/{advanced => }/reference.mdx (99%) rename docs/docs/{advanced => }/troubleshooting.mdx (100%) diff --git a/docs/docs/_category_.yml b/docs/docs/_category_.yml new file mode 100644 index 000000000..fafdd6fb8 --- /dev/null +++ b/docs/docs/_category_.yml @@ -0,0 +1,7 @@ +label: 'Continue Docs' +className: red +link: + type: generated-index + title: Getting Started +customProps: + description: This description can be used in the swizzled DocCard \ No newline at end of file diff --git a/docs/docs/advanced/reference.mdx b/docs/docs/reference.mdx similarity index 99% rename from docs/docs/advanced/reference.mdx rename to docs/docs/reference.mdx index 83548843d..d366803f1 100644 --- a/docs/docs/advanced/reference.mdx +++ b/docs/docs/reference.mdx @@ -1,5 +1,5 @@ --- -title: Config YAML Reference +title: "config.yaml Reference" description: Reference for the Continue configuration YAML file keywords: [config, yaml, configuration, customize, customization] --- diff --git a/docs/docs/advanced/troubleshooting.mdx b/docs/docs/troubleshooting.mdx similarity index 100% rename from docs/docs/advanced/troubleshooting.mdx rename to docs/docs/troubleshooting.mdx diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index 9078038e6..1417f4f38 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -525,14 +525,6 @@ const config = { to: "/features/agent/how-it-works", from: "/agent/how-it-works", }, - { - to: "/advanced/reference", - from: "/reference", - }, - { - to: "/advanced/troubleshooting", - from: "/troubleshooting", - }, { to: "/advanced/telemetry", from: "/telemetry", @@ -545,6 +537,10 @@ const config = { to: "/advanced/yaml-migration", from: "/yaml-migration", }, + { + to: "/troubleshooting", + from: "/advanced/troubleshooting", + }, ], }, ], diff --git a/docs/sidebars.js b/docs/sidebars.js index 7c3cf9b94..f225961f4 100644 --- a/docs/sidebars.js +++ b/docs/sidebars.js @@ -65,6 +65,8 @@ const sidebars = { }, ], }, + "troubleshooting", + "reference", ], };