@lukoweb/create-apitogo 0.2.22 → 0.2.24

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 (60) hide show
  1. package/LICENSE.md +18 -18
  2. package/README.md +60 -60
  3. package/dist/index.js +0 -1
  4. package/dist/templates/default/js/AGENTS.md +35 -35
  5. package/dist/templates/default/js/README-template.md +24 -24
  6. package/dist/templates/default/js/apis/openapi.yaml +806 -806
  7. package/dist/templates/default/js/apitogo.config.json +256 -256
  8. package/dist/templates/default/js/apitogo.config.jsx +3 -3
  9. package/dist/templates/default/js/env +23 -23
  10. package/dist/templates/default/js/eslintrc.json +4 -4
  11. package/dist/templates/default/js/gitignore +32 -32
  12. package/dist/templates/default/js/pages/example.mdx +131 -131
  13. package/dist/templates/default/js/pages/introduction.mdx +20 -20
  14. package/dist/templates/default/js/public/logo-dark.svg +4 -4
  15. package/dist/templates/default/js/public/logo-light.svg +4 -4
  16. package/dist/templates/default/js/user-panel/AccountPlansPage.tsx +1 -1
  17. package/dist/templates/default/js/user-panel/DashboardPage.tsx +1 -1
  18. package/dist/templates/default/ts/AGENTS.md +35 -35
  19. package/dist/templates/default/ts/README-template.md +24 -24
  20. package/dist/templates/default/ts/apis/openapi.yaml +806 -806
  21. package/dist/templates/default/ts/apitogo.config.json +221 -221
  22. package/dist/templates/default/ts/apitogo.config.tsx +8 -8
  23. package/dist/templates/default/ts/env +23 -23
  24. package/dist/templates/default/ts/eslintrc.json +6 -6
  25. package/dist/templates/default/ts/gitignore +32 -32
  26. package/dist/templates/default/ts/landing/LandingPage.tsx +176 -176
  27. package/dist/templates/default/ts/pages/example.mdx +132 -132
  28. package/dist/templates/default/ts/pages/introduction.mdx +21 -21
  29. package/dist/templates/default/ts/public/logo-dark.svg +4 -4
  30. package/dist/templates/default/ts/public/logo-light.svg +4 -4
  31. package/dist/templates/default/ts/tsconfig.json +16 -16
  32. package/dist/templates/default/ts/user-panel/AccountPlansPage.tsx +1 -1
  33. package/dist/templates/default/ts/user-panel/DashboardPage.tsx +1 -1
  34. package/dist/templates/empty/js/AGENTS.md +35 -35
  35. package/dist/templates/empty/js/README-template.md +23 -23
  36. package/dist/templates/empty/js/apitogo.config.json +80 -80
  37. package/dist/templates/empty/js/apitogo.config.jsx +6 -6
  38. package/dist/templates/empty/js/env +23 -23
  39. package/dist/templates/empty/js/eslintrc.json +4 -4
  40. package/dist/templates/empty/js/gitignore +32 -32
  41. package/dist/templates/empty/js/public/logo-dark.svg +4 -4
  42. package/dist/templates/empty/js/public/logo-light.svg +4 -4
  43. package/dist/templates/empty/js/user-panel/AccountPlansPage.tsx +1 -1
  44. package/dist/templates/empty/js/user-panel/DashboardPage.tsx +1 -1
  45. package/dist/templates/empty/ts/AGENTS.md +35 -35
  46. package/dist/templates/empty/ts/README-template.md +23 -23
  47. package/dist/templates/empty/ts/apitogo.config.json +81 -81
  48. package/dist/templates/empty/ts/apitogo.config.tsx +8 -8
  49. package/dist/templates/empty/ts/env +23 -23
  50. package/dist/templates/empty/ts/eslintrc.json +6 -6
  51. package/dist/templates/empty/ts/gitignore +32 -32
  52. package/dist/templates/empty/ts/landing/LandingPage.tsx +43 -43
  53. package/dist/templates/empty/ts/public/logo-dark.svg +4 -4
  54. package/dist/templates/empty/ts/public/logo-light.svg +4 -4
  55. package/dist/templates/empty/ts/tsconfig.json +16 -16
  56. package/dist/templates/empty/ts/user-panel/AccountPlansPage.tsx +1 -1
  57. package/dist/templates/empty/ts/user-panel/DashboardPage.tsx +1 -1
  58. package/dist/templates/index.ts +422 -422
  59. package/dist/templates/types.ts +23 -23
  60. package/package.json +1 -1
@@ -1,131 +1,131 @@
1
- ---
2
- title: MDX examples
3
- description:
4
- Callouts, fenced code, tabbed code, tables, task lists, links, badges, and buttons available in
5
- APIToGo MDX pages.
6
- ---
7
-
8
- This page lists patterns you can copy into any `.mdx` file under `pages/`. Your site title comes
9
- from front matter (`title` above) and appears in the sidebar for this route.
10
-
11
- <Link to="/introduction">Introduction</Link> · <Link to="/api">API reference</Link> ·
12
- <Badge variant="secondary">built-in</Badge> <Badge variant="outline">mdx</Badge>
13
-
14
- ## Callouts (directives)
15
-
16
- :::note{title="Note"}
17
-
18
- Neutral context readers should notice.
19
-
20
- :::
21
-
22
- :::tip{title="Tip"}
23
-
24
- Suggested workflows or shortcuts.
25
-
26
- :::
27
-
28
- :::info{title="Info"}
29
-
30
- Extra detail that is not urgent.
31
-
32
- :::
33
-
34
- :::caution{title="Caution"}
35
-
36
- Something might break if misconfigured.
37
-
38
- :::
39
-
40
- :::danger{title="Danger"}
41
-
42
- Destructive or security-sensitive actions.
43
-
44
- :::
45
-
46
- ## Fenced code
47
-
48
- Inline: `ApitogoConfig`, `apitogo run`, `pages/example.mdx`.
49
-
50
- ```bash
51
- apitogo run
52
- apitogo build
53
- apitogo build --preview
54
- ```
55
-
56
- ```json
57
- { "example": true }
58
- ```
59
-
60
- ```jsx
61
- /** @type {import('@lukoweb/apitogo').ApitogoConfig} */
62
- const config = {
63
- site: { title: "My API docs" },
64
- };
65
-
66
- export default config;
67
- ```
68
-
69
- ## Tabbed code (`CodeTabs`)
70
-
71
- <CodeTabs>
72
-
73
- ```bash title="curl"
74
- curl -sS https://httpbin.org/get
75
- ```
76
-
77
- ```bash title="HTTPie"
78
- http GET https://httpbin.org/get
79
- ```
80
-
81
- ```ts title="fetch"
82
- const res = await fetch("https://httpbin.org/get");
83
- console.log(await res.json());
84
- ```
85
-
86
- </CodeTabs>
87
-
88
- <CodeTabs>
89
-
90
- ```json title="JSON"
91
- { "status": "ok" }
92
- ```
93
-
94
- ```yaml title="YAML"
95
- status: ok
96
- ```
97
-
98
- </CodeTabs>
99
-
100
- ## Table
101
-
102
- | Topic | Where to look |
103
- | ------- | -------------------- |
104
- | Config | `apitogo.config.jsx` |
105
- | Pages | `pages/**/*.mdx` |
106
- | OpenAPI | `apis/openapi.yaml` |
107
-
108
- ## Lists
109
-
110
- 1. Edit Markdown or MDX under `pages/`.
111
- 2. Adjust `apitogo.config.jsx`.
112
- 3. Run `apitogo build` before deploy.
113
-
114
- Task list (GFM):
115
-
116
- - [x] Scaffold created
117
- - [ ] Customize for your API
118
-
119
- ## Markdown
120
-
121
- > Blockquote for quotes or asides.
122
-
123
- **Bold**, _italic_, ~~strikethrough~~, and [link to API](/api).
124
-
125
- ---
126
-
127
- ## Button
128
-
129
- <Button variant="outline" type="button">
130
- Example button
131
- </Button>
1
+ ---
2
+ title: MDX examples
3
+ description:
4
+ Callouts, fenced code, tabbed code, tables, task lists, links, badges, and buttons available in
5
+ APIToGo MDX pages.
6
+ ---
7
+
8
+ This page lists patterns you can copy into any `.mdx` file under `pages/`. Your site title comes
9
+ from front matter (`title` above) and appears in the sidebar for this route.
10
+
11
+ <Link to="/introduction">Introduction</Link> · <Link to="/api">API reference</Link> ·
12
+ <Badge variant="secondary">built-in</Badge> <Badge variant="outline">mdx</Badge>
13
+
14
+ ## Callouts (directives)
15
+
16
+ :::note{title="Note"}
17
+
18
+ Neutral context readers should notice.
19
+
20
+ :::
21
+
22
+ :::tip{title="Tip"}
23
+
24
+ Suggested workflows or shortcuts.
25
+
26
+ :::
27
+
28
+ :::info{title="Info"}
29
+
30
+ Extra detail that is not urgent.
31
+
32
+ :::
33
+
34
+ :::caution{title="Caution"}
35
+
36
+ Something might break if misconfigured.
37
+
38
+ :::
39
+
40
+ :::danger{title="Danger"}
41
+
42
+ Destructive or security-sensitive actions.
43
+
44
+ :::
45
+
46
+ ## Fenced code
47
+
48
+ Inline: `ApitogoConfig`, `apitogo run`, `pages/example.mdx`.
49
+
50
+ ```bash
51
+ apitogo run
52
+ apitogo build
53
+ apitogo build --preview
54
+ ```
55
+
56
+ ```json
57
+ { "example": true }
58
+ ```
59
+
60
+ ```jsx
61
+ /** @type {import('@lukoweb/apitogo').ApitogoConfig} */
62
+ const config = {
63
+ site: { title: "My API docs" },
64
+ };
65
+
66
+ export default config;
67
+ ```
68
+
69
+ ## Tabbed code (`CodeTabs`)
70
+
71
+ <CodeTabs>
72
+
73
+ ```bash title="curl"
74
+ curl -sS https://httpbin.org/get
75
+ ```
76
+
77
+ ```bash title="HTTPie"
78
+ http GET https://httpbin.org/get
79
+ ```
80
+
81
+ ```ts title="fetch"
82
+ const res = await fetch("https://httpbin.org/get");
83
+ console.log(await res.json());
84
+ ```
85
+
86
+ </CodeTabs>
87
+
88
+ <CodeTabs>
89
+
90
+ ```json title="JSON"
91
+ { "status": "ok" }
92
+ ```
93
+
94
+ ```yaml title="YAML"
95
+ status: ok
96
+ ```
97
+
98
+ </CodeTabs>
99
+
100
+ ## Table
101
+
102
+ | Topic | Where to look |
103
+ | ------- | -------------------- |
104
+ | Config | `apitogo.config.jsx` |
105
+ | Pages | `pages/**/*.mdx` |
106
+ | OpenAPI | `apis/openapi.yaml` |
107
+
108
+ ## Lists
109
+
110
+ 1. Edit Markdown or MDX under `pages/`.
111
+ 2. Adjust `apitogo.config.jsx`.
112
+ 3. Run `apitogo build` before deploy.
113
+
114
+ Task list (GFM):
115
+
116
+ - [x] Scaffold created
117
+ - [ ] Customize for your API
118
+
119
+ ## Markdown
120
+
121
+ > Blockquote for quotes or asides.
122
+
123
+ **Bold**, _italic_, ~~strikethrough~~, and [link to API](/api).
124
+
125
+ ---
126
+
127
+ ## Button
128
+
129
+ <Button variant="outline" type="button">
130
+ Example button
131
+ </Button>
@@ -1,20 +1,20 @@
1
- ---
2
- title: Welcome to APIToGo
3
- ---
4
-
5
- Thanks for choosing to use APIToGo to power your API documentation!
6
-
7
- ## Edit this page
8
-
9
- To edit this page, open the `pages/introduction.mdx` file.
10
-
11
- ## Configuration
12
-
13
- You can find the full configuration for your APIToGo site in the `apitogo.config.jsx` file.
14
-
15
- For further information on how to customize your site, check out the
16
- [APIToGo documentation](https://docs.apitogo.com).
17
-
18
- ## MDX building blocks
19
-
20
- See [MDX examples](/example) for callouts, code blocks, tabs, tables, and common components.
1
+ ---
2
+ title: Welcome to APIToGo
3
+ ---
4
+
5
+ Thanks for choosing to use APIToGo to power your API documentation!
6
+
7
+ ## Edit this page
8
+
9
+ To edit this page, open the `pages/introduction.mdx` file.
10
+
11
+ ## Configuration
12
+
13
+ You can find the full configuration for your APIToGo site in the `apitogo.config.jsx` file.
14
+
15
+ For further information on how to customize your site, check out the
16
+ [APIToGo documentation](https://docs.apitogo.com).
17
+
18
+ ## MDX building blocks
19
+
20
+ See [MDX examples](/example) for callouts, code blocks, tabs, tables, and common components.
@@ -1,4 +1,4 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="201.57" height="72.66" viewBox="-0.09 -46.99 201.57 72.66">
2
- <path d="M13.5 0.39Q8.03 0.39 4.76 -2.09Q1.48 -4.57 1.41 -9.61H8.03Q8.14 -7.48 9.6 -6.41Q11.05 -5.33 13.42 -5.33Q15.57 -5.33 16.8 -6.2Q18.03 -7.07 18.03 -8.46Q18.03 -9.71 16.87 -10.44Q15.7 -11.17 13.32 -11.72L10.23 -12.44Q6.46 -13.3 4.32 -15.25Q2.17 -17.21 2.17 -20.49Q2.17 -23.18 3.62 -25.21Q5.08 -27.23 7.64 -28.36Q10.2 -29.49 13.5 -29.49Q16.88 -29.49 19.36 -28.35Q21.84 -27.21 23.2 -25.17Q24.57 -23.12 24.61 -20.43H17.99Q17.85 -22.01 16.7 -22.89Q15.55 -23.77 13.48 -23.77Q11.41 -23.77 10.35 -22.97Q9.3 -22.17 9.3 -20.96Q9.3 -19.61 10.47 -18.88Q11.64 -18.14 13.59 -17.71L16.11 -17.13Q20.33 -16.19 22.67 -14.06Q25 -11.93 25 -8.44Q25 -4.3 21.95 -1.95Q18.91 0.39 13.5 0.39Z M32.97 0.39Q29.82 0.39 27.8 -1.21Q25.78 -2.81 25.78 -6.05Q25.78 -8.48 26.89 -9.9Q28 -11.33 29.85 -12.01Q31.7 -12.7 33.9 -12.89Q36.68 -13.12 37.88 -13.47Q39.08 -13.81 39.08 -14.82V-14.9Q39.08 -16.04 38.29 -16.65Q37.5 -17.27 36.11 -17.27Q34.68 -17.27 33.77 -16.66Q32.85 -16.05 32.58 -15.02L26.4 -15.82Q27.05 -18.61 29.56 -20.36Q32.07 -22.11 36.17 -22.11Q38.88 -22.11 41.08 -21.27Q43.28 -20.43 44.58 -18.8Q45.88 -17.17 45.88 -14.82V0H39.47V-3.07H39.29Q37.48 0.39 32.97 0.39ZM35.04 -4.12Q36.75 -4.12 37.95 -5.14Q39.14 -6.15 39.14 -7.77V-9.86Q38.55 -9.55 37.44 -9.34Q36.33 -9.12 35.37 -8.96Q32.22 -8.5 32.22 -6.37Q32.22 -5.27 33.01 -4.7Q33.81 -4.12 35.04 -4.12Z M48.59 0V-21.84H54.86L55.17 -17.5Q56.07 -19.96 57.78 -21.04Q59.49 -22.13 61.46 -22.13Q63.53 -22.13 64.91 -20.94Q66.28 -19.75 67.08 -17.07Q68.08 -19.77 70.02 -20.95Q71.97 -22.13 74.17 -22.13Q77.24 -22.13 79.2 -20.16Q81.17 -18.18 81.17 -14.73V0H74.37V-13.18Q74.37 -14.84 73.5 -15.7Q72.63 -16.56 71.28 -16.56Q69.84 -16.56 69 -15.62Q68.16 -14.67 68.16 -13.11V0H61.61V-13.28Q61.61 -14.79 60.77 -15.67Q59.92 -16.56 58.57 -16.56Q57.18 -16.56 56.29 -15.62Q55.4 -14.69 55.4 -12.97V0Z M83.88 8.16V-21.84H90.62V-18.09H90.85Q91.26 -19.06 92.04 -19.99Q92.82 -20.92 94.05 -21.51Q95.28 -22.11 97.02 -22.11Q99.33 -22.11 101.31 -20.9Q103.29 -19.69 104.51 -17.21Q105.73 -14.73 105.73 -10.9Q105.73 -7.19 104.55 -4.7Q103.37 -2.21 101.39 -0.95Q99.4 0.31 96.98 0.31Q94.48 0.31 92.99 -0.87Q91.49 -2.05 90.85 -3.54H90.69V8.16ZM94.66 -5Q96.63 -5 97.68 -6.62Q98.72 -8.24 98.72 -10.9Q98.72 -13.55 97.68 -15.17Q96.63 -16.78 94.66 -16.78Q92.71 -16.78 91.62 -15.2Q90.54 -13.61 90.54 -10.9Q90.54 -8.22 91.62 -6.61Q92.71 -5 94.66 -5Z M114.4 -29.1V0H107.59V-29.1Z M127.29 0.41Q122.15 0.41 119.21 -2.59Q116.27 -5.59 116.27 -10.84Q116.27 -14.2 117.59 -16.74Q118.91 -19.28 121.33 -20.69Q123.75 -22.11 127.04 -22.11Q130.1 -22.11 132.47 -20.83Q134.85 -19.55 136.21 -17.06Q137.56 -14.57 137.56 -10.98V-9.26H122.97Q123.07 -6.89 124.27 -5.71Q125.47 -4.53 127.41 -4.53Q128.77 -4.53 129.77 -5.11Q130.77 -5.68 131.18 -6.78L137.25 -5.78Q136.43 -2.95 133.84 -1.27Q131.25 0.41 127.29 0.41ZM123.01 -13.22H131.1Q130.9 -15.08 129.89 -16.12Q128.87 -17.17 127.09 -17.17Q125.3 -17.17 124.25 -16.1Q123.21 -15.04 123.01 -13.22Z" fill="#FFFFFF"/>
3
- <path d="M138.48 0 148.19 -29.1H157.43L167.43 0H159.69L157.72 -6.19H148.03L146.14 0ZM149.65 -11.46H156.04L155.65 -12.71Q154.89 -15.21 154.16 -17.95Q153.44 -20.68 152.74 -23.61Q152.07 -20.66 151.42 -17.93Q150.77 -15.2 150.04 -12.71Z M168.81 0V-29.1H180.72Q184 -29.1 186.39 -27.83Q188.77 -26.56 190.05 -24.3Q191.33 -22.03 191.33 -19.04Q191.33 -16.04 190.02 -13.8Q188.71 -11.56 186.29 -10.32Q183.87 -9.08 180.53 -9.08H175.7V0ZM175.7 -14.53H179.28Q181.7 -14.53 182.94 -15.77Q184.18 -17.01 184.18 -19.04Q184.18 -21.09 182.93 -22.3Q181.68 -23.52 179.26 -23.52H175.7Z M199.98 -29.1V0H193.08V-29.1Z" fill="#008A7D"/>
4
- </svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="201.57" height="72.66" viewBox="-0.09 -46.99 201.57 72.66">
2
+ <path d="M13.5 0.39Q8.03 0.39 4.76 -2.09Q1.48 -4.57 1.41 -9.61H8.03Q8.14 -7.48 9.6 -6.41Q11.05 -5.33 13.42 -5.33Q15.57 -5.33 16.8 -6.2Q18.03 -7.07 18.03 -8.46Q18.03 -9.71 16.87 -10.44Q15.7 -11.17 13.32 -11.72L10.23 -12.44Q6.46 -13.3 4.32 -15.25Q2.17 -17.21 2.17 -20.49Q2.17 -23.18 3.62 -25.21Q5.08 -27.23 7.64 -28.36Q10.2 -29.49 13.5 -29.49Q16.88 -29.49 19.36 -28.35Q21.84 -27.21 23.2 -25.17Q24.57 -23.12 24.61 -20.43H17.99Q17.85 -22.01 16.7 -22.89Q15.55 -23.77 13.48 -23.77Q11.41 -23.77 10.35 -22.97Q9.3 -22.17 9.3 -20.96Q9.3 -19.61 10.47 -18.88Q11.64 -18.14 13.59 -17.71L16.11 -17.13Q20.33 -16.19 22.67 -14.06Q25 -11.93 25 -8.44Q25 -4.3 21.95 -1.95Q18.91 0.39 13.5 0.39Z M32.97 0.39Q29.82 0.39 27.8 -1.21Q25.78 -2.81 25.78 -6.05Q25.78 -8.48 26.89 -9.9Q28 -11.33 29.85 -12.01Q31.7 -12.7 33.9 -12.89Q36.68 -13.12 37.88 -13.47Q39.08 -13.81 39.08 -14.82V-14.9Q39.08 -16.04 38.29 -16.65Q37.5 -17.27 36.11 -17.27Q34.68 -17.27 33.77 -16.66Q32.85 -16.05 32.58 -15.02L26.4 -15.82Q27.05 -18.61 29.56 -20.36Q32.07 -22.11 36.17 -22.11Q38.88 -22.11 41.08 -21.27Q43.28 -20.43 44.58 -18.8Q45.88 -17.17 45.88 -14.82V0H39.47V-3.07H39.29Q37.48 0.39 32.97 0.39ZM35.04 -4.12Q36.75 -4.12 37.95 -5.14Q39.14 -6.15 39.14 -7.77V-9.86Q38.55 -9.55 37.44 -9.34Q36.33 -9.12 35.37 -8.96Q32.22 -8.5 32.22 -6.37Q32.22 -5.27 33.01 -4.7Q33.81 -4.12 35.04 -4.12Z M48.59 0V-21.84H54.86L55.17 -17.5Q56.07 -19.96 57.78 -21.04Q59.49 -22.13 61.46 -22.13Q63.53 -22.13 64.91 -20.94Q66.28 -19.75 67.08 -17.07Q68.08 -19.77 70.02 -20.95Q71.97 -22.13 74.17 -22.13Q77.24 -22.13 79.2 -20.16Q81.17 -18.18 81.17 -14.73V0H74.37V-13.18Q74.37 -14.84 73.5 -15.7Q72.63 -16.56 71.28 -16.56Q69.84 -16.56 69 -15.62Q68.16 -14.67 68.16 -13.11V0H61.61V-13.28Q61.61 -14.79 60.77 -15.67Q59.92 -16.56 58.57 -16.56Q57.18 -16.56 56.29 -15.62Q55.4 -14.69 55.4 -12.97V0Z M83.88 8.16V-21.84H90.62V-18.09H90.85Q91.26 -19.06 92.04 -19.99Q92.82 -20.92 94.05 -21.51Q95.28 -22.11 97.02 -22.11Q99.33 -22.11 101.31 -20.9Q103.29 -19.69 104.51 -17.21Q105.73 -14.73 105.73 -10.9Q105.73 -7.19 104.55 -4.7Q103.37 -2.21 101.39 -0.95Q99.4 0.31 96.98 0.31Q94.48 0.31 92.99 -0.87Q91.49 -2.05 90.85 -3.54H90.69V8.16ZM94.66 -5Q96.63 -5 97.68 -6.62Q98.72 -8.24 98.72 -10.9Q98.72 -13.55 97.68 -15.17Q96.63 -16.78 94.66 -16.78Q92.71 -16.78 91.62 -15.2Q90.54 -13.61 90.54 -10.9Q90.54 -8.22 91.62 -6.61Q92.71 -5 94.66 -5Z M114.4 -29.1V0H107.59V-29.1Z M127.29 0.41Q122.15 0.41 119.21 -2.59Q116.27 -5.59 116.27 -10.84Q116.27 -14.2 117.59 -16.74Q118.91 -19.28 121.33 -20.69Q123.75 -22.11 127.04 -22.11Q130.1 -22.11 132.47 -20.83Q134.85 -19.55 136.21 -17.06Q137.56 -14.57 137.56 -10.98V-9.26H122.97Q123.07 -6.89 124.27 -5.71Q125.47 -4.53 127.41 -4.53Q128.77 -4.53 129.77 -5.11Q130.77 -5.68 131.18 -6.78L137.25 -5.78Q136.43 -2.95 133.84 -1.27Q131.25 0.41 127.29 0.41ZM123.01 -13.22H131.1Q130.9 -15.08 129.89 -16.12Q128.87 -17.17 127.09 -17.17Q125.3 -17.17 124.25 -16.1Q123.21 -15.04 123.01 -13.22Z" fill="#FFFFFF"/>
3
+ <path d="M138.48 0 148.19 -29.1H157.43L167.43 0H159.69L157.72 -6.19H148.03L146.14 0ZM149.65 -11.46H156.04L155.65 -12.71Q154.89 -15.21 154.16 -17.95Q153.44 -20.68 152.74 -23.61Q152.07 -20.66 151.42 -17.93Q150.77 -15.2 150.04 -12.71Z M168.81 0V-29.1H180.72Q184 -29.1 186.39 -27.83Q188.77 -26.56 190.05 -24.3Q191.33 -22.03 191.33 -19.04Q191.33 -16.04 190.02 -13.8Q188.71 -11.56 186.29 -10.32Q183.87 -9.08 180.53 -9.08H175.7V0ZM175.7 -14.53H179.28Q181.7 -14.53 182.94 -15.77Q184.18 -17.01 184.18 -19.04Q184.18 -21.09 182.93 -22.3Q181.68 -23.52 179.26 -23.52H175.7Z M199.98 -29.1V0H193.08V-29.1Z" fill="#008A7D"/>
4
+ </svg>
@@ -1,4 +1,4 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="201.57" height="72.66" viewBox="-0.09 -46.99 201.57 72.66">
2
- <path d="M13.5 0.39Q8.03 0.39 4.76 -2.09Q1.48 -4.57 1.41 -9.61H8.03Q8.14 -7.48 9.6 -6.41Q11.05 -5.33 13.42 -5.33Q15.57 -5.33 16.8 -6.2Q18.03 -7.07 18.03 -8.46Q18.03 -9.71 16.87 -10.44Q15.7 -11.17 13.32 -11.72L10.23 -12.44Q6.46 -13.3 4.32 -15.25Q2.17 -17.21 2.17 -20.49Q2.17 -23.18 3.62 -25.21Q5.08 -27.23 7.64 -28.36Q10.2 -29.49 13.5 -29.49Q16.88 -29.49 19.36 -28.35Q21.84 -27.21 23.2 -25.17Q24.57 -23.12 24.61 -20.43H17.99Q17.85 -22.01 16.7 -22.89Q15.55 -23.77 13.48 -23.77Q11.41 -23.77 10.35 -22.97Q9.3 -22.17 9.3 -20.96Q9.3 -19.61 10.47 -18.88Q11.64 -18.14 13.59 -17.71L16.11 -17.13Q20.33 -16.19 22.67 -14.06Q25 -11.93 25 -8.44Q25 -4.3 21.95 -1.95Q18.91 0.39 13.5 0.39Z M32.97 0.39Q29.82 0.39 27.8 -1.21Q25.78 -2.81 25.78 -6.05Q25.78 -8.48 26.89 -9.9Q28 -11.33 29.85 -12.01Q31.7 -12.7 33.9 -12.89Q36.68 -13.12 37.88 -13.47Q39.08 -13.81 39.08 -14.82V-14.9Q39.08 -16.04 38.29 -16.65Q37.5 -17.27 36.11 -17.27Q34.68 -17.27 33.77 -16.66Q32.85 -16.05 32.58 -15.02L26.4 -15.82Q27.05 -18.61 29.56 -20.36Q32.07 -22.11 36.17 -22.11Q38.88 -22.11 41.08 -21.27Q43.28 -20.43 44.58 -18.8Q45.88 -17.17 45.88 -14.82V0H39.47V-3.07H39.29Q37.48 0.39 32.97 0.39ZM35.04 -4.12Q36.75 -4.12 37.95 -5.14Q39.14 -6.15 39.14 -7.77V-9.86Q38.55 -9.55 37.44 -9.34Q36.33 -9.12 35.37 -8.96Q32.22 -8.5 32.22 -6.37Q32.22 -5.27 33.01 -4.7Q33.81 -4.12 35.04 -4.12Z M48.59 0V-21.84H54.86L55.17 -17.5Q56.07 -19.96 57.78 -21.04Q59.49 -22.13 61.46 -22.13Q63.53 -22.13 64.91 -20.94Q66.28 -19.75 67.08 -17.07Q68.08 -19.77 70.02 -20.95Q71.97 -22.13 74.17 -22.13Q77.24 -22.13 79.2 -20.16Q81.17 -18.18 81.17 -14.73V0H74.37V-13.18Q74.37 -14.84 73.5 -15.7Q72.63 -16.56 71.28 -16.56Q69.84 -16.56 69 -15.62Q68.16 -14.67 68.16 -13.11V0H61.61V-13.28Q61.61 -14.79 60.77 -15.67Q59.92 -16.56 58.57 -16.56Q57.18 -16.56 56.29 -15.62Q55.4 -14.69 55.4 -12.97V0Z M83.88 8.16V-21.84H90.62V-18.09H90.85Q91.26 -19.06 92.04 -19.99Q92.82 -20.92 94.05 -21.51Q95.28 -22.11 97.02 -22.11Q99.33 -22.11 101.31 -20.9Q103.29 -19.69 104.51 -17.21Q105.73 -14.73 105.73 -10.9Q105.73 -7.19 104.55 -4.7Q103.37 -2.21 101.39 -0.95Q99.4 0.31 96.98 0.31Q94.48 0.31 92.99 -0.87Q91.49 -2.05 90.85 -3.54H90.69V8.16ZM94.66 -5Q96.63 -5 97.68 -6.62Q98.72 -8.24 98.72 -10.9Q98.72 -13.55 97.68 -15.17Q96.63 -16.78 94.66 -16.78Q92.71 -16.78 91.62 -15.2Q90.54 -13.61 90.54 -10.9Q90.54 -8.22 91.62 -6.61Q92.71 -5 94.66 -5Z M114.4 -29.1V0H107.59V-29.1Z M127.29 0.41Q122.15 0.41 119.21 -2.59Q116.27 -5.59 116.27 -10.84Q116.27 -14.2 117.59 -16.74Q118.91 -19.28 121.33 -20.69Q123.75 -22.11 127.04 -22.11Q130.1 -22.11 132.47 -20.83Q134.85 -19.55 136.21 -17.06Q137.56 -14.57 137.56 -10.98V-9.26H122.97Q123.07 -6.89 124.27 -5.71Q125.47 -4.53 127.41 -4.53Q128.77 -4.53 129.77 -5.11Q130.77 -5.68 131.18 -6.78L137.25 -5.78Q136.43 -2.95 133.84 -1.27Q131.25 0.41 127.29 0.41ZM123.01 -13.22H131.1Q130.9 -15.08 129.89 -16.12Q128.87 -17.17 127.09 -17.17Q125.3 -17.17 124.25 -16.1Q123.21 -15.04 123.01 -13.22Z" fill="#202633"/>
3
- <path d="M138.48 0 148.19 -29.1H157.43L167.43 0H159.69L157.72 -6.19H148.03L146.14 0ZM149.65 -11.46H156.04L155.65 -12.71Q154.89 -15.21 154.16 -17.95Q153.44 -20.68 152.74 -23.61Q152.07 -20.66 151.42 -17.93Q150.77 -15.2 150.04 -12.71Z M168.81 0V-29.1H180.72Q184 -29.1 186.39 -27.83Q188.77 -26.56 190.05 -24.3Q191.33 -22.03 191.33 -19.04Q191.33 -16.04 190.02 -13.8Q188.71 -11.56 186.29 -10.32Q183.87 -9.08 180.53 -9.08H175.7V0ZM175.7 -14.53H179.28Q181.7 -14.53 182.94 -15.77Q184.18 -17.01 184.18 -19.04Q184.18 -21.09 182.93 -22.3Q181.68 -23.52 179.26 -23.52H175.7Z M199.98 -29.1V0H193.08V-29.1Z" fill="#008A7D"/>
4
- </svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="201.57" height="72.66" viewBox="-0.09 -46.99 201.57 72.66">
2
+ <path d="M13.5 0.39Q8.03 0.39 4.76 -2.09Q1.48 -4.57 1.41 -9.61H8.03Q8.14 -7.48 9.6 -6.41Q11.05 -5.33 13.42 -5.33Q15.57 -5.33 16.8 -6.2Q18.03 -7.07 18.03 -8.46Q18.03 -9.71 16.87 -10.44Q15.7 -11.17 13.32 -11.72L10.23 -12.44Q6.46 -13.3 4.32 -15.25Q2.17 -17.21 2.17 -20.49Q2.17 -23.18 3.62 -25.21Q5.08 -27.23 7.64 -28.36Q10.2 -29.49 13.5 -29.49Q16.88 -29.49 19.36 -28.35Q21.84 -27.21 23.2 -25.17Q24.57 -23.12 24.61 -20.43H17.99Q17.85 -22.01 16.7 -22.89Q15.55 -23.77 13.48 -23.77Q11.41 -23.77 10.35 -22.97Q9.3 -22.17 9.3 -20.96Q9.3 -19.61 10.47 -18.88Q11.64 -18.14 13.59 -17.71L16.11 -17.13Q20.33 -16.19 22.67 -14.06Q25 -11.93 25 -8.44Q25 -4.3 21.95 -1.95Q18.91 0.39 13.5 0.39Z M32.97 0.39Q29.82 0.39 27.8 -1.21Q25.78 -2.81 25.78 -6.05Q25.78 -8.48 26.89 -9.9Q28 -11.33 29.85 -12.01Q31.7 -12.7 33.9 -12.89Q36.68 -13.12 37.88 -13.47Q39.08 -13.81 39.08 -14.82V-14.9Q39.08 -16.04 38.29 -16.65Q37.5 -17.27 36.11 -17.27Q34.68 -17.27 33.77 -16.66Q32.85 -16.05 32.58 -15.02L26.4 -15.82Q27.05 -18.61 29.56 -20.36Q32.07 -22.11 36.17 -22.11Q38.88 -22.11 41.08 -21.27Q43.28 -20.43 44.58 -18.8Q45.88 -17.17 45.88 -14.82V0H39.47V-3.07H39.29Q37.48 0.39 32.97 0.39ZM35.04 -4.12Q36.75 -4.12 37.95 -5.14Q39.14 -6.15 39.14 -7.77V-9.86Q38.55 -9.55 37.44 -9.34Q36.33 -9.12 35.37 -8.96Q32.22 -8.5 32.22 -6.37Q32.22 -5.27 33.01 -4.7Q33.81 -4.12 35.04 -4.12Z M48.59 0V-21.84H54.86L55.17 -17.5Q56.07 -19.96 57.78 -21.04Q59.49 -22.13 61.46 -22.13Q63.53 -22.13 64.91 -20.94Q66.28 -19.75 67.08 -17.07Q68.08 -19.77 70.02 -20.95Q71.97 -22.13 74.17 -22.13Q77.24 -22.13 79.2 -20.16Q81.17 -18.18 81.17 -14.73V0H74.37V-13.18Q74.37 -14.84 73.5 -15.7Q72.63 -16.56 71.28 -16.56Q69.84 -16.56 69 -15.62Q68.16 -14.67 68.16 -13.11V0H61.61V-13.28Q61.61 -14.79 60.77 -15.67Q59.92 -16.56 58.57 -16.56Q57.18 -16.56 56.29 -15.62Q55.4 -14.69 55.4 -12.97V0Z M83.88 8.16V-21.84H90.62V-18.09H90.85Q91.26 -19.06 92.04 -19.99Q92.82 -20.92 94.05 -21.51Q95.28 -22.11 97.02 -22.11Q99.33 -22.11 101.31 -20.9Q103.29 -19.69 104.51 -17.21Q105.73 -14.73 105.73 -10.9Q105.73 -7.19 104.55 -4.7Q103.37 -2.21 101.39 -0.95Q99.4 0.31 96.98 0.31Q94.48 0.31 92.99 -0.87Q91.49 -2.05 90.85 -3.54H90.69V8.16ZM94.66 -5Q96.63 -5 97.68 -6.62Q98.72 -8.24 98.72 -10.9Q98.72 -13.55 97.68 -15.17Q96.63 -16.78 94.66 -16.78Q92.71 -16.78 91.62 -15.2Q90.54 -13.61 90.54 -10.9Q90.54 -8.22 91.62 -6.61Q92.71 -5 94.66 -5Z M114.4 -29.1V0H107.59V-29.1Z M127.29 0.41Q122.15 0.41 119.21 -2.59Q116.27 -5.59 116.27 -10.84Q116.27 -14.2 117.59 -16.74Q118.91 -19.28 121.33 -20.69Q123.75 -22.11 127.04 -22.11Q130.1 -22.11 132.47 -20.83Q134.85 -19.55 136.21 -17.06Q137.56 -14.57 137.56 -10.98V-9.26H122.97Q123.07 -6.89 124.27 -5.71Q125.47 -4.53 127.41 -4.53Q128.77 -4.53 129.77 -5.11Q130.77 -5.68 131.18 -6.78L137.25 -5.78Q136.43 -2.95 133.84 -1.27Q131.25 0.41 127.29 0.41ZM123.01 -13.22H131.1Q130.9 -15.08 129.89 -16.12Q128.87 -17.17 127.09 -17.17Q125.3 -17.17 124.25 -16.1Q123.21 -15.04 123.01 -13.22Z" fill="#202633"/>
3
+ <path d="M138.48 0 148.19 -29.1H157.43L167.43 0H159.69L157.72 -6.19H148.03L146.14 0ZM149.65 -11.46H156.04L155.65 -12.71Q154.89 -15.21 154.16 -17.95Q153.44 -20.68 152.74 -23.61Q152.07 -20.66 151.42 -17.93Q150.77 -15.2 150.04 -12.71Z M168.81 0V-29.1H180.72Q184 -29.1 186.39 -27.83Q188.77 -26.56 190.05 -24.3Q191.33 -22.03 191.33 -19.04Q191.33 -16.04 190.02 -13.8Q188.71 -11.56 186.29 -10.32Q183.87 -9.08 180.53 -9.08H175.7V0ZM175.7 -14.53H179.28Q181.7 -14.53 182.94 -15.77Q184.18 -17.01 184.18 -19.04Q184.18 -21.09 182.93 -22.3Q181.68 -23.52 179.26 -23.52H175.7Z M199.98 -29.1V0H193.08V-29.1Z" fill="#008A7D"/>
4
+ </svg>
@@ -1 +1 @@
1
- export { AccountPlansPage as default } from "@lukoweb/apitogo-plugin-dev-portal-billing";
1
+ export { AccountPlansPage as default } from "@lukoweb/apitogo-plugin-dev-portal-billing";
@@ -1 +1 @@
1
- export { OverviewDashboardPage as default } from "@lukoweb/apitogo-plugin-dev-portal-billing";
1
+ export { OverviewDashboardPage as default } from "@lukoweb/apitogo-plugin-dev-portal-billing";
@@ -1,35 +1,35 @@
1
- # APItoGo Dev Portal — Agent Guidance
2
-
3
- When changing this site, **always use the APItoGo MCP tools** instead of hand-editing files.
4
-
5
- ## Use MCP tools for
6
-
7
- | Change | MCP tool |
8
- | ----------------------------------- | ------------------------------------------------------------ |
9
- | Add a docs page | `add_dev_portal_page` (TSX; template docs\|guide\|marketing) |
10
- | Edit a docs page | `update_dev_portal_page` |
11
- | OpenAPI / API Reference | `set_dev_portal_openapi` |
12
- | Plans, branding, backend, projectId | `update_dev_portal_manifest` |
13
- | Theme colors and fonts | `set_dev_portal_theme` |
14
- | Scaffold missing landing file | `scaffold_dev_portal_landing_page` |
15
-
16
- These tools wire navigation/config and run site validation. Hand-editing `pages/**` or
17
- `apitogo.config.*` bypasses validation and can silently break the site.
18
-
19
- ## Hand-edit only when no tool exists
20
-
21
- - **Home page content**: `landing/LandingPage.tsx` (see `get_dev_portal_landing_guide`)
22
- - To list your real API operations in `ApiShowcaseSection` (instead of the static sample list),
23
- use `useGatewayActions()` — see
24
- https://docs.apitogo.com/docs/customization/landing-page#live-apis
25
- - **Site footer**: `apitogo.config.json` → `modules.landing.content.footer`
26
-
27
- ## Local preview
28
-
29
- After scaffold, run `npm run dev`. Use `preview_dev_portal_site` to start or restart preview.
30
-
31
- ## Plan pages
32
-
33
- - `/pricing` — public catalog. Visitors choose a plan to register. Do not redirect signed-in users
34
- away from this page.
35
- - `/account/plans` — authenticated billing. Sign-in required.
1
+ # APItoGo Dev Portal — Agent Guidance
2
+
3
+ When changing this site, **always use the APItoGo MCP tools** instead of hand-editing files.
4
+
5
+ ## Use MCP tools for
6
+
7
+ | Change | MCP tool |
8
+ | ----------------------------------- | ------------------------------------------------------------ |
9
+ | Add a docs page | `add_dev_portal_page` (TSX; template docs\|guide\|marketing) |
10
+ | Edit a docs page | `update_dev_portal_page` |
11
+ | OpenAPI / API Reference | `set_dev_portal_openapi` |
12
+ | Plans, branding, backend, projectId | `update_dev_portal_manifest` |
13
+ | Theme colors and fonts | `set_dev_portal_theme` |
14
+ | Scaffold missing landing file | `scaffold_dev_portal_landing_page` |
15
+
16
+ These tools wire navigation/config and run site validation. Hand-editing `pages/**` or
17
+ `apitogo.config.*` bypasses validation and can silently break the site.
18
+
19
+ ## Hand-edit only when no tool exists
20
+
21
+ - **Home page content**: `landing/LandingPage.tsx` (see `get_dev_portal_landing_guide`)
22
+ - To list your real API operations in `ApiShowcaseSection` (instead of the static sample list),
23
+ use `useGatewayActions()` — see
24
+ https://docs.apitogo.com/docs/customization/landing-page#live-apis
25
+ - **Site footer**: `apitogo.config.json` → `modules.landing.content.footer`
26
+
27
+ ## Local preview
28
+
29
+ After scaffold, run `npm run dev`. Use `preview_dev_portal_site` to start or restart preview.
30
+
31
+ ## Plan pages
32
+
33
+ - `/pricing` — public catalog. Visitors choose a plan to register. Do not redirect signed-in users
34
+ away from this page.
35
+ - `/account/plans` — authenticated billing. Sign-in required.
@@ -1,24 +1,24 @@
1
- # APIToGo App
2
-
3
- This APIToGo app was created with [`@lukoweb/create-apitogo`](https://apitogo.com).
4
-
5
- ## Getting Started
6
-
7
- First, run the development server:
8
-
9
- ```bash
10
- npm run dev
11
- # or
12
- yarn dev
13
- # or
14
- pnpm dev
15
- ```
16
-
17
- Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
18
-
19
- You can start editing the page by modifying `pages/intro.mdx`. You will see the content
20
- automatically update as you save the file.
21
-
22
- ## Learn More
23
-
24
- To learn more about APIToGo, you can visit [apitogo.com](https://apitogo.com).
1
+ # APIToGo App
2
+
3
+ This APIToGo app was created with [`@lukoweb/create-apitogo`](https://apitogo.com).
4
+
5
+ ## Getting Started
6
+
7
+ First, run the development server:
8
+
9
+ ```bash
10
+ npm run dev
11
+ # or
12
+ yarn dev
13
+ # or
14
+ pnpm dev
15
+ ```
16
+
17
+ Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
18
+
19
+ You can start editing the page by modifying `pages/intro.mdx`. You will see the content
20
+ automatically update as you save the file.
21
+
22
+ ## Learn More
23
+
24
+ To learn more about APIToGo, you can visit [apitogo.com](https://apitogo.com).