@docubook/create 1.15.0 → 1.15.2

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 (44) hide show
  1. package/package.json +1 -1
  2. package/src/dist/app/layout.tsx +0 -1
  3. package/src/dist/app/page.tsx +1 -1
  4. package/src/dist/components/DocSearch.tsx +0 -1
  5. package/src/dist/contents/docs/api-reference/delete/index.mdx +63 -0
  6. package/src/dist/contents/docs/api-reference/fetch/index.mdx +63 -0
  7. package/src/dist/contents/docs/api-reference/get/index.mdx +63 -0
  8. package/src/dist/contents/docs/api-reference/post/index.mdx +63 -0
  9. package/src/dist/contents/docs/changelog/version-1/index.mdx +22 -654
  10. package/src/dist/contents/docs/changelog/version-2/index.mdx +49 -0
  11. package/src/dist/contents/docs/changelog/version-3/index.mdx +49 -0
  12. package/src/dist/contents/docs/getting-started/development/index.mdx +63 -0
  13. package/src/dist/contents/docs/getting-started/introduction/index.mdx +49 -36
  14. package/src/dist/contents/docs/getting-started/quick-start-guide/index.mdx +44 -126
  15. package/src/dist/docu.json +90 -104
  16. package/src/dist/package.json +1 -1
  17. package/src/dist/styles/algolia.css +97 -91
  18. package/src/dist/styles/globals.css +5 -3
  19. package/src/dist/contents/docs/components/accordion/index.mdx +0 -86
  20. package/src/dist/contents/docs/components/button/index.mdx +0 -40
  21. package/src/dist/contents/docs/components/card/index.mdx +0 -68
  22. package/src/dist/contents/docs/components/card-group/index.mdx +0 -47
  23. package/src/dist/contents/docs/components/code-block/index.mdx +0 -39
  24. package/src/dist/contents/docs/components/custom/index.mdx +0 -38
  25. package/src/dist/contents/docs/components/file-tree/index.mdx +0 -109
  26. package/src/dist/contents/docs/components/image/index.mdx +0 -37
  27. package/src/dist/contents/docs/components/index.mdx +0 -9
  28. package/src/dist/contents/docs/components/keyboard/index.mdx +0 -117
  29. package/src/dist/contents/docs/components/link/index.mdx +0 -34
  30. package/src/dist/contents/docs/components/note/index.mdx +0 -44
  31. package/src/dist/contents/docs/components/release-note/index.mdx +0 -130
  32. package/src/dist/contents/docs/components/stepper/index.mdx +0 -45
  33. package/src/dist/contents/docs/components/tabs/index.mdx +0 -70
  34. package/src/dist/contents/docs/components/tooltips/index.mdx +0 -22
  35. package/src/dist/contents/docs/components/youtube/index.mdx +0 -23
  36. package/src/dist/contents/docs/getting-started/customize/index.mdx +0 -92
  37. package/src/dist/contents/docs/getting-started/index.mdx +0 -9
  38. package/src/dist/contents/docs/getting-started/installation/index.mdx +0 -84
  39. package/src/dist/contents/docs/getting-started/project-structure/index.mdx +0 -87
  40. package/src/dist/contents/docs/getting-started/theme-colors/coffee/index.mdx +0 -165
  41. package/src/dist/contents/docs/getting-started/theme-colors/default/index.mdx +0 -160
  42. package/src/dist/contents/docs/getting-started/theme-colors/freshlime/index.mdx +0 -161
  43. package/src/dist/contents/docs/getting-started/theme-colors/index.mdx +0 -9
  44. package/src/dist/contents/docs/getting-started/theme-colors/llms/index.mdx +0 -77
@@ -1,161 +0,0 @@
1
- ---
2
- title: Fresh Lime
3
- description: A fresh and vibrant freshlime-themed color scheme that's easy on the eyes while maintaining excellent readability.
4
- date: 2025-05-30
5
- ---
6
-
7
- ## Styles
8
- <Note type="note" title="note">
9
- You can override the default styles by adding your own CSS variables in the `globals.css` and `syntax.css` files.
10
- </Note>
11
-
12
- <Tabs defaultValue="globals" className="pt-5 pb-1">
13
- <TabsList>
14
- <TabsTrigger value="globals">globals.css</TabsTrigger>
15
- <TabsTrigger value="syntax">syntax.css</TabsTrigger>
16
- </TabsList>
17
- <TabsContent value="globals">
18
- ```css:globals.css
19
- /* Fresh Lime Theme */
20
- @layer base {
21
- :root {
22
- --background: 85 45% 98%;
23
- --foreground: 85 30% 10%;
24
- --card: 0 0% 100%;
25
- --card-foreground: 85 30% 10%;
26
- --popover: 0 0% 100%;
27
- --popover-foreground: 85 30% 10%;
28
- --primary: 85 70% 45%;
29
- --primary-foreground: 0 0% 100%;
30
- --secondary: 85 40% 90%;
31
- --secondary-foreground: 85 30% 10%;
32
- --muted: 85 30% 92%;
33
- --muted-foreground: 85 15% 45%;
34
- --accent: 85 60% 40%;
35
- --accent-foreground: 0 0% 100%;
36
- --destructive: 0 85% 60%;
37
- --destructive-foreground: 0 0% 100%;
38
- --border: 85 25% 88%;
39
- --input: 85 25% 88%;
40
- --ring: 85 70% 45%;
41
- --radius: 0.5rem;
42
- --chart-1: 85 70% 45%;
43
- --chart-2: 85 60% 40%;
44
- --chart-3: 85 80% 40%;
45
- --chart-4: 85 85% 35%;
46
- --chart-5: 85 90% 30%;
47
- --line-number-color: rgba(0, 0, 0, 0.05);
48
- }
49
-
50
- .dark {
51
- --background: 85 20% 8%;
52
- --foreground: 85 30% 96%;
53
- --card: 85 20% 10%;
54
- --card-foreground: 85 30% 96%;
55
- --popover: 85 20% 10%;
56
- --popover-foreground: 85 30% 96%;
57
- --primary: 85 75% 55%;
58
- --primary-foreground: 85 20% 8%;
59
- --secondary: 85 25% 18%;
60
- --secondary-foreground: 85 30% 96%;
61
- --muted: 85 20% 20%;
62
- --muted-foreground: 85 20% 70%;
63
- --accent: 85 70% 50%;
64
- --accent-foreground: 0 0% 100%;
65
- --destructive: 0 85% 65%;
66
- --destructive-foreground: 0 0% 100%;
67
- --border: 85 25% 22%;
68
- --input: 85 25% 22%;
69
- --ring: 85 75% 55%;
70
- --chart-1: 85 75% 55%;
71
- --chart-2: 85 70% 50%;
72
- --chart-3: 85 80% 45%;
73
- --chart-4: 85 85% 40%;
74
- --chart-5: 85 90% 35%;
75
- --line-number-color: rgba(255, 255, 255, 0.1);
76
- }
77
- }
78
- ```
79
- </TabsContent>
80
-
81
- <TabsContent value="syntax">
82
- ```css:syntax.css
83
- /* Fresh Lime Theme - Syntax Highlighting */
84
-
85
- /* Light Mode */
86
- .keyword {
87
- color: hsl(85 70% 30%); /* Dark lime green */
88
- }
89
-
90
- .function {
91
- color: hsl(85 65% 35%); /* Slightly lighter lime */
92
- }
93
-
94
- .punctuation {
95
- color: hsl(85 15% 50%); /* Muted green-gray */
96
- }
97
-
98
- .comment {
99
- color: hsl(85 15% 50%); /* Muted green-gray */
100
- font-style: italic;
101
- }
102
-
103
- .string,
104
- .constant,
105
- .annotation,
106
- .boolean,
107
- .number {
108
- color: hsl(85 50% 35%); /* Medium lime green */
109
- }
110
-
111
- .tag {
112
- color: hsl(85 70% 25%); /* Darker lime */
113
- }
114
-
115
- .attr-name {
116
- color: hsl(85 60% 35%); /* Lime green */
117
- }
118
-
119
- .attr-value {
120
- color: hsl(85 70% 30%); /* Dark lime green */
121
- }
122
-
123
- /* Dark Mode */
124
- .dark .keyword {
125
- color: hsl(85 75% 65%); /* Bright lime */
126
- }
127
-
128
- .dark .function {
129
- color: hsl(85 75% 60%); /* Slightly less bright lime */
130
- }
131
-
132
- .dark .string,
133
- .dark .constant,
134
- .dark .annotation,
135
- .dark .boolean,
136
- .dark .number {
137
- color: hsl(85 60% 70%); /* Light lime */
138
- }
139
-
140
- .dark .tag {
141
- color: hsl(85 70% 70%); /* Bright lime */
142
- }
143
-
144
- .dark .attr-name {
145
- color: hsl(85 65% 70%); /* Light lime */
146
- }
147
-
148
- .dark .attr-value {
149
- color: hsl(85 75% 65%); /* Bright lime */
150
- }
151
-
152
- .dark .comment {
153
- color: hsl(85 15% 60%); /* Light gray-green */
154
- }
155
-
156
- .dark .punctuation {
157
- color: hsl(85 20% 70%); /* Light gray-green */
158
- }
159
- ```
160
- </TabsContent>
161
- </Tabs>
@@ -1,9 +0,0 @@
1
- ---
2
- title : Theme Colors
3
- description : Color system used in DocuBook for styling UI elements
4
- date : 2025-05-20
5
- ---
6
-
7
- DocuBook comes with a carefully designed color system that ensures consistency and accessibility across your documentation. The theme includes both light and dark modes, automatically adapting to the user's system preferences.
8
-
9
- <Outlet path="getting-started/theme-colors" />
@@ -1,77 +0,0 @@
1
- ---
2
- title: Llms.txt - Generate Custom Theme
3
- description: Complete guide for creating and using AI-generated custom themes based on LLMS context.
4
- date: 2025-05-31
5
- ---
6
-
7
- ## Introduction
8
- This document explains how to create and implement custom color themes using AI with LLMS context. The context includes a consistent color palette for both light and dark modes, along with syntax highlighting colors for code.
9
-
10
- ## File Structure
11
- <Files>
12
- <Folder name="styles">
13
- <File name="globals.css" />
14
- <File name="syntax.css" />
15
- </Folder>
16
- </Files>
17
-
18
- ## Generate New Theme
19
-
20
- <Stepper>
21
- <StepperItem title="Step 1: Access LLM for Color Generation">
22
- Ensure you have access to a language model (LLM) that supports color palette generation
23
- </StepperItem>
24
- <StepperItem title="Step 2: Prepare Color Context">
25
- Share the content of the [llms.txt](/llms.txt) file with the AI to provide the current color scheme context.
26
- </StepperItem>
27
- <StepperItem title="Step 3: Define Color Requirements">
28
- Determine your preferred color scheme or theme requirements
29
- </StepperItem>
30
- <StepperItem title="Step 4: Generate New Theme">
31
- Use the following prompt to request a new theme from the AI:
32
-
33
- ```markdown
34
- Create a new color theme based on the provided context with the following requirements:
35
- 1. Different primary color #2281E3
36
- 2. Maintain good contrast for accessibility
37
- 3. Include variants for both light and dark modes
38
- 4. Keep the same structure as the provided context
39
- ```
40
- <Note type="danger" title="Colors example">
41
- changes the value of Hex color `#2281E3` into your brand colors.
42
- </Note>
43
- </StepperItem>
44
- </Stepper>
45
-
46
- ## Implementation
47
- After receiving the new color palette:
48
-
49
- 1. Copy the generated CSS code to your theme file
50
- 2. Update CSS variables in `globals.css`
51
- 3. Adjust syntax colors in `syntax.css` if needed
52
- 4. Test the theme across different devices and display modes
53
-
54
- ## Example Implementation
55
- ```css
56
- :root {
57
- --primary: 210 81% 56%; /* Primary color */
58
- --secondary: 210 30% 90%; /* Secondary color */
59
- /* ... and so on */
60
- }
61
-
62
- .dark {
63
- --primary: 210 100% 65%; /* Dark mode primary color */
64
- /* ... and so on */
65
- }
66
- ```
67
-
68
- ## Tips and Recommendations
69
- - Always test color contrast to ensure accessibility
70
- - Maintain consistency with existing themes
71
- - Use tools like [WebAIM Contrast Checker](https://webaim.org/resources/contrastchecker/) to verify contrast ratios
72
- - Keep backups of previous theme versions before making major changes
73
-
74
- ## Troubleshooting
75
- - If colors don't change, ensure CSS variables are properly imported
76
- - Check CSS selector specificity if styles conflict
77
- - Verify dark/light mode toggling is working correctly