@heyo-sh/create-heyo-docs 0.3.0 → 1.0.0

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 (64) hide show
  1. package/package.json +1 -1
  2. package/templates/astro/content/api-overview.mdx +20 -0
  3. package/templates/astro/content/assets/local-architecture.svg +22 -0
  4. package/templates/astro/content/assets/quick-reference.txt +5 -0
  5. package/templates/astro/content/changelog.mdx +38 -0
  6. package/templates/astro/content/configuration.mdx +41 -0
  7. package/templates/astro/content/essentials/callouts.mdx +16 -18
  8. package/templates/astro/content/essentials/code-blocks.mdx +7 -15
  9. package/templates/astro/content/essentials/lists.mdx +9 -13
  10. package/templates/astro/content/essentials/tables.mdx +7 -14
  11. package/templates/astro/content/essentials/tabs.mdx +10 -12
  12. package/templates/astro/content/essentials/text-styling.mdx +14 -21
  13. package/templates/astro/content/openapi-petstore.json +160 -0
  14. package/templates/astro/content/openapi.json +278 -0
  15. package/templates/astro/heyo-docs.config.ts +20 -10
  16. package/templates/astro/src/components/docs-app.tsx +1 -1
  17. package/templates/astro/src/layouts/docs-layout.astro +1 -0
  18. package/templates/astro/src/pages/heyo-docs-internal/ai-chat.ts +20 -0
  19. package/templates/astro/src/pages/index.astro +13 -0
  20. package/templates/astro/src/styles/app.css +12 -2
  21. package/templates/astro/src/virtual.d.ts +7 -0
  22. package/templates/next/app/[[...slug]]/page.tsx +26 -5
  23. package/templates/next/app/app.css +12 -2
  24. package/templates/next/app/components/docs-app.tsx +1 -2
  25. package/templates/next/app/heyo-docs-internal/ai-chat/route.ts +15 -0
  26. package/templates/next/app/layout.tsx +1 -0
  27. package/templates/next/content/api-overview.mdx +20 -0
  28. package/templates/next/content/assets/local-architecture.svg +22 -0
  29. package/templates/next/content/assets/quick-reference.txt +5 -0
  30. package/templates/next/content/changelog.mdx +38 -0
  31. package/templates/next/content/configuration.mdx +41 -0
  32. package/templates/next/content/essentials/callouts.mdx +16 -18
  33. package/templates/next/content/essentials/code-blocks.mdx +7 -15
  34. package/templates/next/content/essentials/lists.mdx +9 -13
  35. package/templates/next/content/essentials/tables.mdx +7 -14
  36. package/templates/next/content/essentials/tabs.mdx +10 -12
  37. package/templates/next/content/essentials/text-styling.mdx +14 -21
  38. package/templates/next/content/openapi-petstore.json +160 -0
  39. package/templates/next/content/openapi.json +278 -0
  40. package/templates/next/heyo-docs.config.ts +20 -10
  41. package/templates/react-router/app/app.css +12 -2
  42. package/templates/react-router/app/root.tsx +2 -1
  43. package/templates/react-router/app/routes/ai-chat.ts +21 -0
  44. package/templates/react-router/app/routes/docs.tsx +1 -1
  45. package/templates/react-router/app/routes/home.tsx +20 -1
  46. package/templates/react-router/app/routes.ts +1 -0
  47. package/templates/react-router/app/virtual.d.ts +7 -0
  48. package/templates/react-router/content/api-overview.mdx +20 -0
  49. package/templates/react-router/content/assets/local-architecture.svg +22 -0
  50. package/templates/react-router/content/assets/quick-reference.txt +5 -0
  51. package/templates/react-router/content/changelog.mdx +38 -0
  52. package/templates/react-router/content/configuration.mdx +41 -0
  53. package/templates/react-router/content/essentials/callouts.mdx +16 -18
  54. package/templates/react-router/content/essentials/code-blocks.mdx +7 -15
  55. package/templates/react-router/content/essentials/lists.mdx +9 -13
  56. package/templates/react-router/content/essentials/tables.mdx +7 -14
  57. package/templates/react-router/content/essentials/tabs.mdx +10 -12
  58. package/templates/react-router/content/essentials/text-styling.mdx +14 -21
  59. package/templates/react-router/content/openapi-petstore.json +160 -0
  60. package/templates/react-router/content/openapi.json +278 -0
  61. package/templates/react-router/heyo-docs.config.ts +20 -10
  62. package/templates/astro/content/index.mdx +0 -22
  63. package/templates/next/content/index.mdx +0 -22
  64. package/templates/react-router/content/index.mdx +0 -22
@@ -1,22 +0,0 @@
1
- ---
2
- title: Welcome to {{PROJECT_NAME}}
3
- description: Everything you need to document your product with Heyo Docs.
4
- ---
5
-
6
- # Welcome to {{PROJECT_NAME}}
7
-
8
- Start with this page, then add focused MDX files to the `content` directory. Heyo Docs turns the directory structure into routes; use `groups` in `heyo-docs.config.ts` to control sidebar navigation and its order.
9
-
10
- ## What is included?
11
-
12
- - An Astro application with a hydrated React documentation experience.
13
- - The selected documentation theme from `heyo-docs`.
14
- - Searchable page metadata, SEO tags, a sitemap, LLM endpoints, and a 404 page.
15
-
16
- ## Edit this page
17
-
18
- ```mdx
19
- ## A new section
20
-
21
- Content updates reload in development.
22
- ```
@@ -1,22 +0,0 @@
1
- ---
2
- title: Welcome to {{PROJECT_NAME}}
3
- description: Everything you need to document your product with Heyo Docs.
4
- ---
5
-
6
- # Welcome to {{PROJECT_NAME}}
7
-
8
- Start with this page, then add focused MDX files to the `content` directory. Heyo Docs turns the directory structure into routes; use `groups` in `heyo-docs.config.ts` to control sidebar navigation and its order.
9
-
10
- ## What is included?
11
-
12
- - A Next.js App Router application.
13
- - The selected documentation theme from `heyo-docs`.
14
- - Searchable page metadata, SEO tags, `robots.txt`, a sitemap, RSS, LLM files, Markdown mirrors, and a 404 page.
15
-
16
- ## Edit this page
17
-
18
- ```mdx
19
- ## A new section
20
-
21
- Content updates reload in development.
22
- ```
@@ -1,22 +0,0 @@
1
- ---
2
- title: Welcome to {{PROJECT_NAME}}
3
- description: Everything you need to document your product with Heyo Docs.
4
- ---
5
-
6
- # Welcome to {{PROJECT_NAME}}
7
-
8
- Start with this page, then add focused MDX files to the `content` directory. Heyo Docs turns the directory structure into routes; use `groups` in `heyo-docs.config.ts` to control sidebar navigation and its order.
9
-
10
- ## What is included?
11
-
12
- - A React Router Framework Mode application.
13
- - The Grain documentation theme from `heyo-docs`.
14
- - Searchable page metadata, SEO tags, a sitemap, and a 404 page.
15
-
16
- ## Edit this page
17
-
18
- ```mdx
19
- ## A new section
20
-
21
- Content updates reload in development.
22
- ```