Commit Graph
262 Commits
Author SHA1 Message Date
Jordan Tucker 97ac05912c docs: Fix incorrect enctype info on Forms page (#2516)
Fixes #2515

This PR updates the Forms page in the docs with accurate information
about a form's `enctype` attribute.
2024-06-16 22:46:24 +00:00
Max Walters 7caae01b17 docs: fix javascript casing (#2512)
This PR fixes a typo in the word `javascript` in the documentation, and
fixes it to be `JavaScript` instead.
2024-06-10 20:01:44 +00:00
Luca Casonato c3ec742a65 feat: import fresh from fresh (#2479)
Instead of importing as `@fresh/core`.
2024-06-05 14:51:35 +02:00
Duncan Holm 67a3714db3 docs: Fix name of JSR update tool (#2468) 2024-05-25 12:33:28 +02:00
Marvin Hagemeister 5dd854341c www: add back trailing slash handling (#2467)
In Fresh 2 trailing slash handling isn't applied automatically anymore
and I forgot to do that when merging the Fresh 2 code base.

While we're at it, I've added a section for that to our migration guide.
2024-05-25 12:11:13 +02:00
Marvin HagemeisterandLuca Casonato 2b1de48ff1 docs: add Fresh 2 migration guide (#2459)
Co-authored-by: Luca Casonato <hello@lcas.dev>
2024-05-24 21:09:51 +02:00
Marvin Hagemeister e4981d30ad www: rework docs layout (#2429)
- Re-enable partials
- clean up layout a bit
2024-05-21 17:38:32 +02:00
Sebastian Nomme 586706e24f docs: Update documentation for active link with Tailwind (#2417)
**Proposed change:**
- Document styling for aria-current attribute separately for Tailwind
and Twind.

**Disclaimer:**
I am new to open-source contributions and are unfamiliar with the
process for submitting a pull request. I have found some more areas of
improvement in the Fresh documentation. Should this PR not be
up-to-standards on how to contribute, please guide me in the right
direction. I have a few more suggestions on issues I found while
developing a new Fresh app.

Any guidance would be helpful, either reach out to me on GitHub, Discord
(bastianplsfix) or X (bastianplsfix).

Best,
Sebastian 🦕
2024-05-02 20:45:31 +02:00
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
Marvin Hagemeister 0e5962ce37 www: remov no build step from marketing (#2407)
We've been moving away from that for a couple of months now, so
featuring the "no build step" prominently in our marketing feels wrong.
2024-04-18 17:29:27 +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
Zisulin MorbrotandAsher Gomez c9ec6bb153 docs: add a PKCE authentication with Supabase example (#2302)
Closes #1217

Adds an example on how to implement the PKCE authentication flow with
Supabase.

I included a link to a repo of mine holding the code to a fully fleshed
out example app as a more comprehensive point of reference, hope that is
ok. In fact, I was thinking of deploying that app on Deno Deploy and add
it to the Showcase section, lmk if that would be a good idea.

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-03-27 15:39:01 +01: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
narumincho 407e4379df doc: Rename _req used to req (#2349)
Where other documents use req, they use the name req instead of _req


https://github.com/denoland/fresh/blob/b7281792a0a5b2674f659514b1e58116fabd6460/docs/latest/concepts/middleware.md?plain=1#L153
2024-03-21 09:32:59 +00:00
Joe Lutz 0ea8b0dbc6 docs: fix wording related to route groups (#2368) 2024-03-18 21:01:58 +00:00
Casey Ydenberg 30a25dd2f3 Docs: Add page about setting raw HTML content (#2189) (#2295)
Closes #2189
2024-03-18 19:11:34 +01:00
Roj 4f671ec961 docs: remove outdated information (#2362) 2024-03-14 15:12:51 +01:00
Marvin Hagemeister a2be1abc6b chore: update Preact to 10.19.6 (#2331) 2024-02-22 10:46:41 +01:00
Reed von Redwitz 82c75f85e9 fix: update dependency recommendations (#2320)
closes https://github.com/denoland/fresh/issues/2319

The issue is because `imports.ts` wasn't changed before releasing. I
thought I would go through and bump some other versions as well. This
handles everything except the esbuild stuff and `tests/`.
2024-02-19 10:33:04 +01:00
Aarvin R dfabf5035e docs: add link to deno (#2281)
This pull request replaces a code snippet mentioning Deno (`deno`) with
a link to deno.com ([deno](https://deno.com/)), and will close #2280.
2024-01-29 13:19:09 +00: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
Reed von Redwitz 3f28cc8977 chore: upgrade tailwind to 3.4.1 (#2287) 2024-01-29 14:10:28 +01:00
Greg Zometa e059a46ea5 docs: getting started - running locally (#2245)
Removes description of changing the port number with the deprecated
`port` property and updates with `server.port`.

![Screenshot 2024-01-12
190452](https://github.com/denoland/fresh/assets/138949169/84ac96b2-6c55-438d-8be1-22184f309a22)
2024-01-13 08:43:33 +01:00
Marvin Hagemeister 6f6f551248 docs: add hints to AOT page (#2232) 2024-01-10 10:50:01 +01:00
Marvin Hagemeister f63752062a chore: change assert to with for import attributes (#2231) 2024-01-10 10:25:07 +01:00
Reed von Redwitz e12e08f146 docs: fix import_map link in creating-a-project (#2218)
closes https://github.com/denoland/fresh/issues/2208
2024-01-08 09:53:36 +00:00
Marvin Hagemeister 8c4385043c Revert "refactor: use --env CLI arg" (#2212)
Reverts denoland/fresh#2204

The `--env` flag cannot be used by default because it fails when no
`.env` file is present. Therefore this PR accidentally introduced a
breaking change.
2024-01-04 11:53:15 +01:00
Asher Gomez 99eb5435bb refactor: use --env CLI arg (#2204)
This change replaces the use of the Standard Library's `dotenv.load()`
with the native `--env` CLI flag.

The benefits include:
* One less dependency
* More obvious consumption of the `.env` file in the CLI output
2023-12-29 10:47:15 +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
Ian James a8a43ff0d4 docs: fix typo in active links introduction (#2192)
Fixes an "<a>" in the active link markdown from being interpreted as an
actual link, rather than part of the text.

Before:


![](https://github.com/denoland/fresh/assets/1732331/fa5665f8-deed-439f-b6de-4589b494edd7)

Before with rogue anchor element in hover state:


![](https://github.com/denoland/fresh/assets/1732331/e6b286d6-e76a-4def-8446-ec0f8752967a)


After:

![](https://github.com/denoland/fresh/assets/1732331/1f441b30-871e-4076-837e-1cf5e64a82b0)
2023-12-22 12:54:16 +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
Marvin Hagemeister 74481007f3 docs: Move aot step in tailwind guide to start (#2176) 2023-12-15 16:42:42 +01:00
Arno KleinandMarvin Hagemeister 78061e9198 docs: fix link to data-fetching (#2162)
Just a fixed link

---------

Co-authored-by: Marvin Hagemeister <marvin@deno.com>
2023-12-11 08:48:39 +00: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
Marvin Hagemeister 993f1020b6 docs: add note for aria + data with Tailwind CSS (#2137)
Fixes https://github.com/denoland/fresh/issues/2123
2023-12-04 12:31:52 +01:00
迷渡andMarvin Hagemeister 87d1f2356a chore: Use satisfies instead of as (#2136)
Co-authored-by: Marvin Hagemeister <marvin@deno.com>
2023-12-04 11:38:52 +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 bd372b9535 fix: errors in plugin fixture + improve island docs (#2109) 2023-12-01 12:21:10 +01:00
Guilherme MiyakeandMarvin Hagemeister 1501699988 docs/examples: Client side components and libraries (#2089)
Co-authored-by: Marvin Hagemeister <marvin@deno.com>
2023-11-30 14:22:11 +01:00
Reed von RedwitzandMarvin Hagemeister 9ab8651018 feat(server): Add basePath config to host from a directory (#2092)
Co-authored-by: Marvin Hagemeister <marvin@deno.com>
2023-11-29 16:44:25 +00:00
Marvin Hagemeister d62d22a4fc docs: fix link (#2087) 2023-11-28 22:50:48 +01:00
Marvin Hagemeister e99804ac01 docs: update deno version (#2086) 2023-11-28 18:35:26 +01:00
Reed von Redwitz 6a90fdbf1b docs: switch to aria-current in active links page (#2019) 2023-11-28 17:32:48 +01:00
Marvin Hagemeister 79fd85ef93 docs: Add migrating to Tailwind CSS page (#2077) 2023-11-28 13:39:05 +01:00
Casey Ydenberg 81e71adad6 docs: Add file upload example (Concepts/Forms) (#2064) (#2065) 2023-11-24 23:50:50 +01:00
Reed von Redwitz 72edafde46 feat(server): plugins can create islands (#1472) 2023-11-22 11:19:13 +01:00
Harsh Mangalam 5d690bede1 docs: fix get params from ctx instead of props (#2040) 2023-11-15 14:32:57 +01:00