@@ -20,7 +20,7 @@
---
-
+
Please see the website: https://dockview.dev
diff --git a/packages/dockview/README.md b/packages/dockview/README.md
index 1e7b67f81..b5d387ba4 100644
--- a/packages/dockview/README.md
+++ b/packages/dockview/README.md
@@ -1,8 +1,8 @@
-
-
+
+
dockview
@@ -20,7 +20,7 @@
---
-
+
Please see the website: https://dockview.dev
diff --git a/packages/docs/docusaurus.config.js b/packages/docs/docusaurus.config.js
index 680ebebc4..e5efa9f19 100644
--- a/packages/docs/docusaurus.config.js
+++ b/packages/docs/docusaurus.config.js
@@ -51,6 +51,10 @@ const config = {
defaultLocale: 'en',
locales: ['en'],
},
+ // Serve both the docs-local `static` directory and the repository root
+ // `static` directory. Shared assets referenced from package READMEs live in
+ // the root `static/` so their links stay resilient to docs restructuring.
+ staticDirectories: ['static', path.resolve(__dirname, '../../static')],
stylesheets: [
{
href: 'https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200',
diff --git a/packages/docs/static/img/demo-hero.webp b/static/img/demo-hero.webp
similarity index 100%
rename from packages/docs/static/img/demo-hero.webp
rename to static/img/demo-hero.webp
diff --git a/packages/docs/static/img/dockview-lockup-dark.svg b/static/img/dockview-lockup-dark.svg
similarity index 100%
rename from packages/docs/static/img/dockview-lockup-dark.svg
rename to static/img/dockview-lockup-dark.svg
diff --git a/packages/docs/static/img/dockview-lockup-light.svg b/static/img/dockview-lockup-light.svg
similarity index 100%
rename from packages/docs/static/img/dockview-lockup-light.svg
rename to static/img/dockview-lockup-light.svg