@lukoweb/create-apitogo 0.1.24 → 0.1.37
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.
- package/LICENSE.md +18 -18
- package/dist/index.js +5 -5
- package/dist/templates/default/js/.env.example +2 -2
- package/dist/templates/default/js/apis/openapi.yaml +806 -806
- package/dist/templates/default/js/eslintrc.json +4 -4
- package/dist/templates/default/js/gitignore +32 -32
- package/dist/templates/default/js/pages/example.mdx +131 -131
- package/dist/templates/default/js/pages/introduction.mdx +20 -20
- package/dist/templates/default/js/public/logo-dark.svg +1 -1
- package/dist/templates/default/js/public/logo-light.svg +1 -1
- package/dist/templates/default/ts/.env.example +2 -2
- package/dist/templates/default/ts/.env.production +1 -0
- package/dist/templates/default/ts/apis/openapi.yaml +806 -806
- package/dist/templates/default/ts/apitogo.config.tsx +23 -1
- package/dist/templates/default/ts/apitogo.local.json +23 -0
- package/dist/templates/default/ts/eslintrc.json +6 -6
- package/dist/templates/default/ts/gitignore +32 -32
- package/dist/templates/default/ts/pages/example.mdx +132 -132
- package/dist/templates/default/ts/pages/introduction.mdx +20 -20
- package/dist/templates/default/ts/public/banner-dark.svg +100 -100
- package/dist/templates/default/ts/public/banner.svg +100 -100
- package/dist/templates/default/ts/public/logo-dark.svg +1 -1
- package/dist/templates/default/ts/public/logo-light.svg +1 -1
- package/dist/templates/default/ts/tsconfig.json +16 -16
- package/dist/templates/index.ts +88 -6
- package/dist/templates/types.ts +22 -22
- package/dist/templates/zuplo/README-template.md +40 -40
- package/dist/templates/zuplo/gitignore +32 -32
- package/dist/templates/zuplo/pages/introduction.mdx +153 -153
- package/dist/templates/zuplo/pages/markdown.mdx +108 -108
- package/dist/templates/zuplo/public/banner-dark.svg +100 -100
- package/dist/templates/zuplo/public/banner.svg +100 -100
- package/dist/templates/zuplo/tsconfig.json +16 -16
- package/package.json +8 -5
|
@@ -1,108 +1,108 @@
|
|
|
1
|
-
# Welcome to Our Documentation
|
|
2
|
-
|
|
3
|
-
## Overview
|
|
4
|
-
|
|
5
|
-
This page demonstrates various markdown features and formatting options available in our
|
|
6
|
-
documentation system. Whether you're writing technical documentation, guides, or tutorials, these
|
|
7
|
-
examples will help you create beautiful and well-structured content.
|
|
8
|
-
|
|
9
|
-
### Key Features
|
|
10
|
-
|
|
11
|
-
- **Rich Text Formatting**: Bold, italic, and code formatting
|
|
12
|
-
- **Lists**: Ordered and unordered lists
|
|
13
|
-
- **Code Blocks**: Syntax highlighting for multiple languages
|
|
14
|
-
- **Tables**: Organized data presentation
|
|
15
|
-
- **Images**: Visual content integration
|
|
16
|
-
- **Links**: Internal and external references
|
|
17
|
-
|
|
18
|
-
## Text Formatting
|
|
19
|
-
|
|
20
|
-
You can make text **bold** or _italic_ to emphasize important points. For technical terms, use
|
|
21
|
-
`inline code` formatting.
|
|
22
|
-
|
|
23
|
-
### Code Examples
|
|
24
|
-
|
|
25
|
-
Here's a simple JavaScript function:
|
|
26
|
-
|
|
27
|
-
```javascript
|
|
28
|
-
function greet(name) {
|
|
29
|
-
return `Hello, ${name}!`;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
// Example usage
|
|
33
|
-
console.log(greet("World"));
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
And here's a Python example:
|
|
37
|
-
|
|
38
|
-
```python
|
|
39
|
-
def calculate_fibonacci(n):
|
|
40
|
-
if n <= 1:
|
|
41
|
-
return n
|
|
42
|
-
return calculate_fibonacci(n-1) + calculate_fibonacci(n-2)
|
|
43
|
-
|
|
44
|
-
# Print first 10 Fibonacci numbers
|
|
45
|
-
for i in range(10):
|
|
46
|
-
print(calculate_fibonacci(i))
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
## Lists and Organization
|
|
50
|
-
|
|
51
|
-
### Unordered Lists
|
|
52
|
-
|
|
53
|
-
- First item
|
|
54
|
-
- Second item
|
|
55
|
-
- Nested item
|
|
56
|
-
- Another nested item
|
|
57
|
-
- Third item
|
|
58
|
-
|
|
59
|
-
### Ordered Lists
|
|
60
|
-
|
|
61
|
-
1. First step
|
|
62
|
-
2. Second step
|
|
63
|
-
1. Sub-step A
|
|
64
|
-
2. Sub-step B
|
|
65
|
-
3. Third step
|
|
66
|
-
|
|
67
|
-
## Tables
|
|
68
|
-
|
|
69
|
-
| Feature | Description | Status |
|
|
70
|
-
| ----------- | --------------------- | ------ |
|
|
71
|
-
| Markdown | Basic text formatting | ✅ |
|
|
72
|
-
| Code Blocks | Syntax highlighting | ✅ |
|
|
73
|
-
| Tables | Data organization | ✅ |
|
|
74
|
-
| Images | Visual content | ✅ |
|
|
75
|
-
|
|
76
|
-
## Blockquotes
|
|
77
|
-
|
|
78
|
-
> "The best way to predict the future is to implement it."
|
|
79
|
-
>
|
|
80
|
-
> — Alan Kay
|
|
81
|
-
|
|
82
|
-
## Links and References
|
|
83
|
-
|
|
84
|
-
- [Internal Link](#overview)
|
|
85
|
-
- [External Link](https://example.com)
|
|
86
|
-
- [Documentation Home](/)
|
|
87
|
-
|
|
88
|
-
## Horizontal Rules
|
|
89
|
-
|
|
90
|
-
---
|
|
91
|
-
|
|
92
|
-
## Additional Tips
|
|
93
|
-
|
|
94
|
-
1. Use headings to create a clear hierarchy
|
|
95
|
-
2. Keep paragraphs short and focused
|
|
96
|
-
3. Include code examples when relevant
|
|
97
|
-
4. Use lists for better readability
|
|
98
|
-
5. Add tables for structured data
|
|
99
|
-
|
|
100
|
-
## Conclusion
|
|
101
|
-
|
|
102
|
-
This example demonstrates the power and flexibility of markdown for creating beautiful
|
|
103
|
-
documentation. Feel free to use these patterns in your own documentation to maintain consistency and
|
|
104
|
-
readability.
|
|
105
|
-
|
|
106
|
-
---
|
|
107
|
-
|
|
108
|
-
_Last updated: March 2024_
|
|
1
|
+
# Welcome to Our Documentation
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
This page demonstrates various markdown features and formatting options available in our
|
|
6
|
+
documentation system. Whether you're writing technical documentation, guides, or tutorials, these
|
|
7
|
+
examples will help you create beautiful and well-structured content.
|
|
8
|
+
|
|
9
|
+
### Key Features
|
|
10
|
+
|
|
11
|
+
- **Rich Text Formatting**: Bold, italic, and code formatting
|
|
12
|
+
- **Lists**: Ordered and unordered lists
|
|
13
|
+
- **Code Blocks**: Syntax highlighting for multiple languages
|
|
14
|
+
- **Tables**: Organized data presentation
|
|
15
|
+
- **Images**: Visual content integration
|
|
16
|
+
- **Links**: Internal and external references
|
|
17
|
+
|
|
18
|
+
## Text Formatting
|
|
19
|
+
|
|
20
|
+
You can make text **bold** or _italic_ to emphasize important points. For technical terms, use
|
|
21
|
+
`inline code` formatting.
|
|
22
|
+
|
|
23
|
+
### Code Examples
|
|
24
|
+
|
|
25
|
+
Here's a simple JavaScript function:
|
|
26
|
+
|
|
27
|
+
```javascript
|
|
28
|
+
function greet(name) {
|
|
29
|
+
return `Hello, ${name}!`;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
// Example usage
|
|
33
|
+
console.log(greet("World"));
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
And here's a Python example:
|
|
37
|
+
|
|
38
|
+
```python
|
|
39
|
+
def calculate_fibonacci(n):
|
|
40
|
+
if n <= 1:
|
|
41
|
+
return n
|
|
42
|
+
return calculate_fibonacci(n-1) + calculate_fibonacci(n-2)
|
|
43
|
+
|
|
44
|
+
# Print first 10 Fibonacci numbers
|
|
45
|
+
for i in range(10):
|
|
46
|
+
print(calculate_fibonacci(i))
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## Lists and Organization
|
|
50
|
+
|
|
51
|
+
### Unordered Lists
|
|
52
|
+
|
|
53
|
+
- First item
|
|
54
|
+
- Second item
|
|
55
|
+
- Nested item
|
|
56
|
+
- Another nested item
|
|
57
|
+
- Third item
|
|
58
|
+
|
|
59
|
+
### Ordered Lists
|
|
60
|
+
|
|
61
|
+
1. First step
|
|
62
|
+
2. Second step
|
|
63
|
+
1. Sub-step A
|
|
64
|
+
2. Sub-step B
|
|
65
|
+
3. Third step
|
|
66
|
+
|
|
67
|
+
## Tables
|
|
68
|
+
|
|
69
|
+
| Feature | Description | Status |
|
|
70
|
+
| ----------- | --------------------- | ------ |
|
|
71
|
+
| Markdown | Basic text formatting | ✅ |
|
|
72
|
+
| Code Blocks | Syntax highlighting | ✅ |
|
|
73
|
+
| Tables | Data organization | ✅ |
|
|
74
|
+
| Images | Visual content | ✅ |
|
|
75
|
+
|
|
76
|
+
## Blockquotes
|
|
77
|
+
|
|
78
|
+
> "The best way to predict the future is to implement it."
|
|
79
|
+
>
|
|
80
|
+
> — Alan Kay
|
|
81
|
+
|
|
82
|
+
## Links and References
|
|
83
|
+
|
|
84
|
+
- [Internal Link](#overview)
|
|
85
|
+
- [External Link](https://example.com)
|
|
86
|
+
- [Documentation Home](/)
|
|
87
|
+
|
|
88
|
+
## Horizontal Rules
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
## Additional Tips
|
|
93
|
+
|
|
94
|
+
1. Use headings to create a clear hierarchy
|
|
95
|
+
2. Keep paragraphs short and focused
|
|
96
|
+
3. Include code examples when relevant
|
|
97
|
+
4. Use lists for better readability
|
|
98
|
+
5. Add tables for structured data
|
|
99
|
+
|
|
100
|
+
## Conclusion
|
|
101
|
+
|
|
102
|
+
This example demonstrates the power and flexibility of markdown for creating beautiful
|
|
103
|
+
documentation. Feel free to use these patterns in your own documentation to maintain consistency and
|
|
104
|
+
readability.
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
_Last updated: March 2024_
|