Skip to content

Commit

Permalink
Merge pull request #183 from PedroAugustoRamalhoDuarte/changes-to-new…
Browse files Browse the repository at this point in the history
…-docs-url-v2

changes docs url from .netlify.app to .dev
  • Loading branch information
bknoles authored Jan 30, 2025
2 parents 13c55d1 + 655c4dd commit ffb19f6
Show file tree
Hide file tree
Showing 13 changed files with 25 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function InertiaExample({ name }: { name: string }) {
<h1 className={cs.h1}>Hello {name}!</h1>

<div>
<a href="https://inertia-rails.netlify.app" target="_blank">
<a href="https://inertia-rails.dev" target="_blank">
<img className={cs.logo} src={inertiaSvg} alt="Inertia logo" />
</a>
<a href="https://vite-ruby.netlify.app" target="_blank">
Expand Down
6 changes: 3 additions & 3 deletions lib/generators/inertia/install/templates/react/inertia.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ type ResolvedComponent = {

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

// Disable progress bar
//
// see https://inertia-rails.netlify.app/guide/progress-indicators
// see https://inertia-rails.dev/guide/progress-indicators
// progress: false,

resolve: (name) => {
Expand All @@ -30,7 +30,7 @@ createInertiaApp({

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<h1>Hello {name}!</h1>

<div>
<a href="https://inertia-rails.netlify.app" target="_blank">
<a href="https://inertia-rails.dev" target="_blank">
<img class="logo" src={inertiaSvg} alt="Inertia logo" />
</a>
<a href="https://vite-ruby.netlify.app" target="_blank">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<h1>Hello {name}!</h1>

<div>
<a href="https://inertia-rails.netlify.app" target="_blank">
<a href="https://inertia-rails.dev" target="_blank">
<img class="logo" src={inertiaSvg} alt="Inertia logo" />
</a>
<a href="https://vite-ruby.netlify.app" target="_blank">
Expand Down
6 changes: 3 additions & 3 deletions lib/generators/inertia/install/templates/svelte/inertia.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ import { mount } from 'svelte';

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

// Disable progress bar
//
// see https://inertia-rails.netlify.app/guide/progress-indicators
// see https://inertia-rails.dev/guide/progress-indicators
// progress: false,

resolve: (name) => {
Expand All @@ -23,7 +23,7 @@ createInertiaApp({

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

Expand Down
6 changes: 3 additions & 3 deletions lib/generators/inertia/install/templates/svelte/inertia.ts.tt
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ import { mount } from 'svelte'

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

// Disable progress bar
//
// see https://inertia-rails.netlify.app/guide/progress-indicators
// see https://inertia-rails.dev/guide/progress-indicators
// progress: false,

resolve: (name) => {
Expand All @@ -23,7 +23,7 @@ createInertiaApp({

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<h1>Hello {name}!</h1>

<div>
<a href="https://inertia-rails.netlify.app" target="_blank">
<a href="https://inertia-rails.dev/" target="_blank">
<img class="logo" src={inertiaSvg} alt="Inertia logo" />
</a>
<a href="https://vite-ruby.netlify.app" target="_blank">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<h1>Hello {name}!</h1>

<div>
<a href="https://inertia-rails.netlify.app" target="_blank">
<a href="https://inertia-rails.dev" target="_blank">
<img class="logo" src={inertiaSvg} alt="Inertia logo" />
</a>
<a href="https://vite-ruby.netlify.app" target="_blank">
Expand Down
6 changes: 3 additions & 3 deletions lib/generators/inertia/install/templates/svelte4/inertia.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ import { createInertiaApp } from '@inertiajs/svelte'

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

// Disable progress bar
//
// see https://inertia-rails.netlify.app/guide/progress-indicators
// see https://inertia-rails.dev/guide/progress-indicators
// progress: false,

resolve: (name) => {
Expand All @@ -22,7 +22,7 @@ createInertiaApp({

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ import { createInertiaApp, type ResolvedComponent } from '@inertiajs/svelte'

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

// Disable progress bar
//
// see https://inertia-rails.netlify.app/guide/progress-indicators
// see https://inertia-rails.dev/guide/progress-indicators
// progress: false,

resolve: (name) => {
Expand All @@ -22,7 +22,7 @@ createInertiaApp({

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<h1 class="h1">Hello {{ name }}!</h1>

<div>
<a href="https://inertia-rails.netlify.app" target="_blank">
<a href="https://inertia-rails.dev" target="_blank">
<img class="logo" :src="inertiaSvg" alt="Inertia logo" />
</a>
<a href="https://vite-ruby.netlify.app" target="_blank">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<h1 class="h1">Hello {{ name }}!</h1>

<div>
<a href="https://inertia-rails.netlify.app" target="_blank">
<a href="https://inertia-rails.dev" target="_blank">
<img class="logo" :src="inertiaSvg" alt="Inertia logo" />
</a>
<a href="https://vite-ruby.netlify.app" target="_blank">
Expand Down
6 changes: 3 additions & 3 deletions lib/generators/inertia/install/templates/vue/inertia.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ import { createApp, DefineComponent, h } from 'vue'

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

// Disable progress bar
//
// see https://inertia-rails.netlify.app/guide/progress-indicators
// see https://inertia-rails.dev/guide/progress-indicators
// progress: false,

resolve: (name) => {
Expand All @@ -20,7 +20,7 @@ createInertiaApp({

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

0 comments on commit ffb19f6

Please sign in to comment.