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

How? #5

Closed
Pajsen9263 opened this issue Nov 16, 2020 · 3 comments
Closed

How? #5

Pajsen9263 opened this issue Nov 16, 2020 · 3 comments

Comments

@Pajsen9263
Copy link

How did you use a package.json, github.io dosen't have support for that right?

@nelsontky
Copy link
Owner

It does not have support for that yes. I only use it for development, and I have a script that does deployment for me

@kidGodzilla
Copy link

kidGodzilla commented Nov 16, 2020

  1. CNAME points URL to gh-pages branch
  2. 404.html handles all requests
  3. Small javascript snippet fetches a JSON representation of the GitHub issue via the JSON API, and redirects to the issue title, as a URL.
  4. Profit?

Really neat hack btw

@nelsontky
Copy link
Owner

Thank you for the explanation maybe I'll add it to the README

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