gluster / project-infrastructure

Issues related to GlusterFs infrastructure components.
0 stars 0 forks source link

Decide what to do with docs.gluster.org #141

Open mscherer opened 3 years ago

mscherer commented 3 years ago

So I received a email from readthedocs about docs.gluster.org. It seems that on the 1st of october, something will change and we need to change our proxy setup (related to cloudflare SSL).

We need to move the CNAME to readthedocs rather than the current system (eg, a proxy that go to docs.gluster.org).

While I am the one who set the proxy, I do not remember why we did that (maybe it predate the current system)

However:

So I would propose to:

This will allow to:

mscherer commented 3 years ago

So the proxy was changed on https://github.com/gluster/gluster.org_ansible_configuration/commit/a67ee6a1d3370db0e40fc754ca6f683b48a98674

No indication why I did that :(

amarts commented 3 years ago

Considering its an opensource documentation, and mostly static, how about shifting to github pages itself, with cname pointing to docs.gluster.org. all we need is a repo with name gluster.github.io and have all MD pages here.

mscherer commented 3 years ago

We would also need to somehow replicate what mkdocs do (eg, a menu, etc). But it can be done with github actions, so I guess whoever do the work decide. It can also be moved to Openshift Online, and we would use a docker container to build it.

There is plenty of options, each differing mostly on details, like small workflow adjustment, and no really bad solutions.

mscherer commented 3 years ago

So seems nothing broke on 1st of october, but I am still going to do the DNS change later today

nik-redhat commented 2 years ago

Is issue #147 somehow related to this?

mscherer commented 2 years ago

Quite possible. We received alerts from nagios related to that, but as we changed nothing, I figured it was a issue on RTD side that would be solved.

mscherer commented 2 years ago

Ok so I propose to move to github actions, and host that on github.

mscherer commented 2 years ago

So here is my first attempt: https://mscherer.github.io/glusterdocs/ , look quite normal to me.

Code: https://github.com/mscherer/glusterdocs/commit/dcfc737ea517a11bbd4434247bbadc33eba76927

@msaju @Shwetha-Acharya @karthik-us @Sheetalpamecha

As you commited on the repo last month, any objection to the move ? If no one object by next week, I will do the move to gh pages.

Sheetalpamecha commented 2 years ago

@mscherer This looks good. I think we can make the changes and move it to gh.

Shwetha-Acharya commented 2 years ago

@mscherer looks good to me as well!

karthik-us commented 2 years ago

@mscherer LGTM.

msaju commented 2 years ago

@mscherer LGTM

mscherer commented 2 years ago

Ok so I moved. I will remove the readthedocs account later

Sheetalpamecha commented 2 years ago

Hi @mscherer, Accessing https://docs.gluster.org/en/latest/ giving me 404- Not Found error.

Is anyone else also facing the same? @karthik-us @Shwetha-Acharya @msaju

PS - Although Traversing inside the site, doesn't give any error. It works well

nik-redhat commented 2 years ago

I think it is because of the readthedocs template that we were using earlier. By default, readthedocs provide "versioning", but after moving to Github pages we don't have that. So, now the home URL is https://docs.gluster.org/ only instead of https://docs.gluster.org/en/latest/

mscherer commented 2 years ago

Ok, should I revert the move for the time being as we want to fix that ?

(that's just a DNS change)

karthik-us commented 2 years ago

I think its better to revert it. Otherwise all the places where we have already posted/using the older links will start giving 404. For example, the links to the release notes on social media or the redirection from https://www.gluster.org/ to the particular section under the Documentation section will be broken.

mscherer commented 2 years ago

Ok, let's revert and try to see how we can build the website like RTD did.

mscherer commented 2 years ago

I am adding a docs-stage.gluster.org, so we can fiddle with github actions setup to replicate RTD.

mscherer commented 2 years ago

So, as I forgot to finish the setup, someone took the domain, and pinged RH infosec, so I removed the domain for now.