From 179a9207dfd0ac783aa760ab0a93ba9922d66d33 Mon Sep 17 00:00:00 2001 From: Redume Date: Sat, 22 Feb 2025 23:17:49 +0300 Subject: [PATCH] docs: The sample pages have been removed --- docs/astro.config.mjs | 14 +------------- docs/src/content/docs/guides/example.md | 11 ----------- docs/src/content/docs/reference/example.md | 11 ----------- 3 files changed, 1 insertion(+), 35 deletions(-) delete mode 100644 docs/src/content/docs/guides/example.md delete mode 100644 docs/src/content/docs/reference/example.md diff --git a/docs/astro.config.mjs b/docs/astro.config.mjs index b68ed04..af800d2 100644 --- a/docs/astro.config.mjs +++ b/docs/astro.config.mjs @@ -10,19 +10,7 @@ export default defineConfig({ social: { github: 'https://github.com/redume/kekkai', }, - sidebar: [ - { - label: 'Guides', - items: [ - // Each item here is one entry in the navigation menu. - { label: 'Example Guide', slug: 'guides/example' }, - ], - }, - { - label: 'Reference', - autogenerate: { directory: 'reference' }, - }, - ], + sidebar: [], }), ], }); diff --git a/docs/src/content/docs/guides/example.md b/docs/src/content/docs/guides/example.md deleted file mode 100644 index ebd0f3b..0000000 --- a/docs/src/content/docs/guides/example.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Example Guide -description: A guide in my new Starlight docs site. ---- - -Guides lead a user through a specific task they want to accomplish, often with a sequence of steps. -Writing a good guide requires thinking about what your users are trying to do. - -## Further reading - -- Read [about how-to guides](https://diataxis.fr/how-to-guides/) in the Diátaxis framework diff --git a/docs/src/content/docs/reference/example.md b/docs/src/content/docs/reference/example.md deleted file mode 100644 index 0224f09..0000000 --- a/docs/src/content/docs/reference/example.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Example Reference -description: A reference page in my new Starlight docs site. ---- - -Reference pages are ideal for outlining how things work in terse and clear terms. -Less concerned with telling a story or addressing a specific use case, they should give a comprehensive outline of what you're documenting. - -## Further reading - -- Read [about reference](https://diataxis.fr/reference/) in the Diátaxis framework