@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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docubook/create",
3
- "version": "1.15.0",
3
+ "version": "1.15.2",
4
4
  "description": "CLI to create DocuBook projects",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -7,7 +7,6 @@ import { Footer } from "@/components/footer";
7
7
  import docuConfig from "@/docu.json";
8
8
  import { Toaster } from "@/components/ui/sonner";
9
9
  import "@/styles/globals.css";
10
- import "@/styles/algolia.css";
11
10
 
12
11
  const { meta } = docuConfig;
13
12
 
@@ -25,7 +25,7 @@ export default function Home() {
25
25
  )}
26
26
  >
27
27
  <AnimatedShinyText className="inline-flex items-center justify-center px-4 py-1 transition ease-out hover:text-neutral-100 hover:duration-300 hover:dark:text-neutral-200">
28
- <span>🚀 New Version - Release v1.15.0</span>
28
+ <span>🚀 New Version - Release v1.15.2</span>
29
29
  <ArrowRightIcon className="ml-1 size-3 transition-transform duration-300 ease-in-out group-hover:translate-x-0.5" />
30
30
  </AnimatedShinyText>
31
31
  </div>
@@ -2,7 +2,6 @@
2
2
 
3
3
  import React from "react";
4
4
  import { DocSearch } from "@docsearch/react";
5
- import "@docsearch/css";
6
5
 
7
6
  export default function DocSearchComponent() {
8
7
  const appId = process.env.NEXT_PUBLIC_ALGOLIA_DOCSEARCH_APP_ID;
@@ -0,0 +1,63 @@
1
+ ---
2
+ title : Delete
3
+ description : example api DELETE
4
+ date : 10-12-2024
5
+ ---
6
+
7
+ ## Heading 2
8
+
9
+ this is regular text written in markdown format with `inline code`, **bold**, and *italic*
10
+
11
+ ### Heading 3
12
+
13
+ example of ordered list format :
14
+
15
+ - list one
16
+ - sub list
17
+ - list two
18
+ - list three
19
+
20
+ #### Heading 4
21
+
22
+ Below is an example of how to write a code block :
23
+
24
+ ````plaintext
25
+ ```javascript:main.js showLineNumbers {3-4}
26
+ function isRocketAboutToCrash() {
27
+ // Check if the rocket is stable
28
+ if (!isStable()) {
29
+ NoCrash(); // Prevent the crash
30
+ }
31
+ }
32
+ ```
33
+ ````
34
+
35
+ example note :
36
+ ```plaintext
37
+ <Note type="note" title="Note">
38
+ This is a general note to convey information to the user.
39
+ </Note>
40
+ ```
41
+
42
+ displaying an image in markdown format :
43
+
44
+ ```plaintext
45
+ ![Alt text for the image](https://via.placeholder.com/150)
46
+ ```
47
+
48
+ render as :
49
+ ![Alt text for the image](https://via.placeholder.com/150)
50
+
51
+ For a complete guide on using markdown content in DocuBook, please refer to the [Components](https://docubook.pro/docs/components) page.
52
+
53
+ <Note type="warning" title="Warning">
54
+ every page that is indexed in a folder will have an `index.mdx` file with metadata :
55
+ ```plaintext
56
+ ---
57
+ title : Introduction
58
+ description : overview or synopsis of a project
59
+ date : 10-12-2024
60
+ image : example-img.png
61
+ ---
62
+ ```
63
+ </Note>
@@ -0,0 +1,63 @@
1
+ ---
2
+ title : Fetch
3
+ description : example api FETCH
4
+ date : 10-12-2024
5
+ ---
6
+
7
+ ## Heading 2
8
+
9
+ this is regular text written in markdown format with `inline code`, **bold**, and *italic*
10
+
11
+ ### Heading 3
12
+
13
+ example of ordered list format :
14
+
15
+ - list one
16
+ - sub list
17
+ - list two
18
+ - list three
19
+
20
+ #### Heading 4
21
+
22
+ Below is an example of how to write a code block :
23
+
24
+ ````plaintext
25
+ ```javascript:main.js showLineNumbers {3-4}
26
+ function isRocketAboutToCrash() {
27
+ // Check if the rocket is stable
28
+ if (!isStable()) {
29
+ NoCrash(); // Prevent the crash
30
+ }
31
+ }
32
+ ```
33
+ ````
34
+
35
+ example note :
36
+ ```plaintext
37
+ <Note type="note" title="Note">
38
+ This is a general note to convey information to the user.
39
+ </Note>
40
+ ```
41
+
42
+ displaying an image in markdown format :
43
+
44
+ ```plaintext
45
+ ![Alt text for the image](https://via.placeholder.com/150)
46
+ ```
47
+
48
+ render as :
49
+ ![Alt text for the image](https://via.placeholder.com/150)
50
+
51
+ For a complete guide on using markdown content in DocuBook, please refer to the [Components](https://docubook.pro/docs/components) page.
52
+
53
+ <Note type="warning" title="Warning">
54
+ every page that is indexed in a folder will have an `index.mdx` file with metadata :
55
+ ```plaintext
56
+ ---
57
+ title : Introduction
58
+ description : overview or synopsis of a project
59
+ date : 10-12-2024
60
+ image : example-img.png
61
+ ---
62
+ ```
63
+ </Note>
@@ -0,0 +1,63 @@
1
+ ---
2
+ title : Get
3
+ description : example api GET
4
+ date : 10-12-2024
5
+ ---
6
+
7
+ ## Heading 2
8
+
9
+ this is regular text written in markdown format with `inline code`, **bold**, and *italic*
10
+
11
+ ### Heading 3
12
+
13
+ example of ordered list format :
14
+
15
+ - list one
16
+ - sub list
17
+ - list two
18
+ - list three
19
+
20
+ #### Heading 4
21
+
22
+ Below is an example of how to write a code block :
23
+
24
+ ````plaintext
25
+ ```javascript:main.js showLineNumbers {3-4}
26
+ function isRocketAboutToCrash() {
27
+ // Check if the rocket is stable
28
+ if (!isStable()) {
29
+ NoCrash(); // Prevent the crash
30
+ }
31
+ }
32
+ ```
33
+ ````
34
+
35
+ example note :
36
+ ```plaintext
37
+ <Note type="note" title="Note">
38
+ This is a general note to convey information to the user.
39
+ </Note>
40
+ ```
41
+
42
+ displaying an image in markdown format :
43
+
44
+ ```plaintext
45
+ ![Alt text for the image](https://via.placeholder.com/150)
46
+ ```
47
+
48
+ render as :
49
+ ![Alt text for the image](https://via.placeholder.com/150)
50
+
51
+ For a complete guide on using markdown content in DocuBook, please refer to the [Components](https://docubook.pro/docs/components) page.
52
+
53
+ <Note type="warning" title="Warning">
54
+ every page that is indexed in a folder will have an `index.mdx` file with metadata :
55
+ ```plaintext
56
+ ---
57
+ title : Introduction
58
+ description : overview or synopsis of a project
59
+ date : 10-12-2024
60
+ image : example-img.png
61
+ ---
62
+ ```
63
+ </Note>
@@ -0,0 +1,63 @@
1
+ ---
2
+ title : Post
3
+ description : example api POST
4
+ date : 10-12-2024
5
+ ---
6
+
7
+ ## Heading 2
8
+
9
+ this is regular text written in markdown format with `inline code`, **bold**, and *italic*
10
+
11
+ ### Heading 3
12
+
13
+ example of ordered list format :
14
+
15
+ - list one
16
+ - sub list
17
+ - list two
18
+ - list three
19
+
20
+ #### Heading 4
21
+
22
+ Below is an example of how to write a code block :
23
+
24
+ ````plaintext
25
+ ```javascript:main.js showLineNumbers {3-4}
26
+ function isRocketAboutToCrash() {
27
+ // Check if the rocket is stable
28
+ if (!isStable()) {
29
+ NoCrash(); // Prevent the crash
30
+ }
31
+ }
32
+ ```
33
+ ````
34
+
35
+ example note :
36
+ ```plaintext
37
+ <Note type="note" title="Note">
38
+ This is a general note to convey information to the user.
39
+ </Note>
40
+ ```
41
+
42
+ displaying an image in markdown format :
43
+
44
+ ```plaintext
45
+ ![Alt text for the image](https://via.placeholder.com/150)
46
+ ```
47
+
48
+ render as :
49
+ ![Alt text for the image](https://via.placeholder.com/150)
50
+
51
+ For a complete guide on using markdown content in DocuBook, please refer to the [Components](https://docubook.pro/docs/components) page.
52
+
53
+ <Note type="warning" title="Warning">
54
+ every page that is indexed in a folder will have an `index.mdx` file with metadata :
55
+ ```plaintext
56
+ ---
57
+ title : Introduction
58
+ description : overview or synopsis of a project
59
+ date : 10-12-2024
60
+ image : example-img.png
61
+ ---
62
+ ```
63
+ </Note>