Skip to content

Commit f1892b5

Browse files
committed
docs: remove unnecessary documentation for core concept
1 parent 2a7779b commit f1892b5

File tree

2 files changed

+1
-7
lines changed
  • apps/landing/src/app/(detail)/docs/core-concepts

2 files changed

+1
-7
lines changed

apps/landing/src/app/(detail)/docs/core-concepts/no-dependencies/page.mdx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,9 @@ Our approach is grounded in static analysis. Once code is built and shipped, it
4848
- Class names never start with a digit (to satisfy CSS constraints).
4949
- We minimize class name length while maintaining safety.
5050
For example, tokens like `ad` may be flagged by content blockers; we emit `a-d` instead to break filter matches.
51-
- To avoid common ad-blocker heuristics (e.g., EasyList-style rules), we segment suspicious tokens by inserting a hyphen while keeping names compact.
51+
- To avoid common ad-blocker heuristics, we segment suspicious tokens by inserting a hyphen(`-`).
5252
- Example mappings:
5353
- `ad``a-d`
54-
- `ads``a-ds`
55-
- `adbanner``a-dbanner`
56-
- `ad_top``a-d_top`
57-
- Generation is deterministic: the same input always yields the same safe class name across builds.
58-
- The policy does not depend on any specific filter list and typically remains robust as lists evolve.
5954
- Scope: applied to Devup UI–generated atomic class tokens only; user-supplied `className` strings are not rewritten.
6055
- Allowed characters include `a``z`, combinations like `az`, `a0`, and safe hyphen/underscore placements.
6156

apps/landing/src/app/(detail)/docs/core-concepts/style-storage/page.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ This document explains the de-duplication principle, the requirement for a singl
1616

1717
- Even if the same style appears in multiple places, it is generated as exactly one atomic class (no duplicates).
1818
- If a style already exists in storage, the existing class is reused. Otherwise, a new class is generated and registered.
19-
- This happens at build time (when the bundler runs). The generation order can vary depending on the order in which the input code is discovered and analyzed.
2019

2120
### Why a single storage is required
2221

0 commit comments

Comments
 (0)