From 9ec6dc81e0a87bfa5df6af3c624ff593050b810c Mon Sep 17 00:00:00 2001 From: Wenzhao Hu <12122021+wzhudev@users.noreply.github.com> Date: Tue, 29 Oct 2024 10:57:21 +0800 Subject: [PATCH] chore: rename fold and change readme --- README.md | 4 +--- {doc => docs}/.gitignore | 0 {doc => docs}/middleware.ts | 0 {doc => docs}/next-env.d.ts | 0 {doc => docs}/next.config.mjs | 0 {doc => docs}/package.json | 0 {doc => docs}/pages/_app.tsx | 0 {doc => docs}/pages/en-US/_meta.ts | 0 {doc => docs}/pages/en-US/blogs/_meta.ts | 0 {doc => docs}/pages/en-US/blogs/di.mdx | 0 {doc => docs}/pages/en-US/docs/_meta.ts | 0 {doc => docs}/pages/en-US/docs/binding.mdx | 0 {doc => docs}/pages/en-US/docs/concepts.mdx | 0 {doc => docs}/pages/en-US/docs/debug.mdx | 0 {doc => docs}/pages/en-US/docs/env.mdx | 0 {doc => docs}/pages/en-US/docs/forwardref.mdx | 0 {doc => docs}/pages/en-US/docs/hierarchy.mdx | 0 {doc => docs}/pages/en-US/docs/hook.mdx | 0 {doc => docs}/pages/en-US/docs/identifier.mdx | 0 {doc => docs}/pages/en-US/docs/injector.mdx | 0 {doc => docs}/pages/en-US/docs/introduction.mdx | 0 {doc => docs}/pages/en-US/docs/item.mdx | 0 {doc => docs}/pages/en-US/docs/react.mdx | 0 {doc => docs}/pages/en-US/docs/relationship.mdx | 0 {doc => docs}/pages/en-US/docs/with-new.mdx | 0 {doc => docs}/pages/en-US/index.mdx | 0 {doc => docs}/pages/zh-CN/_meta.ts | 0 {doc => docs}/pages/zh-CN/blogs/_meta.ts | 0 {doc => docs}/pages/zh-CN/blogs/di.mdx | 0 {doc => docs}/pages/zh-CN/docs/_meta.ts | 0 {doc => docs}/pages/zh-CN/docs/binding.mdx | 0 {doc => docs}/pages/zh-CN/docs/concepts.mdx | 0 {doc => docs}/pages/zh-CN/docs/debug.mdx | 0 {doc => docs}/pages/zh-CN/docs/env.mdx | 0 {doc => docs}/pages/zh-CN/docs/forwardref.mdx | 0 {doc => docs}/pages/zh-CN/docs/hierarchy.mdx | 0 {doc => docs}/pages/zh-CN/docs/hook.mdx | 0 {doc => docs}/pages/zh-CN/docs/identifier.mdx | 0 {doc => docs}/pages/zh-CN/docs/injector.mdx | 0 {doc => docs}/pages/zh-CN/docs/introduction.mdx | 0 {doc => docs}/pages/zh-CN/docs/item.mdx | 0 {doc => docs}/pages/zh-CN/docs/react.mdx | 0 {doc => docs}/pages/zh-CN/docs/relationship.mdx | 0 {doc => docs}/pages/zh-CN/docs/with-new.mdx | 0 {doc => docs}/pages/zh-CN/index.mdx | 0 {doc => docs}/pnpm-lock.yaml | 0 {doc => docs}/public/android-icon-192x192.png | Bin {doc => docs}/public/apple-icon-180x180.png | Bin {doc => docs}/public/apple-icon.png | Bin {doc => docs}/public/favicon-16x16.png | Bin {doc => docs}/public/favicon-32x32.png | Bin {doc => docs}/public/favicon-96x96.png | Bin {doc => docs}/public/favicon.ico | Bin {doc => docs}/public/ms-icon-144x144.png | Bin {doc => docs}/public/og.png | Bin {doc => docs}/readme.md | 0 {doc => docs}/styles.css | 0 {doc => docs}/theme.config.tsx | 0 {doc => docs}/tsconfig.json | 0 59 files changed, 1 insertion(+), 3 deletions(-) rename {doc => docs}/.gitignore (100%) rename {doc => docs}/middleware.ts (100%) rename {doc => docs}/next-env.d.ts (100%) rename {doc => docs}/next.config.mjs (100%) rename {doc => docs}/package.json (100%) rename {doc => docs}/pages/_app.tsx (100%) rename {doc => docs}/pages/en-US/_meta.ts (100%) rename {doc => docs}/pages/en-US/blogs/_meta.ts (100%) rename {doc => docs}/pages/en-US/blogs/di.mdx (100%) rename {doc => docs}/pages/en-US/docs/_meta.ts (100%) rename {doc => docs}/pages/en-US/docs/binding.mdx (100%) rename {doc => docs}/pages/en-US/docs/concepts.mdx (100%) rename {doc => docs}/pages/en-US/docs/debug.mdx (100%) rename {doc => docs}/pages/en-US/docs/env.mdx (100%) rename {doc => docs}/pages/en-US/docs/forwardref.mdx (100%) rename {doc => docs}/pages/en-US/docs/hierarchy.mdx (100%) rename {doc => docs}/pages/en-US/docs/hook.mdx (100%) rename {doc => docs}/pages/en-US/docs/identifier.mdx (100%) rename {doc => docs}/pages/en-US/docs/injector.mdx (100%) rename {doc => docs}/pages/en-US/docs/introduction.mdx (100%) rename {doc => docs}/pages/en-US/docs/item.mdx (100%) rename {doc => docs}/pages/en-US/docs/react.mdx (100%) rename {doc => docs}/pages/en-US/docs/relationship.mdx (100%) rename {doc => docs}/pages/en-US/docs/with-new.mdx (100%) rename {doc => docs}/pages/en-US/index.mdx (100%) rename {doc => docs}/pages/zh-CN/_meta.ts (100%) rename {doc => docs}/pages/zh-CN/blogs/_meta.ts (100%) rename {doc => docs}/pages/zh-CN/blogs/di.mdx (100%) rename {doc => docs}/pages/zh-CN/docs/_meta.ts (100%) rename {doc => docs}/pages/zh-CN/docs/binding.mdx (100%) rename {doc => docs}/pages/zh-CN/docs/concepts.mdx (100%) rename {doc => docs}/pages/zh-CN/docs/debug.mdx (100%) rename {doc => docs}/pages/zh-CN/docs/env.mdx (100%) rename {doc => docs}/pages/zh-CN/docs/forwardref.mdx (100%) rename {doc => docs}/pages/zh-CN/docs/hierarchy.mdx (100%) rename {doc => docs}/pages/zh-CN/docs/hook.mdx (100%) rename {doc => docs}/pages/zh-CN/docs/identifier.mdx (100%) rename {doc => docs}/pages/zh-CN/docs/injector.mdx (100%) rename {doc => docs}/pages/zh-CN/docs/introduction.mdx (100%) rename {doc => docs}/pages/zh-CN/docs/item.mdx (100%) rename {doc => docs}/pages/zh-CN/docs/react.mdx (100%) rename {doc => docs}/pages/zh-CN/docs/relationship.mdx (100%) rename {doc => docs}/pages/zh-CN/docs/with-new.mdx (100%) rename {doc => docs}/pages/zh-CN/index.mdx (100%) rename {doc => docs}/pnpm-lock.yaml (100%) rename {doc => docs}/public/android-icon-192x192.png (100%) rename {doc => docs}/public/apple-icon-180x180.png (100%) rename {doc => docs}/public/apple-icon.png (100%) rename {doc => docs}/public/favicon-16x16.png (100%) rename {doc => docs}/public/favicon-32x32.png (100%) rename {doc => docs}/public/favicon-96x96.png (100%) rename {doc => docs}/public/favicon.ico (100%) rename {doc => docs}/public/ms-icon-144x144.png (100%) rename {doc => docs}/public/og.png (100%) rename {doc => docs}/readme.md (100%) rename {doc => docs}/styles.css (100%) rename {doc => docs}/theme.config.tsx (100%) rename {doc => docs}/tsconfig.json (100%) 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