Skip to content

Commit 5b2fe2c

Browse files
committed
move general extension docs back to htmx.org/extensions and include core extension documentation on the site
1 parent f4e6786 commit 5b2fe2c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+1125
-51
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* Better degredation of `hx-boost` on forms with query parameters in their `action`
99
* Improved shadowRoot support
1010
* Many smaller bug fixes
11+
* Moved the core extension documentation back to <https://htmx.org/extensions>
1112

1213
## [2.0.2] - 2024-08-12
1314
* no longer boost forms of type `dialog`

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ directly in HTML, using [attributes](https://htmx.org/reference#attributes), so
1717

1818
htmx is small ([~14k min.gz'd](https://unpkg.com/htmx.org/dist/)),
1919
[dependency-free](https://github.com/bigskysoftware/htmx/blob/master/package.json) &
20-
[extendable](https://extensions.htmx.org/)
20+
[extendable](https://htmx.org/extensions)
2121

2222
## motivation
2323

dist/ext/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ These are legacy extensions for htmx 1.x and are **NOT** actively maintained or
44
They are here because we unfortunately linked to unversioned unpkg URLs in the installation guides for them
55
in 1.x, so we need to keep them here to preserve those URLs and not break existing users functionality.
66

7-
If you are looking for extensions for htmx 2.x, please see the [htmx 2.0 extensions site](https://extensions.htmx.org),
7+
If you are looking for extensions for htmx 2.x, please see the [htmx 2.0 extensions site](https://htmx.org/extensions),
88
which has links to the new extensions repos (They have all been moved to their own NPM projects and URLs, like
99
they should have been from the start!)

dist/ext/ajax-header.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
if (htmx.version && !htmx.version.startsWith("1.")) {
22
console.warn("WARNING: You are using an htmx 1 extension with htmx " + htmx.version +
3-
". It is recommended that you move to the version of this extension found on https://extensions.htmx.org")
3+
". It is recommended that you move to the version of this extension found on https://htmx.org/extensions")
44
}
55
htmx.defineExtension('ajax-header', {
66
onEvent: function (name, evt) {

dist/ext/alpine-morph.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
if (htmx.version && !htmx.version.startsWith("1.")) {
22
console.warn("WARNING: You are using an htmx 1 extension with htmx " + htmx.version +
3-
". It is recommended that you move to the version of this extension found on https://extensions.htmx.org")
3+
". It is recommended that you move to the version of this extension found on https://htmx.org/extensions")
44
}
55
htmx.defineExtension('alpine-morph', {
66
isInlineSwap: function (swapStyle) {

dist/ext/class-tools.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
if (htmx.version && !htmx.version.startsWith("1.")) {
44
console.warn("WARNING: You are using an htmx 1 extension with htmx " + htmx.version +
5-
". It is recommended that you move to the version of this extension found on https://extensions.htmx.org")
5+
". It is recommended that you move to the version of this extension found on https://htmx.org/extensions")
66
}
77

88
function splitOnWhitespace(trigger) {

dist/ext/client-side-templates.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
if (htmx.version && !htmx.version.startsWith("1.")) {
22
console.warn("WARNING: You are using an htmx 1 extension with htmx " + htmx.version +
3-
". It is recommended that you move to the version of this extension found on https://extensions.htmx.org")
3+
". It is recommended that you move to the version of this extension found on https://htmx.org/extensions")
44
}
55
htmx.defineExtension('client-side-templates', {
66
transformResponse : function(text, xhr, elt) {

dist/ext/debug.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
if (htmx.version && !htmx.version.startsWith("1.")) {
22
console.warn("WARNING: You are using an htmx 1 extension with htmx " + htmx.version +
3-
". It is recommended that you move to the version of this extension found on https://extensions.htmx.org")
3+
". It is recommended that you move to the version of this extension found on https://htmx.org/extensions")
44
}
55
htmx.defineExtension('debug', {
66
onEvent: function (name, evt) {

dist/ext/disable-element.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
if (htmx.version && !htmx.version.startsWith("1.")) {
22
console.warn("WARNING: You are using an htmx 1 extension with htmx " + htmx.version +
3-
". It is recommended that you move to the version of this extension found on https://extensions.htmx.org")
3+
". It is recommended that you move to the version of this extension found on https://htmx.org/extensions")
44
}
55
// Disable Submit Button
66
htmx.defineExtension('disable-element', {

dist/ext/event-header.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(function(){
22
if (htmx.version && !htmx.version.startsWith("1.")) {
33
console.warn("WARNING: You are using an htmx 1 extension with htmx " + htmx.version +
4-
". It is recommended that you move to the version of this extension found on https://extensions.htmx.org")
4+
". It is recommended that you move to the version of this extension found on https://htmx.org/extensions")
55
}
66
function stringifyEvent(event) {
77
var obj = {};

0 commit comments

Comments
 (0)