create-lupine 1.0.29 → 1.0.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. package/index.js +431 -411
  2. package/package.json +17 -17
  3. package/templates/common/.env.development +7 -7
  4. package/templates/common/.env.mobile +9 -9
  5. package/templates/common/.env.production +7 -7
  6. package/templates/common/_env +66 -58
  7. package/templates/common/_gitignore +25 -25
  8. package/templates/common/apps/server/src/index.ts +79 -76
  9. package/templates/common/apps/server/src/server-env-keys.ts +0 -9
  10. package/templates/common/dev/cp-folder.js +45 -45
  11. package/templates/common/tsconfig.json +128 -128
  12. package/templates/lupine-template-cv-starter/api/package.json +5 -5
  13. package/templates/lupine-template-cv-starter/api/resources/config_default.json +6 -6
  14. package/templates/lupine-template-cv-starter/api/resources/install.sqlite.sql +3 -3
  15. package/templates/lupine-template-cv-starter/api/src/index.ts +15 -15
  16. package/templates/lupine-template-cv-starter/lupine.json +39 -39
  17. package/templates/lupine-template-cv-starter/web/markdown/en/01-experience/index.md +32 -32
  18. package/templates/lupine-template-cv-starter/web/markdown/en/02-projects/index.md +36 -36
  19. package/templates/lupine-template-cv-starter/web/markdown/en/03-skills/index.md +28 -28
  20. package/templates/lupine-template-cv-starter/web/markdown/en/04-education/index.md +16 -16
  21. package/templates/lupine-template-cv-starter/web/markdown/en/index.md +41 -41
  22. package/templates/lupine-template-cv-starter/web/markdown/index.md +7 -7
  23. package/templates/lupine-template-cv-starter/web/markdown/zh/01-experience/index.md +32 -32
  24. package/templates/lupine-template-cv-starter/web/markdown/zh/02-projects/index.md +36 -36
  25. package/templates/lupine-template-cv-starter/web/markdown/zh/03-skills/index.md +28 -28
  26. package/templates/lupine-template-cv-starter/web/markdown/zh/04-education/index.md +17 -17
  27. package/templates/lupine-template-cv-starter/web/markdown/zh/index.md +41 -41
  28. package/templates/lupine-template-cv-starter/web/package.json +5 -5
  29. package/templates/lupine-template-cv-starter/web/src/client-env-keys.ts +5 -5
  30. package/templates/lupine-template-cv-starter/web/src/index.html +16 -16
  31. package/templates/lupine-template-cv-starter/web/src/index.tsx +28 -28
  32. package/templates/lupine-template-cv-starter/web/src/lupine-template-cv-starter/404.html +38 -38
  33. package/templates/lupine-template-cv-starter/web/src/lupine-template-cv-starter/index.html +73 -73
  34. package/templates/lupine-template-cv-starter/web/src/lupine-template-cv-starter/index.tsx +30 -30
  35. package/templates/lupine-template-cv-starter/web/src/markdown-built/en/01-experience/index.html +20 -20
  36. package/templates/lupine-template-cv-starter/web/src/markdown-built/en/02-projects/index.html +28 -28
  37. package/templates/lupine-template-cv-starter/web/src/markdown-built/en/03-skills/index.html +18 -18
  38. package/templates/lupine-template-cv-starter/web/src/markdown-built/en/04-education/index.html +10 -10
  39. package/templates/lupine-template-cv-starter/web/src/markdown-built/en/index.html +20 -20
  40. package/templates/lupine-template-cv-starter/web/src/markdown-built/zh/01-experience/index.html +20 -20
  41. package/templates/lupine-template-cv-starter/web/src/markdown-built/zh/02-projects/index.html +28 -28
  42. package/templates/lupine-template-cv-starter/web/src/markdown-built/zh/03-skills/index.html +18 -18
  43. package/templates/lupine-template-cv-starter/web/src/markdown-built/zh/04-education/index.html +11 -11
  44. package/templates/lupine-template-cv-starter/web/src/markdown-built/zh/index.html +20 -20
  45. package/templates/lupine-template-cv-starter/web/src/styles/base-css.ts +15 -15
  46. package/templates/lupine-template-doc-starter/api/package.json +5 -5
  47. package/templates/lupine-template-doc-starter/api/resources/config_default.json +6 -6
  48. package/templates/lupine-template-doc-starter/api/resources/install.sqlite.sql +3 -3
  49. package/templates/lupine-template-doc-starter/api/src/index.ts +15 -15
  50. package/templates/lupine-template-doc-starter/api/src/resources/config_default.json +6 -6
  51. package/templates/lupine-template-doc-starter/api/src/resources/install.sqlite.sql +3 -3
  52. package/templates/lupine-template-doc-starter/lupine.json +39 -39
  53. package/templates/lupine-template-doc-starter/web/markdown/en/essentials/index.md +6 -6
  54. package/templates/lupine-template-doc-starter/web/markdown/en/essentials/list.md +18 -18
  55. package/templates/lupine-template-doc-starter/web/markdown/en/guide/install.md +18 -18
  56. package/templates/lupine-template-doc-starter/web/markdown/en/guide/started.md +22 -22
  57. package/templates/lupine-template-doc-starter/web/markdown/en/index.md +42 -42
  58. package/templates/lupine-template-doc-starter/web/markdown/index.md +7 -7
  59. package/templates/lupine-template-doc-starter/web/markdown/zh/essentials/index.md +6 -6
  60. package/templates/lupine-template-doc-starter/web/markdown/zh/essentials/list.md +18 -18
  61. package/templates/lupine-template-doc-starter/web/markdown/zh/guide/install.md +18 -18
  62. package/templates/lupine-template-doc-starter/web/markdown/zh/guide/started.md +22 -22
  63. package/templates/lupine-template-doc-starter/web/markdown/zh/index.md +42 -42
  64. package/templates/lupine-template-doc-starter/web/package.json +5 -5
  65. package/templates/lupine-template-doc-starter/web/src/client-env-keys.ts +5 -5
  66. package/templates/lupine-template-doc-starter/web/src/index.html +16 -16
  67. package/templates/lupine-template-doc-starter/web/src/index.tsx +28 -28
  68. package/templates/lupine-template-doc-starter/web/src/lupine-template-doc-starter/404.html +38 -38
  69. package/templates/lupine-template-doc-starter/web/src/lupine-template-doc-starter/index.html +27 -27
  70. package/templates/lupine-template-doc-starter/web/src/lupine-template-doc-starter/index.tsx +30 -30
  71. package/templates/lupine-template-doc-starter/web/src/markdown-built/en/essentials/list.html +8 -8
  72. package/templates/lupine-template-doc-starter/web/src/markdown-built/en/guide/install.html +8 -8
  73. package/templates/lupine-template-doc-starter/web/src/markdown-built/en/guide/started.html +12 -12
  74. package/templates/lupine-template-doc-starter/web/src/markdown-built/zh/essentials/list.html +8 -8
  75. package/templates/lupine-template-doc-starter/web/src/markdown-built/zh/guide/install.html +8 -8
  76. package/templates/lupine-template-doc-starter/web/src/markdown-built/zh/guide/started.html +12 -12
  77. package/templates/lupine-template-doc-starter/web/src/styles/base-css.ts +15 -15
  78. package/templates/lupine-template-hello-world/api/resources/install.sqlite.sql +3 -3
  79. package/templates/lupine-template-hello-world/api/src/index.ts +4 -4
  80. package/templates/lupine-template-hello-world/api/src/service/root-api.ts +18 -18
  81. package/templates/lupine-template-hello-world/lupine.json +22 -22
  82. package/templates/lupine-template-hello-world/web/package.json +6 -6
  83. package/templates/lupine-template-hello-world/web/src/index.html +16 -16
  84. package/templates/lupine-template-hello-world/web/src/index.tsx +73 -73
  85. package/templates/lupine-template-responsive-starter/api/resources/install.sqlite.sql +3 -3
  86. package/templates/lupine-template-responsive-starter/api/src/index.ts +4 -4
  87. package/templates/lupine-template-responsive-starter/api/src/service/root-api.ts +18 -18
  88. package/templates/lupine-template-responsive-starter/web/src/app-icons.ts +76 -76
  89. package/templates/lupine-template-responsive-starter/web/src/components/input-history-component.tsx +93 -93
  90. package/templates/lupine-template-responsive-starter/web/src/components/mine-about-page.tsx +86 -86
  91. package/templates/lupine-template-responsive-starter/web/src/components/mine-premium-page.tsx +80 -80
  92. package/templates/lupine-template-responsive-starter/web/src/components/mine-settings-page.tsx +220 -219
  93. package/templates/lupine-template-responsive-starter/web/src/components/mobile-top-search-menu.tsx +119 -119
  94. package/templates/lupine-template-responsive-starter/web/src/components/note-detail.tsx +116 -116
  95. package/templates/lupine-template-responsive-starter/web/src/components/note-edit.tsx +154 -154
  96. package/templates/lupine-template-responsive-starter/web/src/components/note-search-page.tsx +193 -193
  97. package/templates/lupine-template-responsive-starter/web/src/components/search-input.tsx +95 -95
  98. package/templates/lupine-template-responsive-starter/web/src/components/side-menu-content.tsx +182 -182
  99. package/templates/lupine-template-responsive-starter/web/src/frames/app-responsive-frame.tsx +52 -52
  100. package/templates/lupine-template-responsive-starter/web/src/index.html +16 -16
  101. package/templates/lupine-template-responsive-starter/web/src/index.tsx +39 -39
  102. package/templates/lupine-template-responsive-starter/web/src/lupine-template-responsive-starter/404.html +35 -35
  103. package/templates/lupine-template-responsive-starter/web/src/lupine-template-responsive-starter/index.html +49 -49
  104. package/templates/lupine-template-responsive-starter/web/src/lupine-template-responsive-starter/index.tsx +32 -32
  105. package/templates/lupine-template-responsive-starter/web/src/pages/about-page.tsx +43 -43
  106. package/templates/lupine-template-responsive-starter/web/src/pages/finance-page.tsx +46 -46
  107. package/templates/lupine-template-responsive-starter/web/src/pages/home-page.tsx +452 -452
  108. package/templates/lupine-template-responsive-starter/web/src/pages/mine-page.tsx +325 -325
  109. package/templates/lupine-template-responsive-starter/web/src/pages/tools-page.tsx +46 -46
  110. package/templates/lupine-template-responsive-starter/web/src/services/local-notes-service.ts +87 -87
  111. package/templates/lupine-template-responsive-starter/web/src/services/mine-service.ts +45 -45
@@ -1,20 +1,20 @@
1
- <h1 id="张三-san-zhang"><a class="header-anchor" href="#张三-san-zhang">#</a>张三 (San Zhang)</h1><blockquote>
2
- <p>全栈工程师 | 开源爱好者 | 持续学习者</p>
3
- </blockquote>
4
- <ul>
5
- <li>📧 Email: <a href="javascript:lpPressLoad('/zh/mailto:your.email@example.com')">your.email@example.com</a></li>
6
- <li>📱 电话: +86 138 0000 0000</li>
7
- <li>🔗 GitHub: <a href="https://github.com/yourusername">github.com/yourusername</a></li>
8
- <li>🌐 博客: <a href="https://yourblog.com">yourblog.com</a></li>
9
- <li>📍 地点: 中国,上海</li>
10
- </ul>
11
- <h2 id="个人简介"><a class="header-anchor" href="#个人简介">#</a>个人简介</h2><p>拥有 5 年以上的前端和后端开发经验,专注于构建高性能、可扩展的 Web 应用。熟练掌握 React, Node.js, TypeScript 等技术栈。热衷于开源社区,并在 GitHub 上维护多个受欢迎的项目。</p>
12
- <p>善于解决复杂问题,具备良好的团队协作能力和沟通技巧。致力于编写整洁、可维护的代码,并关注用户体验和产品质量。</p>
13
- <h2 id="求职意向"><a class="header-anchor" href="#求职意向">#</a>求职意向</h2><ul>
14
- <li><strong>期望职位</strong>: 高级前端工程师 / 全栈工程师</li>
15
- <li><strong>期望城市</strong>: 上海 / 杭州 / 远程</li>
16
- <li><strong>期望薪资</strong>: 面议</li>
17
- <li><strong>目前状态</strong>: 随时到岗</li>
18
- </ul>
19
- <hr>
20
- <p>Powered by <a href="https://github.com/uuware/lupine.js">Lupine.js</a>. 如果本模版对您有帮助,欢迎在 GitHub 上送我们一颗星 ⭐️</p>
1
+ <h1 id="张三-san-zhang"><a class="header-anchor" href="#张三-san-zhang">#</a>张三 (San Zhang)</h1><blockquote>
2
+ <p>全栈工程师 | 开源爱好者 | 持续学习者</p>
3
+ </blockquote>
4
+ <ul>
5
+ <li>📧 Email: <a href="javascript:lpPressLoad('/zh/mailto:your.email@example.com')">your.email@example.com</a></li>
6
+ <li>📱 电话: +86 138 0000 0000</li>
7
+ <li>🔗 GitHub: <a href="https://github.com/yourusername">github.com/yourusername</a></li>
8
+ <li>🌐 博客: <a href="https://yourblog.com">yourblog.com</a></li>
9
+ <li>📍 地点: 中国,上海</li>
10
+ </ul>
11
+ <h2 id="个人简介"><a class="header-anchor" href="#个人简介">#</a>个人简介</h2><p>拥有 5 年以上的前端和后端开发经验,专注于构建高性能、可扩展的 Web 应用。熟练掌握 React, Node.js, TypeScript 等技术栈。热衷于开源社区,并在 GitHub 上维护多个受欢迎的项目。</p>
12
+ <p>善于解决复杂问题,具备良好的团队协作能力和沟通技巧。致力于编写整洁、可维护的代码,并关注用户体验和产品质量。</p>
13
+ <h2 id="求职意向"><a class="header-anchor" href="#求职意向">#</a>求职意向</h2><ul>
14
+ <li><strong>期望职位</strong>: 高级前端工程师 / 全栈工程师</li>
15
+ <li><strong>期望城市</strong>: 上海 / 杭州 / 远程</li>
16
+ <li><strong>期望薪资</strong>: 面议</li>
17
+ <li><strong>目前状态</strong>: 随时到岗</li>
18
+ </ul>
19
+ <hr>
20
+ <p>Powered by <a href="https://github.com/uuware/lupine.js">Lupine.js</a>. 如果本模版对您有帮助,欢迎在 GitHub 上送我们一颗星 ⭐️</p>
@@ -1,15 +1,15 @@
1
- export const baseCss = {
2
- a: {
3
- textDecoration: 'none',
4
- color: 'inherit',
5
- '&:hover': { color: 'var(--press-brand-color)' },
6
- },
7
- body: {
8
- backgroundColor: 'var(--primary-bg-color)',
9
- color: 'var(--primary-color)',
10
- fontSize: 'var(--font-size-base)',
11
- lineHeight: 'var(--line-height-base)',
12
- fontFamily: 'var(--font-family-base)',
13
- fontWeight: 'var(--font-weight-base)',
14
- },
15
- };
1
+ export const baseCss = {
2
+ a: {
3
+ textDecoration: 'none',
4
+ color: 'inherit',
5
+ '&:hover': { color: 'var(--press-brand-color)' },
6
+ },
7
+ body: {
8
+ backgroundColor: 'var(--primary-bg-color)',
9
+ color: 'var(--primary-color)',
10
+ fontSize: 'var(--font-size-base)',
11
+ lineHeight: 'var(--line-height-base)',
12
+ fontFamily: 'var(--font-family-base)',
13
+ fontWeight: 'var(--font-weight-base)',
14
+ },
15
+ };
@@ -1,6 +1,6 @@
1
- {
2
- "name": "lupine-template-doc-starter-api",
3
- "version": "1.0.0",
4
- "dependencies": {},
5
- "devDependencies": {}
1
+ {
2
+ "name": "lupine-template-doc-starter-api",
3
+ "version": "1.0.0",
4
+ "dependencies": {},
5
+ "devDependencies": {}
6
6
  }
@@ -1,6 +1,6 @@
1
- {
2
- "WEB.pageLimit": "15",
3
- "WEB.siteTitle": "Sample title",
4
- "WEB.siteEmail": "sample@sample.com",
5
- "WEB.siteUrl": "https://sample.com"
6
- }
1
+ {
2
+ "WEB.pageLimit": "15",
3
+ "WEB.siteTitle": "Sample title",
4
+ "WEB.siteEmail": "sample@sample.com",
5
+ "WEB.siteUrl": "https://sample.com"
6
+ }
@@ -1,4 +1,4 @@
1
- #-- sql queries to create tables
2
- #-- Never name a table with plural (such as "users")
3
- #-- Never name a table using a reserved keyword (such as "user")
1
+ #-- sql queries to create tables
2
+ #-- Never name a table with plural (such as "users")
3
+ #-- Never name a table using a reserved keyword (such as "user")
4
4
  #-- Never prefix your table name with "tbl" or some other object type prefix
@@ -1,15 +1,15 @@
1
- import { IApiBase, ApiRouter, StaticServer, ApiModule } from 'lupine.api';
2
-
3
- class DocApi implements IApiBase {
4
- protected router = new ApiRouter();
5
-
6
- constructor() {
7
- this.router.use('*', new StaticServer().processRequest.bind(new StaticServer()));
8
- }
9
-
10
- public getRouter(): ApiRouter {
11
- return this.router;
12
- }
13
- }
14
-
15
- export const apiModule = new ApiModule(new DocApi());
1
+ import { IApiBase, ApiRouter, StaticServer, ApiModule } from 'lupine.api';
2
+
3
+ class DocApi implements IApiBase {
4
+ protected router = new ApiRouter();
5
+
6
+ constructor() {
7
+ this.router.use('*', new StaticServer().processRequest.bind(new StaticServer()));
8
+ }
9
+
10
+ public getRouter(): ApiRouter {
11
+ return this.router;
12
+ }
13
+ }
14
+
15
+ export const apiModule = new ApiModule(new DocApi());
@@ -1,6 +1,6 @@
1
- {
2
- "WEB.pageLimit": "15",
3
- "WEB.siteTitle": "Sample title",
4
- "WEB.siteEmail": "sample@sample.com",
5
- "WEB.siteUrl": "https://sample.com"
6
- }
1
+ {
2
+ "WEB.pageLimit": "15",
3
+ "WEB.siteTitle": "Sample title",
4
+ "WEB.siteEmail": "sample@sample.com",
5
+ "WEB.siteUrl": "https://sample.com"
6
+ }
@@ -1,4 +1,4 @@
1
- #-- sql queries to create tables
2
- #-- Never name a table with plural (such as "users")
3
- #-- Never name a table using a reserved keyword (such as "user")
1
+ #-- sql queries to create tables
2
+ #-- Never name a table with plural (such as "users")
3
+ #-- Never name a table using a reserved keyword (such as "user")
4
4
  #-- Never prefix your table name with "tbl" or some other object type prefix
@@ -1,40 +1,40 @@
1
- {
2
- "name": "lupine-template-doc-starter",
3
- "markdownEntryPoints": {
4
- "indir": "web/markdown",
5
- "outdir": "web/src/markdown-built"
6
- },
7
- "webEntryPoints": [
8
- {
9
- "index": "web/src/index.tsx",
10
- "html": "web/src/index.html",
11
- "outdir": "/"
12
- },
13
- {
14
- "index": "web/src/lupine-template-doc-starter/index.tsx",
15
- "html": "web/src/lupine-template-doc-starter/index.html",
16
- "outdir": "/lupine-template-doc-starter"
17
- }
18
- ],
19
- "apiEntryPoint": "api/src/index.ts",
20
- "watchFiles": [
21
- "web/markdown/**/*.md"
22
- ],
23
- "copyFiles": [
24
- {
25
- "env": "all",
26
- "from": "web/assets",
27
- "to": "web/assets"
28
- },
29
- {
30
- "env": "all",
31
- "from": "web/src/lupine-template-doc-starter/404.html",
32
- "to": "web/lupine-template-doc-starter/404.html"
33
- },
34
- {
35
- "env": "all",
36
- "from": "api/resources",
37
- "to": "data/resources"
38
- }
39
- ]
1
+ {
2
+ "name": "lupine-template-doc-starter",
3
+ "markdownEntryPoints": {
4
+ "indir": "web/markdown",
5
+ "outdir": "web/src/markdown-built"
6
+ },
7
+ "webEntryPoints": [
8
+ {
9
+ "index": "web/src/index.tsx",
10
+ "html": "web/src/index.html",
11
+ "outdir": "/"
12
+ },
13
+ {
14
+ "index": "web/src/lupine-template-doc-starter/index.tsx",
15
+ "html": "web/src/lupine-template-doc-starter/index.html",
16
+ "outdir": "/lupine-template-doc-starter"
17
+ }
18
+ ],
19
+ "apiEntryPoint": "api/src/index.ts",
20
+ "watchFiles": [
21
+ "web/markdown/**/*.md"
22
+ ],
23
+ "copyFiles": [
24
+ {
25
+ "env": "all",
26
+ "from": "web/assets",
27
+ "to": "web/assets"
28
+ },
29
+ {
30
+ "env": "all",
31
+ "from": "web/src/lupine-template-doc-starter/404.html",
32
+ "to": "web/lupine-template-doc-starter/404.html"
33
+ },
34
+ {
35
+ "env": "all",
36
+ "from": "api/resources",
37
+ "to": "data/resources"
38
+ }
39
+ ]
40
40
  }
@@ -1,6 +1,6 @@
1
- ---
2
- title: Core Essentials
3
- sidebar:
4
- - items:
5
- - /en/essentials/list
6
- ---
1
+ ---
2
+ title: Core Essentials
3
+ sidebar:
4
+ - items:
5
+ - /en/essentials/list
6
+ ---
@@ -1,18 +1,18 @@
1
- ---
2
- title: Essentials List
3
- ---
4
-
5
- > [!NOTE]
6
- > This is a demo document.
7
-
8
- # Essentials List
9
-
10
- This is a simplified essentials list doc for demo purposes.
11
-
12
- ## Feature Overview
13
-
14
- Here is an example listing key features:
15
-
16
- ```tsx
17
- const features = ['Fast', 'Reliable', 'Easy to use'];
18
- ```
1
+ ---
2
+ title: Essentials List
3
+ ---
4
+
5
+ > [!NOTE]
6
+ > This is a demo document.
7
+
8
+ # Essentials List
9
+
10
+ This is a simplified essentials list doc for demo purposes.
11
+
12
+ ## Feature Overview
13
+
14
+ Here is an example listing key features:
15
+
16
+ ```tsx
17
+ const features = ['Fast', 'Reliable', 'Easy to use'];
18
+ ```
@@ -1,18 +1,18 @@
1
- ---
2
- title: Installation
3
- ---
4
-
5
- > [!NOTE]
6
- > This is a demo document.
7
-
8
- # Installation
9
-
10
- This is a simplified installation guide for demo purposes.
11
-
12
- ## Basic Install
13
-
14
- Run the following command:
15
-
16
- ```bash
17
- npm install my-project
18
- ```
1
+ ---
2
+ title: Installation
3
+ ---
4
+
5
+ > [!NOTE]
6
+ > This is a demo document.
7
+
8
+ # Installation
9
+
10
+ This is a simplified installation guide for demo purposes.
11
+
12
+ ## Basic Install
13
+
14
+ Run the following command:
15
+
16
+ ```bash
17
+ npm install my-project
18
+ ```
@@ -1,22 +1,22 @@
1
- ---
2
- title: Getting Started
3
- ---
4
-
5
- > [!NOTE]
6
- > This is a demo document.
7
-
8
- # Getting Started
9
-
10
- This is a simplified getting started guide for demo purposes.
11
-
12
- ## Quick Start
13
-
14
- Initialize your project:
15
-
16
- ```javascript
17
- import { init } from 'my-project';
18
-
19
- init({
20
- debug: true,
21
- });
22
- ```
1
+ ---
2
+ title: Getting Started
3
+ ---
4
+
5
+ > [!NOTE]
6
+ > This is a demo document.
7
+
8
+ # Getting Started
9
+
10
+ This is a simplified getting started guide for demo purposes.
11
+
12
+ ## Quick Start
13
+
14
+ Initialize your project:
15
+
16
+ ```javascript
17
+ import { init } from 'my-project';
18
+
19
+ init({
20
+ debug: true,
21
+ });
22
+ ```
@@ -1,42 +1,42 @@
1
- ---
2
- layout: home
3
- title: Doc Starter
4
- sidemenu-width: 260px
5
- github-title: View on GitHub
6
- github-link: https://github.com/uuware/lupine.js
7
-
8
- lang:
9
- title: English
10
- id: en
11
-
12
- hero:
13
- name: Doc Starter
14
- text: A Demo Documentation Project
15
- tagline: This is a demo to show how to build documentation.
16
- actions:
17
- - theme: brand
18
- text: Get Started
19
- link: /en/guide/started
20
- - theme: alt
21
- text: View on GitHub
22
- link: https://github.com/uuware/lupine.js
23
-
24
- nav:
25
- - text: Guide
26
- link: /en/guide/started
27
- - text: API
28
- link: /en/essentials/list
29
-
30
- sidebar:
31
- - text: Guide
32
- items:
33
- - /en/guide/started
34
- - /en/guide/install
35
- - submenu: /en/essentials
36
-
37
- features:
38
- - title: Demo Feature 1
39
- details: This is a demo feature description.
40
- - title: Demo Feature 2
41
- details: This is another demo feature description.
42
- ---
1
+ ---
2
+ layout: home
3
+ title: Doc Starter
4
+ sidemenu-width: 260px
5
+ github-title: View on GitHub
6
+ github-link: https://github.com/uuware/lupine.js
7
+
8
+ lang:
9
+ title: English
10
+ id: en
11
+
12
+ hero:
13
+ name: Doc Starter
14
+ text: A Demo Documentation Project
15
+ tagline: This is a demo to show how to build documentation.
16
+ actions:
17
+ - theme: brand
18
+ text: Get Started
19
+ link: /en/guide/started
20
+ - theme: alt
21
+ text: View on GitHub
22
+ link: https://github.com/uuware/lupine.js
23
+
24
+ nav:
25
+ - text: Guide
26
+ link: /en/guide/started
27
+ - text: API
28
+ link: /en/essentials/list
29
+
30
+ sidebar:
31
+ - text: Guide
32
+ items:
33
+ - /en/guide/started
34
+ - /en/guide/install
35
+ - submenu: /en/essentials
36
+
37
+ features:
38
+ - title: Demo Feature 1
39
+ details: This is a demo feature description.
40
+ - title: Demo Feature 2
41
+ details: This is another demo feature description.
42
+ ---
@@ -1,7 +1,7 @@
1
- ---
2
- lang:
3
- - title: English
4
- id: en
5
- - title: 简体中文
6
- id: zh
7
- ---
1
+ ---
2
+ lang:
3
+ - title: English
4
+ id: en
5
+ - title: 简体中文
6
+ id: zh
7
+ ---
@@ -1,6 +1,6 @@
1
- ---
2
- sidebar:
3
- - text: 核心要点
4
- items:
5
- - /zh/essentials/list
6
- ---
1
+ ---
2
+ sidebar:
3
+ - text: 核心要点
4
+ items:
5
+ - /zh/essentials/list
6
+ ---
@@ -1,18 +1,18 @@
1
- ---
2
- title: 核心要点列表
3
- ---
4
-
5
- > [!NOTE]
6
- > This is a demo document.
7
-
8
- # 核心要点列表
9
-
10
- This is a simplified essentials list doc for demo purposes.
11
-
12
- ## 核心要点概述
13
-
14
- Here is an example listing key features:
15
-
16
- ```tsx
17
- const features = ['Fast', 'Reliable', 'Easy to use'];
18
- ```
1
+ ---
2
+ title: 核心要点列表
3
+ ---
4
+
5
+ > [!NOTE]
6
+ > This is a demo document.
7
+
8
+ # 核心要点列表
9
+
10
+ This is a simplified essentials list doc for demo purposes.
11
+
12
+ ## 核心要点概述
13
+
14
+ Here is an example listing key features:
15
+
16
+ ```tsx
17
+ const features = ['Fast', 'Reliable', 'Easy to use'];
18
+ ```
@@ -1,18 +1,18 @@
1
- ---
2
- title: 安装
3
- ---
4
-
5
- > [!NOTE]
6
- > This is a demo document.
7
-
8
- # 安装
9
-
10
- This is a simplified installation guide for demo purposes.
11
-
12
- ## 基本安装
13
-
14
- Run the following command:
15
-
16
- ```bash
17
- npm install my-project
18
- ```
1
+ ---
2
+ title: 安装
3
+ ---
4
+
5
+ > [!NOTE]
6
+ > This is a demo document.
7
+
8
+ # 安装
9
+
10
+ This is a simplified installation guide for demo purposes.
11
+
12
+ ## 基本安装
13
+
14
+ Run the following command:
15
+
16
+ ```bash
17
+ npm install my-project
18
+ ```
@@ -1,22 +1,22 @@
1
- ---
2
- title: 快速开始
3
- ---
4
-
5
- > [!NOTE]
6
- > This is a demo document.
7
-
8
- # 简介
9
-
10
- This is a simplified getting started guide for demo purposes.
11
-
12
- ## 快速开始
13
-
14
- Initialize your project:
15
-
16
- ```javascript
17
- import { init } from 'my-project';
18
-
19
- init({
20
- debug: true,
21
- });
22
- ```
1
+ ---
2
+ title: 快速开始
3
+ ---
4
+
5
+ > [!NOTE]
6
+ > This is a demo document.
7
+
8
+ # 简介
9
+
10
+ This is a simplified getting started guide for demo purposes.
11
+
12
+ ## 快速开始
13
+
14
+ Initialize your project:
15
+
16
+ ```javascript
17
+ import { init } from 'my-project';
18
+
19
+ init({
20
+ debug: true,
21
+ });
22
+ ```