Adding Github Pages URL to Github repository's About section - github

I have a Github repository with an associated Github page (say, github.com/user/mypage), and I would like to include the URL to the Github page (say, user.github.io/mypage) in the About section of the repository. When I go to "Edit repository details", the Github page already shows up in the "Website" field and cannot be changed (which is fine) but it is not displayed in the About section. I've tried this with multiple repositories with associated Github pages, and all show the same behavior. Am I overlooking something blatantly obvious, or is it just not possible to include the URL here?

I tried for a week to link my GitHub Page to my GitHub repository. I just figured out how to do it and then found this post. I thought I would go ahead and post my answer. Doing so might be helpful by making this question more visible in future internet search results.
Click on the gear icon in the upper-right of your GitHub repository to the right of the word "About" (shown in the red circle below):
Paste the URL of your GitHub Page into the Website bar in the window that pops up. This Website bar will already contain text that is grayed-out and might match the URL of your actual GitHub Page. That grayed-out text is inactive. Go ahead and paste in the URL of your GitHub Page anyway. Then click Save changes. You are done. Your GitHub Page should now be linked to your GitHub repository.

Related

Problems publishing a website in GitHub. GitHub Pages is different on my end. Can't follow along tutorials

I have a problem with publishing a website via GitHub. When I try to follow along a website like this: https://progate.com/docs/github-pages, in the step 5 (Publishing your webpage), I don't manage to see what the author of the tutorial sees in GitHub Pages (this: GitHub Pages) but rather i see this: Pages in my end (and when clicking on "add a domain" I see this pages/add a verified domain). What should I do after uploading my repository in GitHub, to publish a website via GitHub if I see what I see instead of what the tutorial says I should see (when going to Pages in GitHub)?
Could you please help me with this? Thanks.
From what I understand, you are going to the wrong place. It looks like you are going to the "Pages" tab of your profile, not your repository. Make sure you go to your repository first, then go to "Settings", then you will find the "Pages" tab on the right, like this:

Github Pages not showing up

https://github.com/jchu4483/auth0
I'm following Github's tutorial to host a Github Page. I creating the repo and set the Github Page to track my main branch and published the Page.
Github says my site should be published at http://test-blog-on-qa.com/auth0/ but the site doesn't load. As a side note: Why would Github choose that weird domain name(test-blog-on-qa)?
I've chosen a theme(Jekyll), pushed an empty commit to rebuild but nothing works. This should be very simple so I'm confused as to what could be wrong?
You are using the Github Custom Domain for your site chu4483.github.io.
Have a look at: https://github.com/jchu4483/jchu4483.github.io/blob/master/CNAME
That's why test-blog-on-qa.com is used as the domain name automatically.

How to add github sponsor button to readme

I have github sponsorship enabled through my github repo.
I'm wanting to add a 'sponsor' button into the actual readme.md as well as another website.
Is there some what to add the sponsor button to these type of locations?
shields.io has support for GitHub Sponsors badge. Go to https://shields.io/category/funding to create one.
For example:
![GitHub Sponsor](https://img.shields.io/github/sponsors/<username>?label=Sponsor&logo=GitHub)
Replace <username> with your GitHub username.
would display a badge
If you want to make it clickable:
[![](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86)](https://github.com/sponsors/<username>)
Replace <username> with your GitHub username.
would display a badge
You can use a link or an image like described here.
A link could look like this (with a heart emoji):
[:heart: Sponsor](https://github.com/sponsors/yourGitHubUserName)
An image could be uploaded to the repository or to the user content site (can be done by selecting/dragging a file a file into a text area that is rendered (e.g. files, issues, pull requests, discussions, wikis, ...):
[![Github Sponsorship](img/github_sponsor_btn.svg)](https://github.com/sponsors/yourGitHubUserName)

Why it shows "404 page not found" when I click the link in my github pages?

I didn't find useful answer for my question.
I added a file into a new folder that I built on my local git, and I type the link of the file using markdown syntax on my github pages posts section, and then I saved it and pushed it. But when I clicked the link in github, it shows "404 page not found"... But I checked my syntax and other info again and again, they are all correct...I don't know what happened!
After publishing your website wait for 10 to 15 min and then click on link it will open.

Why isn't my github project going live?

I created a subbranch for gh-pages. I don't know why the page isn't getting created. I'm attaching the screen shot of the bash.
Even at the github page, when I hover over the tick mark, it says that github has successfully created the page.
Link to my github
To make a github pages site, you must follow the naming convention for your repository; in your case puneeth8994.github.io.
Also, the main html file should be called index.html.
The following is a great resource to get started on github pages:
https://24ways.org/2013/get-started-with-github-pages/