From: Kai Moritz Date: Thu, 4 Jun 2026 22:15:41 +0000 (+0000) Subject: prettify.js vollständig entfernen: Code-Blöcke auf plain
 umstellen
X-Git-Url: https://juplo.de/gitweb/?a=commitdiff_plain;h=2f116f67f897b96eb9b5ccb386bdf4328f51dddc;p=website

prettify.js vollständig entfernen: Code-Blöcke auf plain 
 umstellen

Die fünf facebook-utils-2.5.0-Seiten mit echten Code-Beispielen
(debugging, configuration, force, pitfalls, skip) verwendeten
-Wrapper für Google Code Prettify.
Diese werden zu einfachem 
 konvertiert, das ohne JavaScript
korrekt dargestellt wird.

Damit ist prettify.js auf der gesamten Site nicht mehr erforderlich.
Das Theme entfernt in dem angezogenen Commit static/js/prettify.js
sowie alle Script- und CSS-Einbindungen.

Co-Authored-By: Claude Sonnet 4.6 
---

diff --git a/content/projects/facebook-utils-2.5.0/configuration.html b/content/projects/facebook-utils-2.5.0/configuration.html
index b07f604a..269c958c 100644
--- a/content/projects/facebook-utils-2.5.0/configuration.html
+++ b/content/projects/facebook-utils-2.5.0/configuration.html
@@ -14,7 +14,6 @@
     
-    
     
@@ -23,7 +22,7 @@
     
         
   
-  
+  
     

But be aware, that in this case the database-url, that is build in the application is the same that is used while testing, where @@ -86,7 +85,7 @@ A better approach is, to specify a different url for testing like in the following snippet:

-
+  
 <plugin>
   <groupId>de.juplo</groupId>
   <artifactId>hibernate-maven-plugin</artifactId>
@@ -101,7 +100,7 @@
   <configuration>
     <url><![CDATA[jdbc:mysql://localhost/test-db]]></url>
   </configuration>
-</plugin>
+</plugin>

Configuration properties, that are set in the configuration-section of the plugin-configuration cannnot be overwritten elsewere (for details @@ -135,7 +134,7 @@ the plugin-configuration, to be sure to have a separate database for testing):

-
+  
 <properties>
   <hibernate.connection.driver_class>org.hsqldb.jdbcDriver</hibernate.connection.driver_class>
   <hibernate.dialect>org.hibernate.dialect.HSQLDialect</hibernate.dialect>
@@ -166,7 +165,7 @@
     </configuration>
   </plugin>
 
-<plugins>
+<plugins>

Configuration through the plugin-configuration

A third way for configuring the plugin is the plugin-configuration. @@ -183,7 +182,7 @@ The equivalent of the configuration from the last section would look like this:

-
+  
 <plugin>
   <groupId>de.juplo</groupId>
   <artifactId>hibernate-maven-plugin</artifactId>
@@ -202,7 +201,7 @@
     <username>sa</username>
     <password></password>
   </configuration>
-</plugin>
+</plugin>

The parameter hibernateProperties (name of the hibernate-properties-file to use, defaults to hibernate.properties) can only be configured through @@ -239,7 +238,7 @@ If you need to overwrite plugin-configuration-values with maven-properties, you can use maven-properties in the plugin-configuration:

-
+  
 <plugin>
   <groupId>de.juplo</groupId>
   <artifactId>hibernate-maven-plugin</artifactId>
@@ -254,7 +253,7 @@
   <configuration>
     <password>${my-password-property}</password>
   </configuration>
-</plugin>
+</plugin> diff --git a/content/projects/facebook-utils-2.5.0/debugging.html b/content/projects/facebook-utils-2.5.0/debugging.html index 5274e582..6df418c2 100644 --- a/content/projects/facebook-utils-2.5.0/debugging.html +++ b/content/projects/facebook-utils-2.5.0/debugging.html @@ -14,7 +14,6 @@ - @@ -23,7 +22,7 @@ - +
+</plugin>

No annotated classes found

If you are working under Windows and get the error-message diff --git a/content/projects/facebook-utils-2.5.0/skip.html b/content/projects/facebook-utils-2.5.0/skip.html index 7986ef0e..f681caca 100644 --- a/content/projects/facebook-utils-2.5.0/skip.html +++ b/content/projects/facebook-utils-2.5.0/skip.html @@ -14,7 +14,6 @@ - @@ -23,7 +22,7 @@ - +