You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: nbs/api/08_oauth.ipynb
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@
27
27
"id": "507cd009",
28
28
"metadata": {},
29
29
"source": [
30
-
"See the [docs page](https://fastht.ml/docs/explains/oauth.html) for an explanation of how to use this."
30
+
"See the [docs page](https://answerdotai.github.io/fasthtml/explains/oauth.html) for an explanation of how to use this."
31
31
]
32
32
},
33
33
{
@@ -425,7 +425,7 @@
425
425
"id": "d978e813",
426
426
"metadata": {},
427
427
"source": [
428
-
"After logging in via the provider, the user will be redirected back to the supplied redirect URL. The request to this URL will contain a `code` parameter, which is used to get an access token and fetch the user's profile information. See [the explanation here](https://fastht.ml/docs/explains/oauth.html) for a worked example. You can either:\n",
428
+
"After logging in via the provider, the user will be redirected back to the supplied redirect URL. The request to this URL will contain a `code` parameter, which is used to get an access token and fetch the user's profile information. See [the explanation here](https://answerdotai.github.io/fasthtml/explains/oauth.html) for a worked example. You can either:\n",
429
429
"\n",
430
430
"- Use client.retr_info(code) to get all the profile information, or\n",
431
431
"- Use client.retr_id(code) to get just the user's ID.\n",
Copy file name to clipboardExpand all lines: nbs/index.ipynb
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -110,7 +110,7 @@
110
110
"source": [
111
111
"Because FastHTML is newer than most LLMs, AI systems like Cursor, ChatGPT, Claude, and Copilot won't give useful answers about it. To fix that problem, we've provided an LLM-friendly guide that teaches them how to use FastHTML. To use it, add this link for your AI helper to use:\n",
"This example is in a format based on recommendations from Anthropic for use with [Claude Projects](https://support.anthropic.com/en/articles/9517075-what-are-projects). This works so well that we've actually found that Claude can provide even better information than our own documentation! For instance, read through [this annotated Claude chat](https://gist.github.com/jph00/9559b0a563f6a370029bec1d1cc97b74) for some great getting-started information, entirely generated from a project using the above text file as context.\n",
116
116
"\n",
@@ -131,7 +131,7 @@
131
131
"Start with the official sources to learn more about FastHTML:\n",
132
132
"\n",
133
133
"- [About](https://fastht.ml/about): Learn about the core ideas behind FastHTML\n",
134
-
"- [Documentation](https://fastht.ml/docs): Learn from examples how to write FastHTML code\n",
134
+
"- [Documentation](https://answerdotai.github.io/fasthtml): Learn from examples how to write FastHTML code\n",
135
135
"- [Idiomatic app](https://github.com/AnswerDotAI/fasthtml/blob/main/examples/adv_app.py): Heavily commented source code walking through a complete application, including custom authentication, JS library connections, and database use.\n",
Copy file name to clipboardExpand all lines: nbs/llms.txt
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -12,15 +12,15 @@ Things to remember when writing FastHTML apps:
12
12
13
13
## Docs
14
14
15
-
- [FastHTML quick start](https://fastht.ml/docstutorials/quickstart_for_web_devs.html.md): A brief overview of many FastHTML features
15
+
- [FastHTML quick start](https://answerdotai.github.io/fasthtml/tutorials/quickstart_for_web_devs.html.md): A brief overview of many FastHTML features
16
16
- [HTMX reference](https://raw.githubusercontent.com/bigskysoftware/htmx/master/www/content/reference.md): Brief description of all HTMX attributes, CSS classes, headers, events, extensions, js lib methods, and config options
17
17
- [Surreal](https://raw.githubusercontent.com/AnswerDotAI/surreal/main/README.md): Tiny jQuery alternative for plain Javascript with inline Locality of Behavior, providing `me` and `any` functions
18
18
- [CSS Scope Inline](https://raw.githubusercontent.com/gnat/css-scope-inline/main/README.md): A JS library which allow `me` to be used in CSS selectors, by using a `MutationObserver` to monitor the DOM
19
19
- [Starlette quick guide](https://gist.githubusercontent.com/jph00/e91192e9bdc1640f5421ce3c904f2efb/raw/61a2774912414029edaf1a55b506f0e283b93c46/starlette-quick.md): A quick overview of some Starlette features useful to FastHTML devs.
20
20
21
21
## API
22
22
23
-
- [API List](https://fastht.ml/docs/apilist.txt): A succint list of all functions and methods in fasthtml.
23
+
- [API List](https://answerdotai.github.io/fasthtml/apilist.txt): A succint list of all functions and methods in fasthtml.
24
24
25
25
## Examples
26
26
@@ -30,15 +30,15 @@ Things to remember when writing FastHTML apps:
30
30
## Optional
31
31
32
32
- [Starlette full documentation](https://gist.githubusercontent.com/jph00/809e4a4808d4510be0e3dc9565e9cbd3/raw/9b717589ca44cedc8aaf00b2b8cacef922964c0f/starlette-sml.md): A subset of the Starlette documentation useful for FastHTML development.
33
-
- [JS App Walkthrough](https://fastht.ml/docs/tutorials/e2e.html.md): An end-to-end walkthrough of a complete FastHTML app, including deployment to railway.
34
-
- [FastHTML by Example](https://fastht.ml/docs/tutorials/by_example.html.md): A collection of 4 FastHTML apps showcasing idiomatic use of FastHTML and HTMX patterns.
35
-
- [Using Jupyter to write FastHTML](https://fastht.ml/docs/tutorials/jupyter_and_fasthtml.html.md): A guide to developing FastHTML apps inside Jupyter notebooks.
36
-
- [FT Components](https://fastht.ml/docs/explains/explaining_xt_components.html.md): Explanation of the `FT` components, which are a way to write HTML in a Pythonic way.
37
-
- [FAQ](https://fastht.ml/docs/explains/faq.html.md): Answers to common questions about FastHTML.
38
-
- [MiniDataAPI Spec](https://fastht.ml/docs/explains/minidataapi.html.md): Explanation of the MiniDataAPI specification, which allows us to use the same API for many different database engines.
39
-
- [OAuth](https://fastht.ml/docs/explains/oauth.html.md): Tutorial and explanation of how to use OAuth in FastHTML apps.
40
-
- [Routes](https://fastht.ml/docs/explains/routes.html.md): Explanation of how routes work in FastHTML.
41
-
- [WebSockets](https://fastht.ml/docs/explains/websockets.html.md): Explanation of websockets and how they work in FastHTML.
42
-
- [Custom Components](https://fastht.ml/docs/ref/defining_xt_component.html.md): Explanation of how to create custom components in FastHTML.
43
-
- [Handling Handlers](https://fastht.ml/docs/ref/handlers.html.md): Explanation of how to request and response handlers work in FastHTML as routes.
44
-
- [Live Reloading](https://fastht.ml/docs/ref/live_reload.html.md): Explanation of how to use live reloading for FastHTML development.
33
+
- [JS App Walkthrough](https://answerdotai.github.io/fasthtml/tutorials/e2e.html.md): An end-to-end walkthrough of a complete FastHTML app, including deployment to railway.
34
+
- [FastHTML by Example](https://answerdotai.github.io/fasthtml/tutorials/by_example.html.md): A collection of 4 FastHTML apps showcasing idiomatic use of FastHTML and HTMX patterns.
35
+
- [Using Jupyter to write FastHTML](https://answerdotai.github.io/fasthtml/tutorials/jupyter_and_fasthtml.html.md): A guide to developing FastHTML apps inside Jupyter notebooks.
36
+
- [FT Components](https://answerdotai.github.io/fasthtml/explains/explaining_xt_components.html.md): Explanation of the `FT` components, which are a way to write HTML in a Pythonic way.
37
+
- [FAQ](https://answerdotai.github.io/fasthtml/explains/faq.html.md): Answers to common questions about FastHTML.
38
+
- [MiniDataAPI Spec](https://answerdotai.github.io/fasthtml/explains/minidataapi.html.md): Explanation of the MiniDataAPI specification, which allows us to use the same API for many different database engines.
39
+
- [OAuth](https://answerdotai.github.io/fasthtml/explains/oauth.html.md): Tutorial and explanation of how to use OAuth in FastHTML apps.
40
+
- [Routes](https://answerdotai.github.io/fasthtml/explains/routes.html.md): Explanation of how routes work in FastHTML.
41
+
- [WebSockets](https://answerdotai.github.io/fasthtml/explains/websockets.html.md): Explanation of websockets and how they work in FastHTML.
42
+
- [Custom Components](https://answerdotai.github.io/fasthtml/ref/defining_xt_component.html.md): Explanation of how to create custom components in FastHTML.
43
+
- [Handling Handlers](https://answerdotai.github.io/fasthtml/ref/handlers.html.md): Explanation of how to request and response handlers work in FastHTML as routes.
44
+
- [Live Reloading](https://answerdotai.github.io/fasthtml/ref/live_reload.html.md): Explanation of how to use live reloading for FastHTML development.
Copy file name to clipboardExpand all lines: nbs/ref/handlers.ipynb
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -266,7 +266,7 @@
266
266
"id": "42d62408",
267
267
"metadata": {},
268
268
"source": [
269
-
"Handler functions can return [`FT`](https://fastht.ml/docs/explains/explaining_xt_components.html) objects, which are automatically converted to HTML strings. The `FT` class can take other `FT` components as arguments, such as `Div`. This allows for easy composition of HTML elements in your responses."
269
+
"Handler functions can return [`FT`](https://answerdotai.github.io/fasthtml/explains/explaining_xt_components.html) objects, which are automatically converted to HTML strings. The `FT` class can take other `FT` components as arguments, such as `Div`. This allows for easy composition of HTML elements in your responses."
Copy file name to clipboardExpand all lines: nbs/ref/live_reload.ipynb
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@
31
31
"- A reload is only triggered when you save your changes.\n",
32
32
"- `FastHTMLWithLiveReload` should only be used during development.\n",
33
33
"- If your app spans multiple directories you might need to use the `--reload-dir` flag to watch all files in each directory. See the uvicorn [docs](https://www.uvicorn.org/settings/#development) for more info.\n",
34
-
"- The live reload script is only injected into the page when rendering [ft components](https://fastht.ml/docs/explains/explaining_xt_components.html)."
34
+
"- The live reload script is only injected into the page when rendering [ft components](https://answerdotai.github.io/fasthtml/explains/explaining_xt_components.html)."
Copy file name to clipboardExpand all lines: nbs/tutorials/quickstart_for_web_devs.ipynb
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -102,7 +102,7 @@
102
102
"::: {.callout-note}\n",
103
103
"While some linters and developers will complain about the wildcard import, it is by design here and perfectly safe. FastHTML is very deliberate about the objects it exports in `fasthtml.common`. If it bothers you, you can import the objects you need individually, though it will make the code more verbose and less readable.\n",
104
104
"\n",
105
-
"If you want to learn more about how FastHTML handles imports, we cover that [here](https://fastht.ml/docs/explains/faq.html#why-use-import).\n",
105
+
"If you want to learn more about how FastHTML handles imports, we cover that [here](https://answerdotai.github.io/fasthtml/explains/faq.html#why-use-import).\n",
0 commit comments