Skip to content

Commit 7f2ab7a

Browse files
committed
docs: add navigation links and docs landing page
Add back-to-README and docs index links to all 9 pages. Add docs/README.md as landing page for GitHub browsing.
1 parent e4d65e2 commit 7f2ab7a

10 files changed

Lines changed: 33 additions & 0 deletions

docs/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Documentation
2+
3+
[Back to README](../README.md)
4+
5+
| Page | Description |
6+
| ---- | ----------- |
7+
| [API Reference](api-reference.md) | All exports, types, options, and result fields |
8+
| [Compression Pipeline](compression-pipeline.md) | How compression works: classify, dedup, merge, summarize, guard |
9+
| [Deduplication](deduplication.md) | Exact + fuzzy dedup algorithms, tuning thresholds |
10+
| [Token Budget](token-budget.md) | Budget-driven compression, binary search, custom tokenizers |
11+
| [LLM Integration](llm-integration.md) | Provider examples: Claude, OpenAI, Gemini, Grok, Ollama |
12+
| [Round-trip](round-trip.md) | Lossless compress/uncompress, VerbatimMap, atomicity |
13+
| [Provenance](provenance.md) | `_cce_original` metadata, summary_id, parent_ids |
14+
| [Preservation Rules](preservation-rules.md) | What gets preserved, classification tiers, code-aware splitting |
15+
| [Benchmarks](benchmarks.md) | Running benchmarks, LLM comparison, interpreting results |

docs/api-reference.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# API Reference
22

3+
[Back to README](../README.md) | [All docs](README.md)
4+
35
Complete reference for all exports from `context-compression-engine`.
46

57
## Exports

docs/benchmarks.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Benchmarks
22

3+
[Back to README](../README.md) | [All docs](README.md)
4+
35
Running benchmarks, interpreting results, and comparing compression methods.
46

57
## Running tests

docs/compression-pipeline.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Compression Pipeline
22

3+
[Back to README](../README.md) | [All docs](README.md)
4+
35
How `compress()` processes messages from start to finish.
46

57
## Pipeline overview

docs/deduplication.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Deduplication
22

3+
[Back to README](../README.md) | [All docs](README.md)
4+
35
Exact and fuzzy duplicate detection for repeated content in long conversations.
46

57
## Why dedup

docs/llm-integration.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# LLM Integration
22

3+
[Back to README](../README.md) | [All docs](README.md)
4+
35
Plug any LLM into the compression engine for semantic summarization.
46

57
## Summarizer interface

docs/preservation-rules.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Preservation Rules
22

3+
[Back to README](../README.md) | [All docs](README.md)
4+
35
What gets preserved, what gets compressed, and why.
46

57
## Rule priority

docs/provenance.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Provenance
22

3+
[Back to README](../README.md) | [All docs](README.md)
4+
35
Metadata tracking for compressed messages.
46

57
## `_cce_original` metadata

docs/round-trip.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Round-trip Compression
22

3+
[Back to README](../README.md) | [All docs](README.md)
4+
35
Lossless compress/uncompress with the verbatim store.
46

57
## The lossless guarantee

docs/token-budget.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Token Budget
22

3+
[Back to README](../README.md) | [All docs](README.md)
4+
35
Automatically find the least compression needed to fit a target token count.
46

57
## How it works

0 commit comments

Comments
 (0)