create-ardo 2.5.0 → 2.6.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-ardo",
3
- "version": "2.5.0",
3
+ "version": "2.6.0",
4
4
  "description": "Scaffolding tool for Ardo documentation projects",
5
5
  "type": "module",
6
6
  "bin": {
@@ -24,7 +24,7 @@
24
24
  "url": "https://github.com/sebastian-software/ardo.git",
25
25
  "directory": "packages/create-ardo"
26
26
  },
27
- "homepage": "https://sebastian-software.github.io/ardo/",
27
+ "homepage": "https://ardo-docs.dev",
28
28
  "bugs": {
29
29
  "url": "https://github.com/sebastian-software/ardo/issues"
30
30
  },
@@ -9,11 +9,16 @@ import {
9
9
  SidebarLink,
10
10
  Footer,
11
11
  } from "ardo/ui"
12
- import { PressProvider } from "ardo/runtime"
12
+ import { ArdoProvider } from "ardo/runtime"
13
13
  import config from "virtual:ardo/config"
14
14
  import sidebar from "virtual:ardo/sidebar"
15
+ import type { MetaFunction } from "react-router"
15
16
  import "ardo/ui/styles.css"
16
17
 
18
+ export const meta: MetaFunction = () => [
19
+ { title: "{{SITE_TITLE}}" },
20
+ ]
21
+
17
22
  export function Layout({ children }: { children: React.ReactNode }) {
18
23
  return (
19
24
  <html lang="en" suppressHydrationWarning>
@@ -37,7 +42,7 @@ export default function Root() {
37
42
  const isHomePage = location.pathname === "/"
38
43
 
39
44
  return (
40
- <PressProvider config={config} sidebar={sidebar}>
45
+ <ArdoProvider config={config} sidebar={sidebar}>
41
46
  <ArdoLayout
42
47
  className={isHomePage ? "ardo-layout ardo-home" : "ardo-layout"}
43
48
  header={
@@ -79,6 +84,6 @@ export default function Root() {
79
84
  >
80
85
  <Outlet />
81
86
  </ArdoLayout>
82
- </PressProvider>
87
+ </ArdoProvider>
83
88
  )
84
89
  }
@@ -34,5 +34,5 @@ Edit `vite.config.ts` to customize your site:
34
34
 
35
35
  ## Learn More
36
36
 
37
- - [Ardo Documentation](https://sebastian-software.github.io/ardo/)
37
+ - [Ardo Documentation](https://ardo-docs.dev)
38
38
  - [GitHub Repository](https://github.com/sebastian-software/ardo)
@@ -1,5 +1,10 @@
1
1
  import { Hero, Features } from "ardo/ui"
2
2
  import { Zap, Sparkles, Palette, ArrowRight, Github } from "ardo/icons"
3
+ import type { MetaFunction } from "react-router"
4
+
5
+ export const meta: MetaFunction = () => [
6
+ { title: "{{SITE_TITLE}}" },
7
+ ]
3
8
 
4
9
  export default function HomePage() {
5
10
  return (
@@ -1,8 +1,8 @@
1
1
  /// <reference types="vite/client" />
2
2
 
3
3
  declare module "virtual:ardo/config" {
4
- import type { PressConfig } from "ardo"
5
- const config: PressConfig
4
+ import type { ArdoConfig } from "ardo"
5
+ const config: ArdoConfig
6
6
  export default config
7
7
  }
8
8