From: Karl O. Pinc Date: Tue, 20 Aug 2024 00:25:01 +0000 (-0500) Subject: Change docs on overriding assets to YAML syntax X-Git-Url: https://papio.biology.duke.edu/gitweb/?a=commitdiff_plain;h=8b2c9ec338b85d61a16d299d855cc3cfb08c2015;p=pgwui_server Change docs on overriding assets to YAML syntax --- diff --git a/README.rst b/README.rst index 50973d9..b9eb306 100644 --- a/README.rst +++ b/README.rst @@ -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.