Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webpage Documentation > Administrators Guide link broken #734

Open
dr-diesel opened this issue May 13, 2022 · 2 comments
Open

Webpage Documentation > Administrators Guide link broken #734

dr-diesel opened this issue May 13, 2022 · 2 comments

Comments

@dr-diesel
Copy link

dr-diesel commented May 13, 2022

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

@black-dragon74
Copy link
Member

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

@pbulteel
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants