diff --git a/README.md b/README.md index e5b27cd..1523f9e 100644 --- a/README.md +++ b/README.md @@ -29,12 +29,11 @@ const injector = new Injector([[AuthService], [FileListService]]) injector.get(AuthService) ``` -**View full documentation on [redi.wendell.fun](https://redi.wendell.fun/).** +**View full documentation on [redi.wzhu.dev](https://redi.wzhu.dev/).** ## Links - [Demo TodoMVC](https://wzhudev.github.io/redi-todomvc/) | [source](https://github.com/wzhudev/redi-todomvc) -- [Doc site](https://redi.wendell.fun) | [source](https://github.com/wzhudev/redi-site) - [Scaffold](https://github.com/wzhudev/redi-starter) ## Users @@ -45,4 +44,3 @@ injector.get(AuthService) ## License MIT. Copyright 2021-present Wenzhao Hu. - diff --git a/doc/.gitignore b/docs/.gitignore similarity index 100% rename from doc/.gitignore rename to docs/.gitignore diff --git a/doc/middleware.ts b/docs/middleware.ts similarity index 100% rename from doc/middleware.ts rename to docs/middleware.ts diff --git a/doc/next-env.d.ts b/docs/next-env.d.ts similarity index 100% rename from doc/next-env.d.ts rename to docs/next-env.d.ts diff --git a/doc/next.config.mjs b/docs/next.config.mjs similarity index 100% rename from doc/next.config.mjs rename to docs/next.config.mjs diff --git a/doc/package.json b/docs/package.json similarity index 100% rename from doc/package.json rename to docs/package.json diff --git a/doc/pages/_app.tsx b/docs/pages/_app.tsx similarity index 100% rename from doc/pages/_app.tsx rename to docs/pages/_app.tsx diff --git a/doc/pages/en-US/_meta.ts b/docs/pages/en-US/_meta.ts similarity index 100% rename from doc/pages/en-US/_meta.ts rename to docs/pages/en-US/_meta.ts diff --git a/doc/pages/en-US/blogs/_meta.ts b/docs/pages/en-US/blogs/_meta.ts similarity index 100% rename from doc/pages/en-US/blogs/_meta.ts rename to docs/pages/en-US/blogs/_meta.ts diff --git a/doc/pages/en-US/blogs/di.mdx b/docs/pages/en-US/blogs/di.mdx similarity index 100% rename from doc/pages/en-US/blogs/di.mdx rename to docs/pages/en-US/blogs/di.mdx diff --git a/doc/pages/en-US/docs/_meta.ts b/docs/pages/en-US/docs/_meta.ts similarity index 100% rename from doc/pages/en-US/docs/_meta.ts rename to docs/pages/en-US/docs/_meta.ts diff --git a/doc/pages/en-US/docs/binding.mdx b/docs/pages/en-US/docs/binding.mdx similarity index 100% rename from doc/pages/en-US/docs/binding.mdx rename to docs/pages/en-US/docs/binding.mdx diff --git a/doc/pages/en-US/docs/concepts.mdx b/docs/pages/en-US/docs/concepts.mdx similarity index 100% rename from doc/pages/en-US/docs/concepts.mdx rename to docs/pages/en-US/docs/concepts.mdx diff --git a/doc/pages/en-US/docs/debug.mdx b/docs/pages/en-US/docs/debug.mdx similarity index 100% rename from doc/pages/en-US/docs/debug.mdx rename to docs/pages/en-US/docs/debug.mdx diff --git a/doc/pages/en-US/docs/env.mdx b/docs/pages/en-US/docs/env.mdx similarity index 100% rename from doc/pages/en-US/docs/env.mdx rename to docs/pages/en-US/docs/env.mdx diff --git a/doc/pages/en-US/docs/forwardref.mdx b/docs/pages/en-US/docs/forwardref.mdx similarity index 100% rename from doc/pages/en-US/docs/forwardref.mdx rename to docs/pages/en-US/docs/forwardref.mdx diff --git a/doc/pages/en-US/docs/hierarchy.mdx b/docs/pages/en-US/docs/hierarchy.mdx similarity index 100% rename from doc/pages/en-US/docs/hierarchy.mdx rename to docs/pages/en-US/docs/hierarchy.mdx diff --git a/doc/pages/en-US/docs/hook.mdx b/docs/pages/en-US/docs/hook.mdx similarity index 100% rename from doc/pages/en-US/docs/hook.mdx rename to docs/pages/en-US/docs/hook.mdx diff --git a/doc/pages/en-US/docs/identifier.mdx b/docs/pages/en-US/docs/identifier.mdx similarity index 100% rename from doc/pages/en-US/docs/identifier.mdx rename to docs/pages/en-US/docs/identifier.mdx diff --git a/doc/pages/en-US/docs/injector.mdx b/docs/pages/en-US/docs/injector.mdx similarity index 100% rename from doc/pages/en-US/docs/injector.mdx rename to docs/pages/en-US/docs/injector.mdx diff --git a/doc/pages/en-US/docs/introduction.mdx b/docs/pages/en-US/docs/introduction.mdx similarity index 100% rename from doc/pages/en-US/docs/introduction.mdx rename to docs/pages/en-US/docs/introduction.mdx diff --git a/doc/pages/en-US/docs/item.mdx b/docs/pages/en-US/docs/item.mdx similarity index 100% rename from doc/pages/en-US/docs/item.mdx rename to docs/pages/en-US/docs/item.mdx diff --git a/doc/pages/en-US/docs/react.mdx b/docs/pages/en-US/docs/react.mdx similarity index 100% rename from doc/pages/en-US/docs/react.mdx rename to docs/pages/en-US/docs/react.mdx diff --git a/doc/pages/en-US/docs/relationship.mdx b/docs/pages/en-US/docs/relationship.mdx similarity index 100% rename from doc/pages/en-US/docs/relationship.mdx rename to docs/pages/en-US/docs/relationship.mdx diff --git a/doc/pages/en-US/docs/with-new.mdx b/docs/pages/en-US/docs/with-new.mdx similarity index 100% rename from doc/pages/en-US/docs/with-new.mdx rename to docs/pages/en-US/docs/with-new.mdx diff --git a/doc/pages/en-US/index.mdx b/docs/pages/en-US/index.mdx similarity index 100% rename from doc/pages/en-US/index.mdx rename to docs/pages/en-US/index.mdx diff --git a/doc/pages/zh-CN/_meta.ts b/docs/pages/zh-CN/_meta.ts similarity index 100% rename from doc/pages/zh-CN/_meta.ts rename to docs/pages/zh-CN/_meta.ts diff --git a/doc/pages/zh-CN/blogs/_meta.ts b/docs/pages/zh-CN/blogs/_meta.ts similarity index 100% rename from doc/pages/zh-CN/blogs/_meta.ts rename to docs/pages/zh-CN/blogs/_meta.ts diff --git a/doc/pages/zh-CN/blogs/di.mdx b/docs/pages/zh-CN/blogs/di.mdx similarity index 100% rename from doc/pages/zh-CN/blogs/di.mdx rename to docs/pages/zh-CN/blogs/di.mdx diff --git a/doc/pages/zh-CN/docs/_meta.ts b/docs/pages/zh-CN/docs/_meta.ts similarity index 100% rename from doc/pages/zh-CN/docs/_meta.ts rename to docs/pages/zh-CN/docs/_meta.ts diff --git a/doc/pages/zh-CN/docs/binding.mdx b/docs/pages/zh-CN/docs/binding.mdx similarity index 100% rename from doc/pages/zh-CN/docs/binding.mdx rename to docs/pages/zh-CN/docs/binding.mdx diff --git a/doc/pages/zh-CN/docs/concepts.mdx b/docs/pages/zh-CN/docs/concepts.mdx similarity index 100% rename from doc/pages/zh-CN/docs/concepts.mdx rename to docs/pages/zh-CN/docs/concepts.mdx diff --git a/doc/pages/zh-CN/docs/debug.mdx b/docs/pages/zh-CN/docs/debug.mdx similarity index 100% rename from doc/pages/zh-CN/docs/debug.mdx rename to docs/pages/zh-CN/docs/debug.mdx diff --git a/doc/pages/zh-CN/docs/env.mdx b/docs/pages/zh-CN/docs/env.mdx similarity index 100% rename from doc/pages/zh-CN/docs/env.mdx rename to docs/pages/zh-CN/docs/env.mdx diff --git a/doc/pages/zh-CN/docs/forwardref.mdx b/docs/pages/zh-CN/docs/forwardref.mdx similarity index 100% rename from doc/pages/zh-CN/docs/forwardref.mdx rename to docs/pages/zh-CN/docs/forwardref.mdx diff --git a/doc/pages/zh-CN/docs/hierarchy.mdx b/docs/pages/zh-CN/docs/hierarchy.mdx similarity index 100% rename from doc/pages/zh-CN/docs/hierarchy.mdx rename to docs/pages/zh-CN/docs/hierarchy.mdx diff --git a/doc/pages/zh-CN/docs/hook.mdx b/docs/pages/zh-CN/docs/hook.mdx similarity index 100% rename from doc/pages/zh-CN/docs/hook.mdx rename to docs/pages/zh-CN/docs/hook.mdx diff --git a/doc/pages/zh-CN/docs/identifier.mdx b/docs/pages/zh-CN/docs/identifier.mdx similarity index 100% rename from doc/pages/zh-CN/docs/identifier.mdx rename to docs/pages/zh-CN/docs/identifier.mdx diff --git a/doc/pages/zh-CN/docs/injector.mdx b/docs/pages/zh-CN/docs/injector.mdx similarity index 100% rename from doc/pages/zh-CN/docs/injector.mdx rename to docs/pages/zh-CN/docs/injector.mdx diff --git a/doc/pages/zh-CN/docs/introduction.mdx b/docs/pages/zh-CN/docs/introduction.mdx similarity index 100% rename from doc/pages/zh-CN/docs/introduction.mdx rename to docs/pages/zh-CN/docs/introduction.mdx diff --git a/doc/pages/zh-CN/docs/item.mdx b/docs/pages/zh-CN/docs/item.mdx similarity index 100% rename from doc/pages/zh-CN/docs/item.mdx rename to docs/pages/zh-CN/docs/item.mdx diff --git a/doc/pages/zh-CN/docs/react.mdx b/docs/pages/zh-CN/docs/react.mdx similarity index 100% rename from doc/pages/zh-CN/docs/react.mdx rename to docs/pages/zh-CN/docs/react.mdx diff --git a/doc/pages/zh-CN/docs/relationship.mdx b/docs/pages/zh-CN/docs/relationship.mdx similarity index 100% rename from doc/pages/zh-CN/docs/relationship.mdx rename to docs/pages/zh-CN/docs/relationship.mdx diff --git a/doc/pages/zh-CN/docs/with-new.mdx b/docs/pages/zh-CN/docs/with-new.mdx similarity index 100% rename from doc/pages/zh-CN/docs/with-new.mdx rename to docs/pages/zh-CN/docs/with-new.mdx diff --git a/doc/pages/zh-CN/index.mdx b/docs/pages/zh-CN/index.mdx similarity index 100% rename from doc/pages/zh-CN/index.mdx rename to docs/pages/zh-CN/index.mdx diff --git a/doc/pnpm-lock.yaml b/docs/pnpm-lock.yaml similarity index 100% rename from doc/pnpm-lock.yaml rename to docs/pnpm-lock.yaml diff --git a/doc/public/android-icon-192x192.png b/docs/public/android-icon-192x192.png similarity index 100% rename from doc/public/android-icon-192x192.png rename to docs/public/android-icon-192x192.png diff --git a/doc/public/apple-icon-180x180.png b/docs/public/apple-icon-180x180.png similarity index 100% rename from doc/public/apple-icon-180x180.png rename to docs/public/apple-icon-180x180.png diff --git a/doc/public/apple-icon.png b/docs/public/apple-icon.png similarity index 100% rename from doc/public/apple-icon.png rename to docs/public/apple-icon.png diff --git a/doc/public/favicon-16x16.png b/docs/public/favicon-16x16.png similarity index 100% rename from doc/public/favicon-16x16.png rename to docs/public/favicon-16x16.png diff --git a/doc/public/favicon-32x32.png b/docs/public/favicon-32x32.png similarity index 100% rename from doc/public/favicon-32x32.png rename to docs/public/favicon-32x32.png diff --git a/doc/public/favicon-96x96.png b/docs/public/favicon-96x96.png similarity index 100% rename from doc/public/favicon-96x96.png rename to docs/public/favicon-96x96.png diff --git a/doc/public/favicon.ico b/docs/public/favicon.ico similarity index 100% rename from doc/public/favicon.ico rename to docs/public/favicon.ico diff --git a/doc/public/ms-icon-144x144.png b/docs/public/ms-icon-144x144.png similarity index 100% rename from doc/public/ms-icon-144x144.png rename to docs/public/ms-icon-144x144.png diff --git a/doc/public/og.png b/docs/public/og.png similarity index 100% rename from doc/public/og.png rename to docs/public/og.png diff --git a/doc/readme.md b/docs/readme.md similarity index 100% rename from doc/readme.md rename to docs/readme.md diff --git a/doc/styles.css b/docs/styles.css similarity index 100% rename from doc/styles.css rename to docs/styles.css diff --git a/doc/theme.config.tsx b/docs/theme.config.tsx similarity index 100% rename from doc/theme.config.tsx rename to docs/theme.config.tsx diff --git a/doc/tsconfig.json b/docs/tsconfig.json similarity index 100% rename from doc/tsconfig.json rename to docs/tsconfig.json