Change docs on overriding assets to YAML syntax
authorKarl O. Pinc <kop@karlpinc.com>
Tue, 20 Aug 2024 00:25:01 +0000 (19:25 -0500)
committerKarl O. Pinc <kop@karlpinc.com>
Tue, 20 Aug 2024 00:25:01 +0000 (19:25 -0500)
README.rst

index 50973d95b0e83b554205414e82ddbf34b41f40b6..b9eb306d8951a9ca40d6832c39b4f84022e6a009 100644 (file)
@@ -354,11 +354,11 @@ descriptions:
 Assets can be overridden in the configuration file with
 ``pgwui.override_asset``::
 
-    pgwui.override_asset =
-        # Syntax is: asset_to_override = override_with
+    pgwui.override_asset:
+        # Syntax is: asset_to_override: override_with
         # Paths must be fully qualified.
-        pgwui_common:static/pgwui.css = /var/www/custom/static/my.css
-        pgwui_logout:templates/logout.mak = /var/www/custom/templates/mylogout.mak
+        pgwui_common:static/pgwui.css: /var/www/custom/static/my.css
+        pgwui_logout:templates/logout.mak: /var/www/custom/templates/mylogout.mak
 
 When overriding assets it is probably best to start with a copy of the
 original file taken from the source code and make changes from there.