Skip to content

Commit ffb19f6

Browse files
authored
Merge pull request #183 from PedroAugustoRamalhoDuarte/changes-to-new-docs-url-v2
changes docs url from .netlify.app to .dev
2 parents 13c55d1 + 655c4dd commit ffb19f6

13 files changed

+25
-25
lines changed

lib/generators/inertia/install/templates/react/InertiaExample.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default function InertiaExample({ name }: { name: string }) {
1818
<h1 className={cs.h1}>Hello {name}!</h1>
1919

2020
<div>
21-
<a href="https://inertia-rails.netlify.app" target="_blank">
21+
<a href="https://inertia-rails.dev" target="_blank">
2222
<img className={cs.logo} src={inertiaSvg} alt="Inertia logo" />
2323
</a>
2424
<a href="https://vite-ruby.netlify.app" target="_blank">

lib/generators/inertia/install/templates/react/inertia.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ type ResolvedComponent = {
1010

1111
createInertiaApp({
1212
// Set default page title
13-
// see https://inertia-rails.netlify.app/guide/title-and-meta
13+
// see https://inertia-rails.dev/guide/title-and-meta
1414
//
1515
// title: title => title ? `${title} - App` : 'App',
1616

1717
// Disable progress bar
1818
//
19-
// see https://inertia-rails.netlify.app/guide/progress-indicators
19+
// see https://inertia-rails.dev/guide/progress-indicators
2020
// progress: false,
2121

2222
resolve: (name) => {
@@ -30,7 +30,7 @@ createInertiaApp({
3030

3131
// To use a default layout, import the Layout component
3232
// and use the following line.
33-
// see https://inertia-rails.netlify.app/guide/pages#default-layouts
33+
// see https://inertia-rails.dev/guide/pages#default-layouts
3434
//
3535
// page.default.layout ||= (page) => createElement(Layout, null, page)
3636

lib/generators/inertia/install/templates/svelte/InertiaExample.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<h1>Hello {name}!</h1>
1717

1818
<div>
19-
<a href="https://inertia-rails.netlify.app" target="_blank">
19+
<a href="https://inertia-rails.dev" target="_blank">
2020
<img class="logo" src={inertiaSvg} alt="Inertia logo" />
2121
</a>
2222
<a href="https://vite-ruby.netlify.app" target="_blank">

lib/generators/inertia/install/templates/svelte/InertiaExample.ts.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<h1>Hello {name}!</h1>
1717

1818
<div>
19-
<a href="https://inertia-rails.netlify.app" target="_blank">
19+
<a href="https://inertia-rails.dev" target="_blank">
2020
<img class="logo" src={inertiaSvg} alt="Inertia logo" />
2121
</a>
2222
<a href="https://vite-ruby.netlify.app" target="_blank">

lib/generators/inertia/install/templates/svelte/inertia.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ import { mount } from 'svelte';
33

44
createInertiaApp({
55
// Set default page title
6-
// see https://inertia-rails.netlify.app/guide/title-and-meta
6+
// see https://inertia-rails.dev/guide/title-and-meta
77
//
88
// title: title => title ? `${title} - App` : 'App',
99

1010
// Disable progress bar
1111
//
12-
// see https://inertia-rails.netlify.app/guide/progress-indicators
12+
// see https://inertia-rails.dev/guide/progress-indicators
1313
// progress: false,
1414

1515
resolve: (name) => {
@@ -23,7 +23,7 @@ createInertiaApp({
2323

2424
// To use a default layout, import the Layout component
2525
// and use the following line.
26-
// see https://inertia-rails.netlify.app/guide/pages#default-layouts
26+
// see https://inertia-rails.dev/guide/pages#default-layouts
2727
//
2828
// return { default: page.default, layout: page.layout || Layout }
2929

lib/generators/inertia/install/templates/svelte/inertia.ts.tt

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ import { mount } from 'svelte'
33

44
createInertiaApp({
55
// Set default page title
6-
// see https://inertia-rails.netlify.app/guide/title-and-meta
6+
// see https://inertia-rails.dev/guide/title-and-meta
77
//
88
// title: title => title ? `${title} - App` : 'App',
99

1010
// Disable progress bar
1111
//
12-
// see https://inertia-rails.netlify.app/guide/progress-indicators
12+
// see https://inertia-rails.dev/guide/progress-indicators
1313
// progress: false,
1414

1515
resolve: (name) => {
@@ -23,7 +23,7 @@ createInertiaApp({
2323

2424
// To use a default layout, import the Layout component
2525
// and use the following line.
26-
// see https://inertia-rails.netlify.app/guide/pages#default-layouts
26+
// see https://inertia-rails.dev/guide/pages#default-layouts
2727
//
2828
// return { default: page.default, layout: page.layout || Layout }
2929

lib/generators/inertia/install/templates/svelte4/InertiaExample.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<h1>Hello {name}!</h1>
2121

2222
<div>
23-
<a href="https://inertia-rails.netlify.app" target="_blank">
23+
<a href="https://inertia-rails.dev/" target="_blank">
2424
<img class="logo" src={inertiaSvg} alt="Inertia logo" />
2525
</a>
2626
<a href="https://vite-ruby.netlify.app" target="_blank">

lib/generators/inertia/install/templates/svelte4/InertiaExample.ts.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<h1>Hello {name}!</h1>
2121

2222
<div>
23-
<a href="https://inertia-rails.netlify.app" target="_blank">
23+
<a href="https://inertia-rails.dev" target="_blank">
2424
<img class="logo" src={inertiaSvg} alt="Inertia logo" />
2525
</a>
2626
<a href="https://vite-ruby.netlify.app" target="_blank">

lib/generators/inertia/install/templates/svelte4/inertia.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ import { createInertiaApp } from '@inertiajs/svelte'
22

33
createInertiaApp({
44
// Set default page title
5-
// see https://inertia-rails.netlify.app/guide/title-and-meta
5+
// see https://inertia-rails.dev/guide/title-and-meta
66
//
77
// title: title => title ? `${title} - App` : 'App',
88

99
// Disable progress bar
1010
//
11-
// see https://inertia-rails.netlify.app/guide/progress-indicators
11+
// see https://inertia-rails.dev/guide/progress-indicators
1212
// progress: false,
1313

1414
resolve: (name) => {
@@ -22,7 +22,7 @@ createInertiaApp({
2222

2323
// To use a default layout, import the Layout component
2424
// and use the following lines.
25-
// see https://inertia-rails.netlify.app/guide/pages#default-layouts
25+
// see https://inertia-rails.dev/guide/pages#default-layouts
2626
//
2727
// return { default: page.default, layout: page.layout || Layout }
2828

lib/generators/inertia/install/templates/svelte4/inertia.ts.tt

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ import { createInertiaApp, type ResolvedComponent } from '@inertiajs/svelte'
22

33
createInertiaApp({
44
// Set default page title
5-
// see https://inertia-rails.netlify.app/guide/title-and-meta
5+
// see https://inertia-rails.dev/guide/title-and-meta
66
//
77
// title: title => title ? `${title} - App` : 'App',
88

99
// Disable progress bar
1010
//
11-
// see https://inertia-rails.netlify.app/guide/progress-indicators
11+
// see https://inertia-rails.dev/guide/progress-indicators
1212
// progress: false,
1313

1414
resolve: (name) => {
@@ -22,7 +22,7 @@ createInertiaApp({
2222

2323
// To use a default layout, import the Layout component
2424
// and use the following line.
25-
// see https://inertia-rails.netlify.app/guide/pages#default-layouts
25+
// see https://inertia-rails.dev/guide/pages#default-layouts
2626
//
2727
// return { default: page.default, layout: page.layout || Layout }
2828

lib/generators/inertia/install/templates/vue/InertiaExample.ts.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<h1 class="h1">Hello {{ name }}!</h1>
66

77
<div>
8-
<a href="https://inertia-rails.netlify.app" target="_blank">
8+
<a href="https://inertia-rails.dev" target="_blank">
99
<img class="logo" :src="inertiaSvg" alt="Inertia logo" />
1010
</a>
1111
<a href="https://vite-ruby.netlify.app" target="_blank">

lib/generators/inertia/install/templates/vue/InertiaExample.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<h1 class="h1">Hello {{ name }}!</h1>
66

77
<div>
8-
<a href="https://inertia-rails.netlify.app" target="_blank">
8+
<a href="https://inertia-rails.dev" target="_blank">
99
<img class="logo" :src="inertiaSvg" alt="Inertia logo" />
1010
</a>
1111
<a href="https://vite-ruby.netlify.app" target="_blank">

lib/generators/inertia/install/templates/vue/inertia.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ import { createApp, DefineComponent, h } from 'vue'
33

44
createInertiaApp({
55
// Set default page title
6-
// see https://inertia-rails.netlify.app/guide/title-and-meta
6+
// see https://inertia-rails.dev/guide/title-and-meta
77
//
88
// title: title => title ? `${title} - App` : 'App',
99

1010
// Disable progress bar
1111
//
12-
// see https://inertia-rails.netlify.app/guide/progress-indicators
12+
// see https://inertia-rails.dev/guide/progress-indicators
1313
// progress: false,
1414

1515
resolve: (name) => {
@@ -20,7 +20,7 @@ createInertiaApp({
2020

2121
// To use a default layout, import the Layout component
2222
// and use the following lines.
23-
// see https://inertia-rails.netlify.app/guide/pages#default-layouts
23+
// see https://inertia-rails.dev/guide/pages#default-layouts
2424
//
2525
// const page = pages[`../pages/${name}.vue`]
2626
// page.default.layout = page.default.layout || Layout

0 commit comments

Comments
 (0)