Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename quarkus-qute-server-pages to quarkus-qute-web - round #2 #50

Merged
merged 1 commit into from
Nov 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Quarkus Qute Web

[![Version](https://img.shields.io/maven-central/v/io.quarkiverse.quteserverpages/quarkus-qute-server-pages.svg?label=Maven%20Central)](https://search.maven.org/artifact/io.quarkiverse.quteserverpages/quarkus-qute-server-pages)
[![Version](https://img.shields.io/maven-central/v/io.quarkiverse.qute.web/quarkus-qute-web.svg?label=Maven%20Central)](https://search.maven.org/artifact/io.quarkiverse.qute.web/quarkus-qute-web)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

The goal of this extension is to expose the [Qute](https://quarkus.io/guides/qute-reference) templates located in the `src/main/resource/templates` directory via HTTP. Automatically, no controllers needed. For example, the template `src/main/resource/templates/web/foo.html` will be served from the paths `/foo` and `/foo.html` by default.
Expand All @@ -15,4 +15,4 @@ In a template you can access:
- the current `io.vertx.core.http.HttpServerRequest` via the `http:` namespace, e.g. `{http:request.path}`
- the query parameters via the `http:` namespace, e.g. `{http:param('name')}` and `{http:param('name','DefaultName'}`

Read the full [documentation](https://quarkiverse.github.io/quarkiverse-docs/quarkus-quteserverpages/dev/index.html).
Read the full [documentation](https://quarkiverse.github.io/quarkiverse-docs/quarkus-qute-web/dev/index.html).
4 changes: 2 additions & 2 deletions docs/antora.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: quarkus-quteserverpages
title: QuteServerPages
name: quarkus-qute-web
title: Qute Web
version: dev
nav:
- modules/ROOT/nav.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkiverse.quteserverpages.it;
package io.quarkiverse.qute.web.it;

import io.quarkus.qute.TemplateEnum;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkiverse.quteserverpages.it;
package io.quarkiverse.qute.web.it;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkiverse.quteserverpages.it;
package io.quarkiverse.qute.web.it;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
<title>Colors</title>
</head>
<body>
{#for color in io_quarkiverse_quteserverpages_it_Colors:colors}{color}{#if color_hasNext}, {/if}{/for}
{#for color in io_quarkiverse_qute_web_it_Colors:colors}{color}{#if color_hasNext}, {/if}{/for}
</body>
</html>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package io.quarkiverse.quteserverpages.it;
package io.quarkiverse.qute.web.it;

import io.quarkus.test.junit.QuarkusIntegrationTest;

@QuarkusIntegrationTest
public class QspIT extends QspTest {
public class QuteWebIT extends QuteWebTest {
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkiverse.quteserverpages.it;
package io.quarkiverse.qute.web.it;

import static io.restassured.RestAssured.given;
import static org.hamcrest.Matchers.containsString;
Expand All @@ -9,7 +9,7 @@
import io.quarkus.test.junit.QuarkusTest;

@QuarkusTest
public class QspTest {
public class QuteWebTest {

@Test
public void testTemplates() {
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
<module>docs</module>
</modules>
<scm>
<connection>scm:git:[email protected]:quarkiverse/quarkus-qute-server-pages.git</connection>
<developerConnection>scm:git:[email protected]:quarkiverse/quarkus-qute-server-pages.git</developerConnection>
<url>https://github.com/quarkiverse/quarkus-qute-server-pages</url>
<connection>scm:git:[email protected]:quarkiverse/quarkus-qute-web.git</connection>
<developerConnection>scm:git:[email protected]:quarkiverse/quarkus-qute-web.git</developerConnection>
<url>https://github.com/quarkiverse/quarkus-qute-web</url>
<tag>HEAD</tag>
</scm>
<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
- web
- qute
- templates
guide: https://quarkiverse.github.io/quarkiverse-docs/quarkus-quteserverpages/dev/index.html
guide: https://quarkiverse.github.io/quarkiverse-docs/quarkus-qute-web/dev/index.html
categories:
- "web"
status: "preview"