163 Commits

Author SHA1 Message Date
Mariss Tubelis
90a91a60e0
Extension docs: npm, bundler, min/unmin and SRI hash instructions (#3127)
* Extensions docs: add npm/bundler installation guide and up versions numbers for links

* Revert extensions._index.md table change

* Update docs.md extension installation and integration instruction

* Move extension installation and enabling to new sections in docs.md

* Update extension installation guidelines

* Update idiomorph installation guidelines

* Minor consistency edits

* Make the need for hx-ext clearer

* Fix typos and note for community repos not hosted outside this repo
2025-02-14 22:37:21 +01:00
TGJ Gilmore
0f9c4202ba
Documentation typo correction (#3182)
* Documentation update to include the use of hx-headers to prevent CSRF

* Update hx-headers.md

Revised follow review.

* Update docs.md

Typo correction
2025-02-12 09:41:55 +01:00
TGJ Gilmore
72b425f5fb
Documentation update to include the use of hx-headers to prevent CSRF (#3176)
* Documentation update to include the use of hx-headers to prevent CSRF

* Update hx-headers.md

Revised follow review.
2025-02-10 20:35:31 +01:00
Ryan Kilpadi
5f3cb583ab
Add example for form reset pattern (#3100) 2025-01-07 09:49:40 +01:00
Asif Imran
c6679b18eb
Update docs.md to fix dead link (#3090)
Update docs.md

dead link
2025-01-06 07:27:32 +01:00
Carson Gross
a8b01016b2 Merge remote-tracking branch 'origin/master' 2024-12-24 11:00:57 -07:00
Carson Gross
b15d185aec QUIRKS.md 2024-12-24 11:00:47 -07:00
Yawar Amin
fb3b6a13a7
Docs anchors (#3047)
* Fix anchor id for 'Configuring Response Handling Examples' header

* Move heading anchor links to right of heading

To make sure they don't get cut off by weird browsers.

Also make the anchor link text the 'link' emoji which is more fun than
the hashtag.

* Keep anchor links on the left

* Make entire header the anchor link and show link emoji on hover

* Fix anchor link colour in dark mode

* Revert anchor link icon to hash character

---------

Co-authored-by: 1cg <469183+1cg@users.noreply.github.com>
2024-12-23 09:41:47 -07:00
Carson Gross
44af27f400 fix url 2024-12-13 20:49:15 -07:00
Carson Gross
b82cf843e4 update sha 2024-12-13 11:06:48 -07:00
Carson Gross
fb78106dc6 prep next release 2024-12-12 13:12:49 -07:00
Carson Gross
b37b438c4f remove single line closing angle brackets wft 2024-11-05 12:28:17 -07:00
Simon Hartley
1a1b4a1613
docs: Fix typo (#2984) 2024-10-27 08:00:33 +01:00
Spencer Brown
2617bbded6
"Download a Copy" in the doc points to old release 2.0.2; this PR changes it to 2.0.3 as it should be (#2980)
Fix "Download a copy" link to point to current 2.0.3
2024-10-25 08:54:28 +02:00
Paweł Korzeniewski
ff6964b6a5
Add missing word in previous CSS selector documentation (#2977) 2024-10-23 08:34:32 +02:00
youssame
56ca3eeef2
docs: Fix typo in URL to prevent broken link redirect (#2962)
Doc: Fix typo in URL to prevent broken link redirect
2024-10-11 18:21:42 +02:00
Carson Gross
d6e17abb13 final doc fix 2024-10-04 11:53:03 -06:00
Carson Gross
5b2fe2c19c move general extension docs back to htmx.org/extensions and include core extension documentation on the site 2024-10-03 18:52:59 -06:00
Carson Gross
f4e67863d9 release prep 2024-10-02 22:06:56 -06:00
Carson Gross
2fc32b368c release prep 2024-10-02 20:22:11 -06:00
Carson Gross
d9b4ada06b release prep 2024-10-02 20:19:43 -06:00
Simon Hartley
aad0fbc7ed
Add a link to the extensions site on the docs page (#2930)
Add a link to the extensions site in the docs page
2024-09-25 09:40:55 +02:00
Ben Croker
02aa8fd718
Fix docs for htmx.config.scrollBehavior (#2918)
* Update docs.md

* Update reference.md

* Update api.md

* Fix links

---------

Co-authored-by: Vincent <vichenzo-thebaud@hotmail.com>
2024-09-19 09:33:37 +02:00
MichaelWest22
0023cd85f0
[Documentation] Config default update for methodsThatUseUrlParams (#2911)
Config default update
2024-09-16 10:09:38 +02:00
MichaelWest22
6ce6a1a77b
Documentation 3xx redirects can't send headers (#2904)
* 3xx redirects can't send headers

* fix response-headers links
2024-09-15 09:29:39 +02:00
Ben Hoyt
be2e6b4970
Trivial grammar fixes (#2862) 2024-09-02 08:03:43 +02:00
Alexander Petros
4dfedf4f71
Fix duplicate typo (#2838)
Thanks!
2024-08-21 22:32:39 +02:00
Adam Johnson
bd2dc6564d
Link to htmx:sendError from error description (#2792) 2024-08-20 23:25:23 -04:00
MichaelWest22
91901e38b8
fix responseHandling meta example (#2821) 2024-08-16 10:19:31 +02:00
Carson Gross
bee498792c Merge remote-tracking branch 'origin/master' 2024-08-14 12:56:51 -06:00
Carson Gross
bb0ebf642b fix version 2024-08-14 12:56:44 -06:00
MichaelWest22
667636d098
fix cdn typo (#2814) 2024-08-14 10:29:05 +02:00
Carson Gross
eeaad206e8 update sha 2024-08-12 15:06:59 -06:00
Carson Gross
06d9f72f97 Merge remote-tracking branch 'origin/master' into dev 2024-08-12 14:57:04 -06:00
Adam Johnson
9bae00b698
Update installing download link to v2 (#2791) 2024-08-09 12:07:00 -04:00
ekzyis
f925e83b95
Add HTML comment and catch-all to responseHandling config via <meta> tag (#2793)
* Add HTML comment that was removed

* Add catch-all

---------

Co-authored-by: ekzyis <ekzyis@ekzy.is>
2024-08-09 11:49:24 -04:00
Carson Gross
97b8c68dd3 release prep 2024-08-05 13:53:08 -06:00
Carson Gross
eb32358873 add a catchall to the docs 2024-08-05 13:41:28 -06:00
ekzyis
e2b671d2f5
Fix example for responseHandling config via <meta> tag (#2715)
The current example throws this error:

  htmx.js:2914 SyntaxError: Expected property name or '}' in JSON at position 1 (line 1 column 2)
    at JSON.parse (<anonymous>)
    at parseJSON (htmx.js:816:19)
    at getMetaConfig (htmx.js:4902:14)
    at mergeMetaConfig (htmx.js:4909:24)
    at HTMLDocument.<anonymous> (htmx.js:4917:5)

Co-authored-by: ekzyis <ekzyis@ekzy.is>
2024-08-05 13:40:16 -06:00
Carson Gross
2f38ac7c55 add sha as an npm command and update for release 2024-07-12 11:16:04 -06:00
Carson Gross
f751aba86f remove only top level files to keep the legacy extensions 2024-07-12 11:12:56 -06:00
Christopher Jefferson
10f45c321e
Clarify that hx-trigger:from doesn't dynamically update (#2696)
* Fix typo

* Clarity that 'from' doesn't update as the page changes
2024-07-08 11:50:17 -06:00
Vincent
edac767fd9
Fix selfRequestsOnly doc (defaults to true in htmx 2) #2546 #2669 (#2674) 2024-06-27 13:36:31 -06:00
Andre Sander
5a93241919
Remove duplicated "the" (#2621) 2024-06-18 11:46:45 -06:00
Guilherme J. Tramontina
a15fcafb8a
fix 3rd party lib name in example doc (#2632) 2024-06-18 11:45:05 -06:00
Carson Gross
a328cab53a remove gremlin 2024-06-18 10:56:33 -06:00
Carson Gross
40b55c4a10 2.0 docs scrub 2024-06-03 11:01:45 -06:00
Carson Gross
179b167ccf 2.0 release 2024-05-23 16:18:30 -06:00
Carson Gross
505a093ba7 2.0 release 2024-05-23 13:15:37 -06:00
Carson Gross
6944bb8040 prep htmx 2 beta4 2024-05-22 14:57:16 -06:00