From d9381ce41f4b520f3ea7317748bdc9df3ec8d5ea Mon Sep 17 00:00:00 2001 From: Thierry Bela Nanga Date: Tue, 14 Jul 2026 15:23:09 -0400 Subject: [PATCH 1/9] update docs #136 --- README.md | 1 + files/assets/typedoc-custom.css | 4 +- files/ast.md | 2 +- files/getting-started.md | 18 ++--- files/index.md | 4 +- files/minification.md | 14 ++-- files/syntax-lowering.md | 138 ++++++++++++++++++++++++++++++++ files/transform.md | 2 +- files/usage.md | 2 +- files/utilities.md | 8 +- 10 files changed, 168 insertions(+), 25 deletions(-) create mode 100644 files/syntax-lowering.md diff --git a/README.md b/README.md index 6e9655d0..047e7491 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,7 @@ Try it [online](https://tbela99.github.io/css-parser/playground/) - [CSS Modules](https://tbela99.github.io/css-parser/docs/documents/Guide.CSS_Modules.html) - [Minification](https://tbela99.github.io/css-parser/docs/documents/Guide.Minification.html) - [Custom Transform](https://tbela99.github.io/css-parser/docs/documents/Guide.Custom_Transform.html) +- [Syntax Lowering](https://tbela99.github.io/css-parser/docs/documents/Guide.Syntax_Lowering.html) - [Ast Manipulation](https://tbela99.github.io/css-parser/docs/documents/Guide.Ast_Manipulation.html) - [Utility Functions](https://tbela99.github.io/css-parser/docs/documents/Guide.Utility_Functions.html) - diff --git a/files/assets/typedoc-custom.css b/files/assets/typedoc-custom.css index 02861415..a619fbb3 100644 --- a/files/assets/typedoc-custom.css +++ b/files/assets/typedoc-custom.css @@ -79,7 +79,7 @@ html[data-theme="dark"] { } -#function-differences + table th { +#main-function-differences+ table td { - text-align: left; + text-align: center; } \ No newline at end of file diff --git a/files/ast.md b/files/ast.md index e833e8f2..d57df1a0 100644 --- a/files/ast.md +++ b/files/ast.md @@ -416,4 +416,4 @@ button { ``` ------ -[← Custom Transform](./transform.md) | [Utility Functions →](./utilities.md) \ No newline at end of file +[← Syntax Lowering](./syntax-lowering.md) | [Utility Functions →](./utilities.md) \ No newline at end of file diff --git a/files/getting-started.md b/files/getting-started.md index 69f7dc57..13e6c9a5 100644 --- a/files/getting-started.md +++ b/files/getting-started.md @@ -12,11 +12,6 @@ It implements the [CSS Syntax Module Level 3](https://www.w3.org/TR/css-syntax-3 In addition to parsing and validation, CSS-Parser provides advanced optimization and minification capabilities. According to [this benchmark](https://tbela99.github.io/css-parser/benchmark/index.html), it is the most efficient CSS minifier available, producing smaller output than competing solutions while maintaining competitive performance. - -## Online documentation - -For detailed guides, API references, and examples, visit the [CSS Parser](https://tbela99.github.io/css-parser/docs) documentation site. - ## Playground Want to see it in action? Try the [CSS-Parser playground](https://tbela99.github.io/css-parser/playground/). @@ -65,7 +60,7 @@ It can be imported as an umd module. ```html + +