From 3df710fa3382c2aea43bf44e43b27f6051743656 Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Thu, 20 Aug 2026 13:53:34 -0400 Subject: [PATCH] docs(docs): add frequency map page, restructure docs and update links --- docs/(algorithms)/01-frequency-map.mdx | 15 +++++++++++++++ .../{guides => }/(algorithms)/02-two-pointers.mdx | 0 docs/{guides => }/(algorithms)/03-prefix-sum.mdx | 0 .../(algorithms)/04-sliding-window.mdx | 0 .../(algorithms)/05-binary-search.mdx | 0 docs/(algorithms)/meta.ts | 6 ++++++ .../(data-structures)/01-arrays-and-strings.mdx | 6 +++--- .../(data-structures)/02-hash-tables.mdx | 0 docs/(data-structures)/meta.ts | 6 ++++++ docs/index.mdx | 2 ++ 10 files changed, 32 insertions(+), 3 deletions(-) create mode 100644 docs/(algorithms)/01-frequency-map.mdx rename docs/{guides => }/(algorithms)/02-two-pointers.mdx (100%) rename docs/{guides => }/(algorithms)/03-prefix-sum.mdx (100%) rename docs/{guides => }/(algorithms)/04-sliding-window.mdx (100%) rename docs/{guides => }/(algorithms)/05-binary-search.mdx (100%) create mode 100644 docs/(algorithms)/meta.ts rename docs/{guides => }/(data-structures)/01-arrays-and-strings.mdx (95%) rename docs/{guides => }/(data-structures)/02-hash-tables.mdx (100%) create mode 100644 docs/(data-structures)/meta.ts diff --git a/docs/(algorithms)/01-frequency-map.mdx b/docs/(algorithms)/01-frequency-map.mdx new file mode 100644 index 0000000..43615cf --- /dev/null +++ b/docs/(algorithms)/01-frequency-map.mdx @@ -0,0 +1,15 @@ +--- +title: 'Frequency Map' +description: 'Converging/parallel index walk that prunes the O(n^2) pair space using order.' +--- + +:::warning[Under construction] +This page is a scaffold. Notes, canonical problems, and template code are not written yet. +::: + +## Concepts + + + + + diff --git a/docs/guides/(algorithms)/02-two-pointers.mdx b/docs/(algorithms)/02-two-pointers.mdx similarity index 100% rename from docs/guides/(algorithms)/02-two-pointers.mdx rename to docs/(algorithms)/02-two-pointers.mdx diff --git a/docs/guides/(algorithms)/03-prefix-sum.mdx b/docs/(algorithms)/03-prefix-sum.mdx similarity index 100% rename from docs/guides/(algorithms)/03-prefix-sum.mdx rename to docs/(algorithms)/03-prefix-sum.mdx diff --git a/docs/guides/(algorithms)/04-sliding-window.mdx b/docs/(algorithms)/04-sliding-window.mdx similarity index 100% rename from docs/guides/(algorithms)/04-sliding-window.mdx rename to docs/(algorithms)/04-sliding-window.mdx diff --git a/docs/guides/(algorithms)/05-binary-search.mdx b/docs/(algorithms)/05-binary-search.mdx similarity index 100% rename from docs/guides/(algorithms)/05-binary-search.mdx rename to docs/(algorithms)/05-binary-search.mdx diff --git a/docs/(algorithms)/meta.ts b/docs/(algorithms)/meta.ts new file mode 100644 index 0000000..dcc55e1 --- /dev/null +++ b/docs/(algorithms)/meta.ts @@ -0,0 +1,6 @@ +import { defineMeta } from "blume"; + +export default defineMeta({ + title: "Algorithms", + order: 2, +}); diff --git a/docs/guides/(data-structures)/01-arrays-and-strings.mdx b/docs/(data-structures)/01-arrays-and-strings.mdx similarity index 95% rename from docs/guides/(data-structures)/01-arrays-and-strings.mdx rename to docs/(data-structures)/01-arrays-and-strings.mdx index 99c7e30..4a761eb 100644 --- a/docs/guides/(data-structures)/01-arrays-and-strings.mdx +++ b/docs/(data-structures)/01-arrays-and-strings.mdx @@ -37,7 +37,7 @@ Random access in this context means that you can access an element at any index @@ -46,7 +46,7 @@ Random access in this context means that you can access an element at any index @@ -55,7 +55,7 @@ Random access in this context means that you can access an element at any index diff --git a/docs/guides/(data-structures)/02-hash-tables.mdx b/docs/(data-structures)/02-hash-tables.mdx similarity index 100% rename from docs/guides/(data-structures)/02-hash-tables.mdx rename to docs/(data-structures)/02-hash-tables.mdx diff --git a/docs/(data-structures)/meta.ts b/docs/(data-structures)/meta.ts new file mode 100644 index 0000000..ea7caf9 --- /dev/null +++ b/docs/(data-structures)/meta.ts @@ -0,0 +1,6 @@ +import { defineMeta } from "blume"; + +export default defineMeta({ + title: "Data Structures", + order: 1, +}); diff --git a/docs/index.mdx b/docs/index.mdx index 12b40ec..1a68cc8 100644 --- a/docs/index.mdx +++ b/docs/index.mdx @@ -5,6 +5,8 @@ description: Welcome to your new Blume docs. ## Getting Started +![Dependency Map](./dependency-spine.svg) + Welcome to **Blume** — markdown-first docs powered by Astro and Vite. Edit `docs/index.mdx` to get started, then run `blume dev`.