Commit Graph
47 Commits
Author SHA1 Message Date
Kerim Hudson bc75101dcf docs: using server components in islands (#2416)
After reading the discussion at #2369, this PR introduces a small
addition to the docs which highlights how you can use server components
within islands.

This, coupled with the existing docs, should hopefully give people
enough of an example to understand that islands provide the
interactivity layer, and that server components within them can be
hydrated and made interactive too.

Closes #2369
2024-04-30 14:07:23 +02:00
Kerim Hudson 8e38211257 www: document colocation of route groups (#2413)
This adds in the information regarding co-location of islands and
components from [this blog
post](https://deno.com/blog/fresh-1.4#colocated-islands-components-and-more)
into the main documentation.

A lot of the text is pulled directly from the blog post, but I'm happy
to edit it if need be.

Closes #2305
2024-04-26 16:20:37 +02:00
Casey Ydenberg 5d490c8521 docs: Fix arguments for route component in Upload example (#2396)
Closes #2395
2024-04-08 19:26:50 +02:00
Luca CasonatoandMarvin Hagemeister 29d582c987 chore: update ahead-of-time build docs for Deno Deploy (#2381)
Co-authored-by: Marvin Hagemeister <marvin@deno.com>
2024-03-22 22:19:17 +01:00
Joe Lutz 0ea8b0dbc6 docs: fix wording related to route groups (#2368) 2024-03-18 21:01:58 +00:00
Roj 4f671ec961 docs: remove outdated information (#2362) 2024-03-14 15:12:51 +01:00
Benjamin Jesuiter 2652b85532 fix: GH actions warning by upgrading to v4 #2285 (#2286)
I tested the change in my own repo, the warning on github disapears for
the "actions/checkout" action.
It is still there for the denoland/setup-deno action, but an upgrade PR
is already ongoing for this action, see:
https://github.com/denoland/setup-deno/pull/56
2024-01-29 14:13:32 +01:00
Marvin Hagemeister 6f6f551248 docs: add hints to AOT page (#2232) 2024-01-10 10:50:01 +01:00
Josh Simmons 1016e7f9a1 docs: fix deprecated type usage in example code (#2203)
Fixes deprecated example in docs.

<img width="760" alt="image"
src="https://github.com/denoland/fresh/assets/6600962/1e239f0f-0798-4ca0-b84d-d4266b6dfc31">
2023-12-28 22:24:38 +00:00
iain maitland 7af80da802 docs: add missing import (#2183)
fix undefined var error.
2023-12-18 21:45:31 +01:00
iain maitland 8d321b6049 docs: fix typo in upload example (#2182) 2023-12-18 18:12:10 +01:00
Casey YdenbergandMarvin Hagemeister 25afcae943 docs: Merge data fetching pages (#1974) (#2107)
Co-authored-by: Marvin Hagemeister <marvin@deno.com>
2023-12-07 10:50:50 +01:00
Christos Hrousis f3578f863f docs: Remove references to deprecated types (#2125)
As per the [1.6
release](https://deno.com/blog/fresh-1.6#simplified-typings), and
commentary by @csvn
[here](https://github.com/denoland/fresh/issues/2108#issuecomment-1836625789),
this PR aims to replace the references to deprecated typing in the
documentation.

Please see inline commentary for parts I'm unclear on.
2023-12-02 11:14:37 +00:00
Marvin Hagemeister dace008611 chore: release 1.6.0 (#2113) 2023-12-01 16:20:40 +01:00
Marvin Hagemeister e99804ac01 docs: update deno version (#2086) 2023-11-28 18:35:26 +01:00
Casey Ydenberg 81e71adad6 docs: Add file upload example (Concepts/Forms) (#2064) (#2065) 2023-11-24 23:50:50 +01:00
Harsh Mangalam 5d690bede1 docs: fix get params from ctx instead of props (#2040) 2023-11-15 14:32:57 +01:00
Harsh Mangalam c4897ecb65 docs:fix tss to tsx (#2009)
fixed #2008
2023-11-05 18:59:53 +01:00
Reed von Redwitz 7a2e5916c6 docs: update server configuration page (#1998) 2023-11-02 11:03:10 +01:00
Reed von Redwitz ded71a934f docs: add jsdoc for IS_BROWSER (#1991) 2023-10-31 18:49:18 +01:00
Marvin Hagemeister 2fc212cc04 docs: fix missing extension (#1962) 2023-10-19 17:28:44 +02:00
rabex 3ad39dbf40 docs: file extension spelling correction (#1951) 2023-10-17 17:26:11 +02:00
Marvin Hagemeister a7d3fbf8d9 docs: update partials file path (#1929) 2023-10-13 00:52:07 +02:00
Marvin Hagemeister c1c6d325c5 docs: partials update formatting (#1905) 2023-10-11 09:28:49 +02:00
Asher Gomez 6ddef91d95 refactor: replace references of options with config (#1903) 2023-10-11 09:25:03 +02:00
Asher Gomez 6ce39b8cee refactor: use manifest variable name (#1902)
Previously, the `routes` variable name was used. This change makes more
sense as the variable has the `Manifest` type.
2023-10-11 10:03:08 +11:00
Marvin Hagemeister fe2c95cc25 chore: release 1.5.0 (#1899) 2023-10-10 18:08:44 +02:00
Marvin Hagemeister 01e5f71058 docs: improve admonition styles (#1880) 2023-10-06 22:56:11 +02:00
Marvin Hagemeister e9717ed911 fix: meta charSet -> charset (#1875) 2023-10-06 15:59:13 +02:00
Marvin Hagemeister 7737c60e51 docs: fix code snippet formatting (#1866) 2023-10-05 12:32:00 +02:00
Michael Herzner 8a0d0dc452 feat: add support for optional dynamic route params (#1706) 2023-09-07 14:28:44 +02:00
c00ae494f6 docs: add section for "Rendering islands on client only" (#1687)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
Co-authored-by: Marvin Hagemeister <marvin@deno.com>
2023-09-05 10:36:37 +00:00
Sjors Smits 575e7813b7 docs: fix small typos (#1702) 2023-09-04 18:23:58 +00:00
hashrock 729ac073ca fix(doc): example code should return the response (#1727) 2023-09-04 09:53:30 +09:00
Josh Gum 3858f5ad03 docs: Add detail to Deno KV auth example (#1665) 2023-09-03 21:54:12 +00:00
jia wei f9ab05f7ea docs: fix app wrapper docs (#1713) 2023-09-01 16:02:13 +02:00
Marvin Hagemeister b537a20ff5 www: fix typo (#1671) 2023-08-17 17:52:11 +02:00
Marvin Hagemeister 899a3e0dc9 www: fix incorrect links (#1664) 2023-08-17 15:23:01 +02:00
Marvin Hagemeister c175e28bf3 chore: release 1.4.0 (#1639) 2023-08-16 17:35:29 +02:00
Marvin HagemeisterandReed von Redwitz b2362da281 www: Various documentation improvements (#1635)
Co-authored-by: Reed von Redwitz <reed+github@vonredwitz.com>
2023-08-16 16:24:53 +02:00
Marvin Hagemeister 6a599dbed5 www: new fenced code block design (#1629) 2023-08-13 10:52:41 +02:00
Ryan RawlingsandMarvin Hagemeister 7679e278cc www: make islands.md examples run without errors (#1614)
Co-authored-by: Marvin Hagemeister <marvinhagemeister50@gmail.com>
2023-08-12 19:37:05 +00:00
Furkan Demir d601f4cef4 www: add middlware redirect section (#1615) 2023-08-10 19:26:00 +00:00
Marvin Hagemeister df5931e105 Revert: feat(server): add safety checks during dev (#1567) 2023-08-01 18:10:30 +02:00
Michael HerznerandReed von Redwitz a7fe9d04f1 feat(server): add safety checks during dev (#1489)
Co-authored-by: Reed von Redwitz <reed+github@vonredwitz.com>
2023-07-31 11:48:26 +02:00
Lino Le Van 5ba19abe13 fix: typos (#1526) 2023-07-26 13:09:42 +00:00
Marvin Hagemeister 2e8460e5c1 www: move latest docs into latest folder (#1522) 2023-07-25 13:42:01 +02:00