From ce9842f1ec845d2bf36744d0ee7293cc6841ba36 Mon Sep 17 00:00:00 2001 From: Jeremy Howard Date: Thu, 23 Jan 2025 15:53:01 +1000 Subject: [PATCH] fix sitemap --- README.md | 48 +++++++++++++++++++++++++++++++++++++++++++++ fasthtml/_modidx.py | 4 ++-- nbs/nbdev.yml | 2 +- settings.ini | 4 ++-- 4 files changed, 53 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d25117da..4e58cee1 100644 --- a/README.md +++ b/README.md @@ -153,3 +153,51 @@ Finally, join the FastHTML community to ask questions, share your work, and learn from others: - [Discord](https://discord.gg/qcXvcxMhdP) + +## Other languages and related projects + +If you’re not a Python user, or are keen to try out a new language, +we’ll list here other projects that have a similar approach to FastHTML. +(Please reach out if you know of any other projects that you’d like to +see added.) + +- [htmgo](https://htmgo.dev/) (Go): “*htmgo is a lightweight pure go way + to build interactive websites / web applications using go & htmx. By + combining the speed & simplicity of go + hypermedia attributes (htmx) + to add interactivity to websites, all conveniently wrapped in pure go, + you can build simple, fast, interactive websites without touching + javascript. All compiled to a single deployable binary*” + +If you’re just interested in functional HTML components, rather than a +full HTMX server solution, consider: + +- [fastcore.xml.FT](https://fastcore.fast.ai/xml.html): This is actually + what FastHTML uses behind the scenes +- [htpy](https://htpy.dev/): Similar to + [`fastcore.xml.FT`](https://fastcore.fast.ai/xml.html#ft), but with a + somewhat different syntax +- [elm-html](https://package.elm-lang.org/packages/elm/html/latest/): + Elm’s built-in HTML library with a type-safe functional approach +- [hiccup](https://github.com/weavejester/hiccup): Popular library for + representing HTML in Clojure using vectors +- [hiccl](https://github.com/garlic0x1/hiccl): HTML generation library + for Common Lisp inspired by Clojure’s Hiccup +- [Falco.Markup](https://github.com/pimbrouwers/Falco): F# HTML DSL and + web framework with type-safe HTML generation +- [Lucid](https://github.com/chrisdone/lucid): Type-safe HTML generation + for Haskell using monad transformers +- [dream-html](https://github.com/aantron/dream): Part of the Dream web + framework for OCaml, provides type-safe HTML templating + +For other hypermedia application platforms, not based on HTMX, take a +look at: + +- [Hotwire/Turbo](https://turbo.hotwired.dev/): Rails-oriented framework + that similarly uses HTML-over-the-wire +- [LiveView](https://hexdocs.pm/phoenix_live_view/Phoenix.LiveView.html): + Phoenix framework’s solution for building interactive web apps with + minimal JavaScript +- [Unpoly](https://unpoly.com/): Another HTML-over-the-wire framework + with progressive enhancement +- [Livewire](https://laravel-livewire.com/): Laravel’s take on building + dynamic interfaces with minimal JavaScript diff --git a/fasthtml/_modidx.py b/fasthtml/_modidx.py index 4d32b6bc..3df2f8e8 100644 --- a/fasthtml/_modidx.py +++ b/fasthtml/_modidx.py @@ -1,8 +1,8 @@ # Autogenerated by nbdev d = { 'settings': { 'branch': 'main', - 'doc_baseurl': '/fasthtml', - 'doc_host': 'https://AnswerDotAI.github.io', + 'doc_baseurl': '/', + 'doc_host': 'https://docs.fastht.ml', 'git_url': 'https://github.com/AnswerDotAI/fasthtml', 'lib_path': 'fasthtml'}, 'syms': { 'fasthtml.authmw': {}, diff --git a/nbs/nbdev.yml b/nbs/nbdev.yml index 321d5c73..5844dfc3 100644 --- a/nbs/nbdev.yml +++ b/nbs/nbdev.yml @@ -3,7 +3,7 @@ project: website: title: "fasthtml" - site-url: "https://AnswerDotAI.github.io/fasthtml" + site-url: "https://docs.fastht.ml/" description: "The fastest way to create an HTML app" repo-branch: main repo-url: "https://github.com/AnswerDotAI/fasthtml" diff --git a/settings.ini b/settings.ini index 7976204d..2a8b6966 100644 --- a/settings.ini +++ b/settings.ini @@ -16,8 +16,8 @@ tst_flags = notest put_version_in_init = True branch = main custom_sidebar = False -doc_host = https://AnswerDotAI.github.io -doc_baseurl = /fasthtml +doc_host = https://docs.fastht.ml +doc_baseurl = / git_url = https://github.com/AnswerDotAI/fasthtml title = fasthtml audience = Developers