From 2951b7ef4e64581e7d0699c37b9494453dac66b2 Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc" Date: Tue, 13 Nov 2018 19:22:14 -0600 Subject: [PATCH] Document pgwui.routes in the ini files --- examples/development.ini | 12 ++++++++++++ examples/pgwui.ini | 11 +++++++++++ 2 files changed, 23 insertions(+) diff --git a/examples/development.ini b/examples/development.ini index 4500ff6..dad0465 100644 --- a/examples/development.ini +++ b/examples/development.ini @@ -51,6 +51,18 @@ pgwui.dry_run = False # The default is no prefix. # pgwui.route_prefix = +# Overriding routes of specific PGWUI components + +# The syntax is "name" = "route", one per line. The "name" is the +# name of the PGWUI component. "route" is the route to use to access +# the component. So to access the logout page at +# http://example.com/logmeout the line would be: logout = /logmeout +# +# The default for some PGWUI components are: +# pgwui_routes = +# logout = /logout +# upload = /upload + # # Pyramid configuration diff --git a/examples/pgwui.ini b/examples/pgwui.ini index 99213ba..fc86f63 100644 --- a/examples/pgwui.ini +++ b/examples/pgwui.ini @@ -49,6 +49,17 @@ pgwui.dry_run = False # The default is no prefix. # pgwui.route_prefix = +# Overriding routes of specific PGWUI components + +# The syntax is "name" = "route", one per line. The "name" is the +# name of the PGWUI component. "route" is the route to use to access +# the component. So to access the logout page at +# http://example.com/logmeout the line would be: logout = /logmeout +# +# The default for some PGWUI components are: +# pgwui_routes = +# logout = /logmeout +# upload = /put-in # # Pyramid configuration -- 2.34.1