Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
34 changes: 34 additions & 0 deletions .github/workflows/ci-examples.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: CI Examples

on:
pull_request:
paths:
- 'examples/**'
workflow_dispatch:

jobs:
smoke-test:
runs-on: ubuntu-latest
strategy:
matrix:
example: [react, vue, vanilla, cdn]
steps:
- uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'

- name: Install example dependencies
if: matrix.example != 'cdn'
working-directory: examples/${{ matrix.example }}
run: npm install

- name: Install smoke test dependencies
working-directory: examples/__tests__
run: npm install && npx playwright install chromium

- name: Run smoke test
working-directory: examples/__tests__
run: EXAMPLE=${{ matrix.example }} npx playwright test
2 changes: 1 addition & 1 deletion apps/docs/getting-started/frameworks/react.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -265,4 +265,4 @@ function useSuperDoc(config) {

- [Vue Integration](/getting-started/frameworks/vue) - Vue setup
- [API Reference](/core/superdoc/configuration) - Configuration options
- [Examples](https://github.com/superdoc-dev/superdoc/tree/main/examples/react-example) - Working examples
- [Examples](https://github.com/superdoc-dev/superdoc/tree/main/examples/react) - Working examples
2 changes: 1 addition & 1 deletion apps/docs/getting-started/frameworks/vue.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -204,4 +204,4 @@ defineExpose({

- [React Integration](/getting-started/frameworks/react) - React setup
- [API Reference](/core/superdoc/configuration) - Configuration options
- [Examples](https://github.com/superdoc-dev/superdoc/tree/main/examples/vue-example) - Working examples
- [Examples](https://github.com/superdoc-dev/superdoc/tree/main/examples/vue) - Working examples
5 changes: 5 additions & 0 deletions demos/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Ignore lock files
*-lock*

# Ignore npmrc files
*.npmrc
5 changes: 5 additions & 0 deletions demos/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# SuperDoc Demos

Feature demos used by the [SuperDoc demo gallery](https://superdoc.dev). Each demo includes a thumbnail, optional video, and is embeddable via StackBlitz.

> **Looking for getting-started examples?** See the [`examples/`](../examples/) folder instead.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading
Loading