diff options
author | Olivier Hallot <olivier.hallot@libreoffice.org> | 2020-06-15 16:51:34 -0300 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2020-06-17 01:32:48 +0200 |
commit | 456d9b054d29362667b0f3acc391c46293312751 (patch) | |
tree | 8d6fc1f05a2a940d49a9ca1cdd9770442086d6e8 /source/text/shared/05 | |
parent | 01bf38a8fe1221235a2b32cc5773c49e1228a418 (diff) |
Add better 404 error
Missing help pages or links with bad HID were redirected
to module entry page, masking the real issue in Help.
This patch activated the 404 page and add HID information
for debug and fix.
Change-Id: I0d55f1c36d9a6c3fab0096d5e3cd171087729691
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/96401
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'source/text/shared/05')
-rw-r--r-- | source/text/shared/05/err_html.xhp | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/source/text/shared/05/err_html.xhp b/source/text/shared/05/err_html.xhp index d4116f45a9..4466224315 100644 --- a/source/text/shared/05/err_html.xhp +++ b/source/text/shared/05/err_html.xhp @@ -28,10 +28,19 @@ </history> </meta> <body> -<paragraph role="heading" id="hd_id3146957" xml-lang="en-US" level="1">Could not find Help page.</paragraph> - <paragraph role="paragraph" id="par_id3147088" xml-lang="en-US">Unfortunately the Help page you selected was not found. The following data could be helpful in locating the error:</paragraph> +<h1 id="hd_id3146957">Could not find Help page (404).</h1> + <paragraph role="paragraph" id="par_id3147088" xml-lang="en-US">That is an error. Possible causes are:</paragraph> +<list type="unordered"> + <listitem> + <paragraph id="par_id131592238966436" role="listitem">The page does not exists and must be created.</paragraph> + </listitem> + <listitem> + <paragraph id="par_id201592238985883" role="listitem">The page exists, but the Help ID is wrong or missing.</paragraph> + </listitem> +</list> +<paragraph role="paragraph" id="par_id761592239118086">Use the Module, Contents, Index and Search selectors to find the right page.</paragraph> + +<paragraph role="paragraph" id="par_id971592240070356">The following data could be helpful in locating the error:</paragraph> <paragraph role="paragraph" id="par_id3143268" xml-lang="en-US">Help ID: <emph><help-id-missing/></emph></paragraph> - <paragraph role="paragraph" id="par_idN10681" xml-lang="en-US">You can install missing Help modules using the <emph>Setup</emph> application.</paragraph> - <paragraph role="paragraph" id="par_id3150541" xml-lang="en-US">Click <image id="img_id3148946" src="res/sc06301.png" width="0.222inch" height="0.222inch"><alt id="alt_id3148946" xml-lang="en-US">Icon</alt></image><emph>Back</emph> to return to the previous page.</paragraph> </body> </helpdocument> |