Commit 1233111
authored
chore: clean up examples folder (#1962)
* refactor: move gallery demos to demos/ and flatten structure
Move website demo gallery projects from examples/ to a dedicated demos/
folder. Flatten category subfolders (getting-started/, advanced/, etc.)
to root level since filtering happens in the gallery UI. Remove AI demos
that are no longer maintained.
* feat: add minimal Tier 1 getting-started examples
Add clean, standalone examples for React, Vue, Vanilla JS, and CDN.
Each uses the published superdoc package (no monorepo workspace).
Remove pnpm-workspace.yaml — examples install from npm directly.
Add CI workflow to build-check examples on PRs. Fix doc links to
point to new example paths.
* test: add Playwright smoke tests for examples
Add smoke test suite that starts each example's dev server, opens
Chromium, and asserts no console errors. Runs in CI via matrix
strategy (react, vue, vanilla, cdn). Fix CDN example to use UMD
build instead of ES modules (bare specifiers don't resolve in
browsers).
* chore: clean up examples, remove tiptap-cloud/y-sweet, fix collab smoke tests
* feat: add feature and headless examples, improve docs clarity
* docs: surface track changes example from config and modules overview
* test: replace broken demo visual tests with smoke tests, add ci-demos workflow
* chore: simplify ci-superdoc workflow into single job
* chore: bump all GitHub Actions to latest versions
* docs: fix stale GitHub links in demo READMEs
* docs: clean up demo READMEs, fix typos and stale version refs
* fix: exclude broken html-editor and replace-content demos from CI
* fix: pin yjs to 13.6.19 in collaboration examples to match superdoc peer dep1 parent 794f834 commit 1233111
File tree
682 files changed
+1951
-7341
lines changed- .github/workflows
- apps/docs
- __tests__/lib
- core
- superdoc
- supereditor
- extensions
- getting-started
- frameworks
- guides/collaboration
- modules
- collaboration
- scripts
- demos
- __tests__
- cdn
- chrome-extension
- chrome-extension
- dist
- icons
- lib
- test_docs
- custom-mark
- assets
- public
- src
- custom-node
- public
- src
- docx-from-html
- public
- src
- docxtemplater
- public
- src
- assets
- components
- fields
- public
- src
- grading-papers
- app
- grading/[id]
- assets/docs
- components
- ui
- hooks
- lib
- public
- styles
- html-editor
- .vscode
- public
- src
- linked-sections
- public
- src
- loading-from-json
- src
- nextjs-ssr
- public
- src/app
- SuperDoc
- nodejs
- react
- public
- src
- components
- replace-content
- public
- src
- components
- slack-redlining
- cloud-function
- text-selection
- public
- src
- components
- toolbar
- src
- typescript
- src
- components
- vanilla
- src
- vue
- src
- components
- word-addin
- assets
- server
- public
- src
- auth-dialog
- taskpane
- examples
- __tests__
- advanced
- docx-from-html
- fields
- headless-converter
- src
- html-editor
- linked-sections
- text-selection
- ai
- prompts/claude
- tool-calls
- public
- src
- components
- collaboration
- basic
- src
- fastify-server
- from-scratch
- client
- src
- server
- hocuspocus
- server
- src
- liveblocks
- production
- client
- public
- src
- server
- superdoc-yjs
- public
- src
- superdoc
- public
- src
- tiptap-cloud
- src
- y-sweet
- client
- src
- server
- customization
- custom-mark
- src
- custom-node
- public
- src
- custom-plugin
- public
- src
- dynamic-content
- plugins/document-map
- public
- src
- components
- toolbar
- features
- ai-redlining
- src
- comments
- src
- custom-toolbar
- src
- track-changes
- src
- getting-started
- cdn
- react
- src
- typescript
- vanilla
- src
- vue
- src
- headless
- ai-redlining
- src
- integrations
- chrome-extension/chrome-extension/icons
- nextjs-ssr/public
- nodejs
- tests
- scripts
- tests.spec.js-snapshots
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
682 files changed
+1951
-7341
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
0 commit comments