From 2b458357eb4edfc5d4106e61d545d8b910fb1e33 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Ho=C3=9F?= Date: Thu, 14 Apr 2022 09:33:25 +0200 Subject: [PATCH] fix hugo warnings --- .../persistence/{jdbc/_index.md => jdbc.md} | 0 .../content/persistence/jdbc/utilityPackageName.md | 101 --------------------- yosql-website/layouts/shortcodes/gradleplugin.html | 13 --- .../layouts/shortcodes/maven/logging/system.html | 25 ----- .../layouts/shortcodes/maven/logging/ti.html | 25 ----- .../themes/metio/layouts/_default/list.atom.xml | 2 +- 6 files changed, 1 insertion(+), 165 deletions(-) rename yosql-website/content/persistence/{jdbc/_index.md => jdbc.md} (100%) delete mode 100644 yosql-website/content/persistence/jdbc/utilityPackageName.md delete mode 100644 yosql-website/layouts/shortcodes/gradleplugin.html delete mode 100644 yosql-website/layouts/shortcodes/maven/logging/system.html delete mode 100644 yosql-website/layouts/shortcodes/maven/logging/ti.html diff --git a/yosql-website/content/persistence/jdbc/_index.md b/yosql-website/content/persistence/jdbc.md similarity index 100% rename from yosql-website/content/persistence/jdbc/_index.md rename to yosql-website/content/persistence/jdbc.md diff --git a/yosql-website/content/persistence/jdbc/utilityPackageName.md b/yosql-website/content/persistence/jdbc/utilityPackageName.md deleted file mode 100644 index 77d3e108..00000000 --- a/yosql-website/content/persistence/jdbc/utilityPackageName.md +++ /dev/null @@ -1,101 +0,0 @@ ---- -title: utilityPackageName -date: 2019-09-27T18:51:08+02:00 -menu: - main: - parent: JDBC -categories: - - Configuration -tags: - - utilities - - package - - name ---- - -The base package name for JDBC utility classes in generated code. Defaults to `com.example.persistence.util`. - -## Configuration Options - -### Option: 'com.example.persistence.util' - -The default value of the `utilityPackageName` configuration option is `com.example.persistence.util`. Setting the option to `com.example.persistence.util` therefore produces the same code generated as the default configuration without any configuration option set. It produces code similar to this: - -```java -package com.example.persistence.util; - -public class SomeUtility { - - // ... rest of generated code - -} -``` - -### Option: 'your.own.domain.util' - -Changing the `utilityPackageName` configuration option to `your.own.domain.util` generates the following code instead: - -```java -package your.own.domain.util; - -public class SomeUtility { - - // ... rest of generated code (same as above) - -} -``` - -## Tooling - -### Maven - -In order to use `YoSQL` together with [Maven](https://maven.apache.org/), take a look at the tooling [documentation for Maven](/tooling/maven/). - -{{< maven/persistence/jdbc/utilityPackageName >}} - -### Gradle - -In order to use `YoSQL` together with [Gradle](https://gradle.org/), take a look at the tooling [documentation for Gradle](/tooling/gradle/). - -```kotlin -plugins { - java - id("wtf.metio.yosql") version "2021.4.21" -} - -yosql { - configGroup { - utilityPackageName.set("your.own.domain.util") - } -} -``` - -```groovy -plugins { - id "java" - id "wtf.metio.yosql" version "2021.4.21" -} - -yosql { - configGroup { - utilityPackageName = "your.own.domain.util" - } -} -``` - -### Bazel - -In order to use `YoSQL` together with [Bazel](https://bazel.build/), take a look at the tooling [documentation for Bazel](/tooling/bazel/). - -### CLI - -In order to use YoSQL on the command line, take a look at the tooling [documentation for CLI](/tooling/cli/). - -```shell -$ yosql --jdbc-utility-package-name=your.own.domain.util -``` - -The shorter form is available as well: - -```shell -$ yosql --utility-package-name=your.own.domain.util -``` diff --git a/yosql-website/layouts/shortcodes/gradleplugin.html b/yosql-website/layouts/shortcodes/gradleplugin.html deleted file mode 100644 index 797db4fc..00000000 --- a/yosql-website/layouts/shortcodes/gradleplugin.html +++ /dev/null @@ -1,13 +0,0 @@ - - -

-plugins {
-  id("wtf.metio.yosql") version "{{ getenv "YOSQL_RELEASE" }}"
-}
-
-
diff --git a/yosql-website/layouts/shortcodes/maven/logging/system.html b/yosql-website/layouts/shortcodes/maven/logging/system.html deleted file mode 100644 index 502d20af..00000000 --- a/yosql-website/layouts/shortcodes/maven/logging/system.html +++ /dev/null @@ -1,25 +0,0 @@ - - -
<build>
-    <plugins>
-        ...
-        <plugin>
-            <groupId>wtf.metio.yosql</groupId>
-            <artifactId>yosql-tooling-maven</artifactId>
-            <version>{{ getenv "YOSQL_RELEASE" }}</version>
-            <configuration>
-                <apis>
-                    <loggingApi>SYSTEM</loggingApi>
-                </apis>
-            </configuration>
-        </plugin>
-        ...
-    </plugins>
-</build>
-
-
diff --git a/yosql-website/layouts/shortcodes/maven/logging/ti.html b/yosql-website/layouts/shortcodes/maven/logging/ti.html deleted file mode 100644 index b5dcb964..00000000 --- a/yosql-website/layouts/shortcodes/maven/logging/ti.html +++ /dev/null @@ -1,25 +0,0 @@ - - -
<build>
-    <plugins>
-        ...
-        <plugin>
-            <groupId>wtf.metio.yosql</groupId>
-            <artifactId>yosql-tooling-maven</artifactId>
-            <version>{{ getenv "YOSQL_RELEASE" }}</version>
-            <configuration>
-                <apis>
-                    <loggingApi>TI</loggingApi>
-                </apis>
-            </configuration>
-        </plugin>
-        ...
-    </plugins>
-</build>
-
-
diff --git a/yosql-website/themes/metio/layouts/_default/list.atom.xml b/yosql-website/themes/metio/layouts/_default/list.atom.xml index 18fd4cc7..74a47f45 100644 --- a/yosql-website/themes/metio/layouts/_default/list.atom.xml +++ b/yosql-website/themes/metio/layouts/_default/list.atom.xml @@ -4,7 +4,7 @@ {{- $title := site.Title -}} {{- with .Title -}} {{- if (not (eq . site.Title)) -}} - {{- $title = printf `%s %s %s` . (i18n "feed_title_on" | default "on") site.Title -}} + {{- $title = printf `%s %s %s` . "on" site.Title -}} {{- end -}} {{- end -}} {{- if .IsTranslated -}} -- 2.11.4.GIT