diff --git a/docs/src/_documentation/how_tos/10-make-every-form-remote-in-rails.md b/docs/src/_documentation/how_tos/10-make-every-form-remote-in-rails.md index f9df195..ff9b5ea 100644 --- a/docs/src/_documentation/how_tos/10-make-every-form-remote-in-rails.md +++ b/docs/src/_documentation/how_tos/10-make-every-form-remote-in-rails.md @@ -1,6 +1,6 @@ --- title: Make Every Form a Remote Form in Rails -permalink: /make-every-form-remote-in-rails +permalink: /how-tos/make-every-form-remote-in-rails --- Rails has a special configuration for remote forms as of `v6.1` that diff --git a/docs/src/_documentation/how_tos/20-programmatic-fetching-with-events.md b/docs/src/_documentation/how_tos/20-programmatic-fetching-with-events.md index 81c0513..0024bf0 100644 --- a/docs/src/_documentation/how_tos/20-programmatic-fetching-with-events.md +++ b/docs/src/_documentation/how_tos/20-programmatic-fetching-with-events.md @@ -1,6 +1,6 @@ --- title: Programmatically Fetch with events -permalink: /programmatic-fetching-with-events +permalink: /how-tos/programmatic-fetching-with-events --- Remember how I said earlier its just fetch? Well there are 3 additional diff --git a/docs/src/_documentation/how_tos/30-use-js-erb.md b/docs/src/_documentation/how_tos/30-use-js-erb.md index 335aec9..c0a2f67 100644 --- a/docs/src/_documentation/how_tos/30-use-js-erb.md +++ b/docs/src/_documentation/how_tos/30-use-js-erb.md @@ -1,6 +1,6 @@ --- title: Using .js.erb -permalink: /use-js-erb +permalink: /how-tos/use-js-erb --- ## [Rails Configuration](#rails-configuration) diff --git a/docs/src/_documentation/how_tos/40-prefetching.md b/docs/src/_documentation/how_tos/40-prefetching.md index ebb5c25..eea02b0 100644 --- a/docs/src/_documentation/how_tos/40-prefetching.md +++ b/docs/src/_documentation/how_tos/40-prefetching.md @@ -1,6 +1,6 @@ --- title: Prefetching -permalink: /prefetching +permalink: /how-tos/prefetching --- ## [Why should I prefetch?](#why-should-i-prefetch) diff --git a/docs/src/_documentation/how_tos/50-integrate-cablecar.md b/docs/src/_documentation/how_tos/50-integrate-cablecar.md index 81bbd15..79adfeb 100644 --- a/docs/src/_documentation/how_tos/50-integrate-cablecar.md +++ b/docs/src/_documentation/how_tos/50-integrate-cablecar.md @@ -1,6 +1,6 @@ --- title: Integrate CableCar -permalink: /integrate-cablecar +permalink: /how-tos/integrate-cablecar --- ## [CableCar](#cablecar) diff --git a/docs/src/_documentation/how_tos/60-integrate-turbo.md b/docs/src/_documentation/how_tos/60-integrate-turbo.md index 1572d6d..e6a9a49 100644 --- a/docs/src/_documentation/how_tos/60-integrate-turbo.md +++ b/docs/src/_documentation/how_tos/60-integrate-turbo.md @@ -1,6 +1,6 @@ --- title: Integrate Turbo with mrujs -permalink: /integrate-turbo +permalink: /how-tos/integrate-turbo --- Mrujs ships with a plugin to automatically handle TurboStream responses. diff --git a/docs/src/_documentation/how_tos/70-using-shoelace-with-mrujs.md b/docs/src/_documentation/how_tos/70-using-shoelace-with-mrujs.md index b55c285..2dd4529 100644 --- a/docs/src/_documentation/how_tos/70-using-shoelace-with-mrujs.md +++ b/docs/src/_documentation/how_tos/70-using-shoelace-with-mrujs.md @@ -1,6 +1,6 @@ --- title: Using Shoelace with mrujs -permalink: /using-shoelace-with-mrujs +permalink: /how-tos/using-shoelace-with-mrujs --- Mrujs ships with a Shoelace plugin. Currently this plugin is fairly minimal. At its diff --git a/docs/src/_documentation/references/01-comparison-to-ujs.md b/docs/src/_documentation/references/01-comparison-to-ujs.md index 7a0a3a4..df8871e 100644 --- a/docs/src/_documentation/references/01-comparison-to-ujs.md +++ b/docs/src/_documentation/references/01-comparison-to-ujs.md @@ -1,6 +1,6 @@ --- title: Comparison to UJS -permalink: /comparison-to-ujs +permalink: /references/comparison-to-ujs --- Before we start comparing, let's start with why. diff --git a/docs/src/_documentation/references/02-remote-forms-and-links.md b/docs/src/_documentation/references/02-remote-forms-and-links.md index 2b0097c..a21aeec 100644 --- a/docs/src/_documentation/references/02-remote-forms-and-links.md +++ b/docs/src/_documentation/references/02-remote-forms-and-links.md @@ -1,6 +1,6 @@ --- title: Understanding Remote Forms and Links -permalink: /remote-forms-and-links +permalink: /references/remote-forms-and-links --- What are remote forms and links? When you see the word "Remote" referencing forms or links, it means the element is submitting its contents via "AJAX". diff --git a/docs/src/_documentation/references/03-ajax-lifecycle.md b/docs/src/_documentation/references/03-ajax-lifecycle.md index 4be8ed6..c629ccd 100644 --- a/docs/src/_documentation/references/03-ajax-lifecycle.md +++ b/docs/src/_documentation/references/03-ajax-lifecycle.md @@ -1,6 +1,6 @@ --- title: Ajax Lifecycle -permalink: /ajax-lifecycle +permalink: /references/ajax-lifecycle --- ## Events diff --git a/docs/src/_documentation/references/04-mime-types.md b/docs/src/_documentation/references/04-mime-types.md index 7366526..b8550f1 100644 --- a/docs/src/_documentation/references/04-mime-types.md +++ b/docs/src/_documentation/references/04-mime-types.md @@ -1,6 +1,6 @@ --- title: (Experimental) MimeTypes -permalink: /mime-types +permalink: /references/mime-types --- mrujs comes with a set of predefined MimeTypes for `AcceptHeaders`. diff --git a/docs/src/_documentation/references/05-fetch.md b/docs/src/_documentation/references/05-fetch.md index 264c98e..76c9c99 100644 --- a/docs/src/_documentation/references/05-fetch.md +++ b/docs/src/_documentation/references/05-fetch.md @@ -1,6 +1,6 @@ --- title: The Fetch API -permalink: /fetch +permalink: /references/fetch --- ## [Fetch](#fetch) diff --git a/docs/src/_documentation/references/06-query-selectors.md b/docs/src/_documentation/references/06-query-selectors.md index a431974..e113115 100644 --- a/docs/src/_documentation/references/06-query-selectors.md +++ b/docs/src/_documentation/references/06-query-selectors.md @@ -1,6 +1,6 @@ --- title: (Experimental) QuerySelectors -permalink: /query-selectors +permalink: /references/query-selectors --- mrujs comes with a number of preconstructed querySelectors. These can be diff --git a/docs/src/_documentation/references/07-integrations.md b/docs/src/_documentation/references/07-integrations.md index 8d242bc..b6980fc 100644 --- a/docs/src/_documentation/references/07-integrations.md +++ b/docs/src/_documentation/references/07-integrations.md @@ -1,6 +1,6 @@ --- title: Integrations -permalink: /integrations +permalink: /references/integrations --- ## [Navigation](#navigation) diff --git a/docs/src/_documentation/references/08-plugins.md b/docs/src/_documentation/references/08-plugins.md index bb944fa..f09a506 100644 --- a/docs/src/_documentation/references/08-plugins.md +++ b/docs/src/_documentation/references/08-plugins.md @@ -1,6 +1,6 @@ --- title: (Experimental) Plugins -permalink: /plugins +permalink: /references/plugins --- ## [Plugin Interface](#plugin-interface) diff --git a/docs/src/_documentation/references/09-known-issues.md b/docs/src/_documentation/references/09-known-issues.md index 0f94a97..0c760ff 100644 --- a/docs/src/_documentation/references/09-known-issues.md +++ b/docs/src/_documentation/references/09-known-issues.md @@ -1,6 +1,6 @@ --- title: Known Issues -permalink: /known-issues +permalink: /references/known-issues --- ## [Turbolinks Gem](#turbolinks-gem) diff --git a/docs/src/_documentation/references/10-async-confirms.md b/docs/src/_documentation/references/10-async-confirms.md index 107d1f9..f80d63d 100644 --- a/docs/src/_documentation/references/10-async-confirms.md +++ b/docs/src/_documentation/references/10-async-confirms.md @@ -1,6 +1,6 @@ --- title: (Deprecated) Async Confirm Dialogs -permalink: /async-confirms +permalink: /references/async-confirms --- <%= render(Alert.new(title: "Warning:", type: :warning)) do %> diff --git a/docs/src/_documentation/references/11-understanding-method-masking.md b/docs/src/_documentation/references/11-understanding-method-masking.md index 12ff3e9..a524ef7 100644 --- a/docs/src/_documentation/references/11-understanding-method-masking.md +++ b/docs/src/_documentation/references/11-understanding-method-masking.md @@ -1,6 +1,6 @@ --- title: Understanding Method Masking -permalink: /understanding-method-masking +permalink: /references/understanding-method-masking --- Mrujs has a special technique it uses for all links to use diff --git a/docs/src/_documentation/tutorials/01-getting-started.md b/docs/src/_documentation/tutorials/01-getting-started.md index 4105f4e..b74df66 100644 --- a/docs/src/_documentation/tutorials/01-getting-started.md +++ b/docs/src/_documentation/tutorials/01-getting-started.md @@ -1,6 +1,6 @@ --- title: Getting Started -permalink: /getting-started +permalink: /tutorials/getting-started --- ## [1. Install Mrujs](#1-install-mrujs) diff --git a/docs/src/_documentation/tutorials/02-practical-guide-to-mrujs.md b/docs/src/_documentation/tutorials/02-practical-guide-to-mrujs.md index 5e02554..0bc7f01 100644 --- a/docs/src/_documentation/tutorials/02-practical-guide-to-mrujs.md +++ b/docs/src/_documentation/tutorials/02-practical-guide-to-mrujs.md @@ -1,6 +1,6 @@ --- title: Practical Guide to mrujs -permalink: /practical-guide-to-mrujs +permalink: /tutorials/practical-guide-to-mrujs --- If you're new to the concept of UJS, or want a practical example of what