From b663775b32a84f602d83cdce6d35409b31c07923 Mon Sep 17 00:00:00 2001 From: kenjis Date: Thu, 9 Feb 2023 10:16:55 +0900 Subject: [PATCH 1/2] docs: add note for URI Segments --- user_guide_src/source/libraries/uri.rst | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/user_guide_src/source/libraries/uri.rst b/user_guide_src/source/libraries/uri.rst index 43e77e0626e2..aa0605cf269e 100644 --- a/user_guide_src/source/libraries/uri.rst +++ b/user_guide_src/source/libraries/uri.rst @@ -204,7 +204,13 @@ to an on-page anchor. Media URI's can make use of them in various other ways. URI Segments ============ -Each section of the path between the slashes is a single segment. The URI class provides a simple way to determine +Each section of the path between the slashes is a single segment. + +.. note:: URI Segments mean only the URI path part relative to the baseURL. If + your baseURL contains sub folders, the values will be different from the + current URI path. + +The URI class provides a simple way to determine what the values of the segments are. The segments start at 1 being the furthest left of the path. .. literalinclude:: uri/023.php From 3c485311c47fcffd38a250b5146c89b6bcb24c7e Mon Sep 17 00:00:00 2001 From: kenjis Date: Thu, 23 Feb 2023 17:54:32 +0900 Subject: [PATCH 2/2] docs: improve description --- user_guide_src/source/libraries/uri.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/user_guide_src/source/libraries/uri.rst b/user_guide_src/source/libraries/uri.rst index aa0605cf269e..f253c767f86b 100644 --- a/user_guide_src/source/libraries/uri.rst +++ b/user_guide_src/source/libraries/uri.rst @@ -206,9 +206,9 @@ URI Segments Each section of the path between the slashes is a single segment. -.. note:: URI Segments mean only the URI path part relative to the baseURL. If - your baseURL contains sub folders, the values will be different from the - current URI path. +.. note:: In the case of your site URI, URI Segments mean only the URI path part + relative to the baseURL. If your baseURL contains sub folders, the values + will be different from the current URI path. The URI class provides a simple way to determine what the values of the segments are. The segments start at 1 being the furthest left of the path.