Fix docset build ?

This commit is contained in:
Tristan D. 2025-03-20 20:35:52 +01:00
parent f17ec858c9
commit 546f31832c
Signed by: tristan
SSH key fingerprint: SHA256:9oFM1J63hYWJjCnLG6C0fxBS15rwNcWwdQNMOHYKJ/4
2 changed files with 5 additions and 5 deletions

View file

@ -81,7 +81,7 @@ script = "cargo docset --workspace --no-clean --platform-family redvault-ai && s
[tasks.cp-docset]
workspace = false
dependencies = ["make-docset"]
script = "cp -r target/docset/redvault-ai.docset ~/.local/share/Zeal/Zeal/docsets/"
script = "echo $PWD; cp -r ../target/docset/redvault-ai.docset ~/.local/share/Zeal/Zeal/docsets/"
[tasks.watch-test]
command = "cargo"

View file

@ -58,8 +58,8 @@ impl UiController {
#[route(GET "/")]
async fn index(State(_): State<AppState>) -> impl IntoResponse {
main_page(maud! {
div class="container mx-auto p-4" {
h1 class="text-2xl font-bold mb-4" {
div class="container p-4 mx-auto" {
h1 class="mb-4 text-2xl font-bold" {
"LLM Chat App"
}
div .bg-white .p-6 .rounded-lg .shadow-md {
@ -67,8 +67,8 @@ impl UiController {
// Chat messages will appear here
}
form id="chat-form" {
textarea id="user-input" class="w-full p-2 border rounded-lg mb-2" placeholder="Type your message..." {}
button type="button" data-on-click="@get('/msg')" class="bg-blue-500 text-white p-2 rounded-lg" {
textarea id="user-input" class="p-2 mb-2 w-full rounded-lg border" placeholder="Type your message..." {}
button type="button" data-on-click="@get('/msg')" class="p-2 text-white bg-blue-500 rounded-lg" {
"Send"
}
}