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

Automating the website build process #77

Open
siavashserver opened this issue Dec 7, 2020 · 9 comments
Open

Automating the website build process #77

siavashserver opened this issue Dec 7, 2020 · 9 comments
Assignees

Comments

@siavashserver
Copy link
Member

Since we aren't using any fancy Jekyll plugins, we can let GitHub to directly build and host the website by moving the sources to glfw.github.io repository.

@elmindreda
Copy link
Member

That would be so good to have working.

Should the Doxygen generated directories live in this repo as well?

@siavashserver
Copy link
Member Author

Yes, so they can be copied over during build process as well.

@elmindreda
Copy link
Member

Does e53f035 seem reasonable?

@siavashserver
Copy link
Member Author

Does e53f035 seem reasonable?

Yup.

I have also made a few changes here a3f2ff9 to fix issues with stylesheet paths; that's probably due to GitHub Pages stack being different (Jekyll 3.9) .

I'm not really familiar with how custom domain binding works, you might need to somehow copy/keep CNAME in sources as well.

@elmindreda
Copy link
Member

Yes, the CNAME file needs to move here and possibly we should also rename this repo to glfw.github.io? I'm not sure what the functional differences are between a project site and an organization site beyond naming, but this is technically the latter.

@siavashserver
Copy link
Member Author

I guess that's all that needs to be done and we should be good to go ^^"

@elmindreda
Copy link
Member

It worked perfectly! Awesome work!

@elmindreda
Copy link
Member

elmindreda commented Feb 24, 2021

Hmm, nearly. css/arrow.png isn't getting copied for some reason. Never mind, it's back now.

@siavashserver
Copy link
Member Author

I love these refreshing 6:00 AM mini heart attacks, glad it's up and running on first try :D

I'm not sure how much useful it might be, but it seems like that documentation regeneration can be somehow automated through these GitHub Actions as well:

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

No branches or pull requests

2 participants