glusterdocs icon indicating copy to clipboard operation
glusterdocs copied to clipboard

Webpage Documentation > Administrators Guide link broken

Open dr-diesel opened this issue 3 years ago • 2 comments

Hi,

1/ the Administrators Guide link in webpage menu to Docs is broken. Contains space instead of dash

404 http://docs.gluster.org/en/latest/Administrator%20Guide/ 200 http://docs.gluster.org/en/latest/Administrator-Guide/

2/ 404 page layout of Docs is broken too, no stylesheet. In Console found this: Refused to apply style from 'https://docs.gluster.org/assets/stylesheets/main.8c5ef100.min.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

linked css on 404 /assets/stylesheets/main.8c5ef100.min.css = 404 too linked css on 200 ../assets/stylesheets/main.8c5ef100.min.css = /en/latest/assets/stylesheets/main.8c5ef100.min.css = 200

dr-diesel avatar May 13 '22 19:05 dr-diesel

the Administrators Guide link in webpage menu to Docs is broken. Contains space instead of dash

Sorry but I was unable to understand this. Which menu item/link are you referring to?

MIME type ('text/html') is not a supported stylesheet MIME type

This is because the file is not found at that URL and the browser gets 404 as a HTML.

The issue is due to the custom path that we append en/latest. Since we do not have versioned docs anymore should we remove it?

If not, wherever the mapping is done, static assets needs to be pointed correctly i.e. Taking the custom path into consideration.

WDYT @Shwetha-Acharya

Regards

black-dragon74 avatar May 31 '22 07:05 black-dragon74

For 1/ The "Administrators Guide" link on the main Gluster.org website is broken. You get a 404 page because it's using a space instead a "-". Steps to reproduce. Go to www.gluster.org Move the pointer over Documentation so you can see the list of available documentation. Click on "Adminstrators Guide"

For 2/ the above 404 page is not properly visible because several stylesheets also give a 404. gluster-org-404-page-2023-04-27_00-49 gluster-org-404-page-2023-04-27_00-48

3/ I have followed several links from other sites going to the page with the space (%20) in the URL. Maybe a 302 would be a good fix for that?

pbulteel avatar Apr 26 '23 23:04 pbulteel