feat(packages): support cli:omit markers for llm-only doc content (#1466)

This commit is contained in:
Darius Cepulis
2026-04-24 14:56:44 -05:00
committed by GitHub
parent 89594292d4
commit 85e28a5920
6 changed files with 85 additions and 8 deletions
@@ -32,9 +32,9 @@ Video.js is an **HTML video player built on custom elements** — lightweigh
</FrameworkCase>
<LLMCase>
<div data-cli-replace="installation">
<div data-cli-omit="installation">
Run `npx @videojs/cli docs how-to/installation` interactively, or pass all flags:
The code examples in this guide can be tailored to your use case. Run `npx @videojs/cli docs how-to/installation` interactively, or pass all flags:
```bash
npx @videojs/cli docs how-to/installation \
@@ -45,7 +45,6 @@ npx @videojs/cli docs how-to/installation \
--source-url <url> \
--install-method <cdn|npm|pnpm|yarn|bun>
```
</div>
</LLMCase>
@@ -81,6 +80,10 @@ Video.js supports a wide range of file types and hosting services. It's easy to
<RendererPicker client:idle />
</ContentWidth>
</HumanCase>
<div data-cli-replace="installation" class="contents">
## Install Video.js
<FrameworkCase frameworks={["html"]}>
@@ -142,7 +145,7 @@ Add it to your components folder in a new file.
</ContentWidth>
</FrameworkCase>
</HumanCase>
</div>
## CSP