Skip to content

docs: clarify CNAME behavior for GitHub Pages forks - #238

Closed
tlaurion wants to merge 6 commits into
masterfrom
fix/gh-pages-cname-docs-234-235
Closed

docs: clarify CNAME behavior for GitHub Pages forks#238
tlaurion wants to merge 6 commits into
masterfrom
fix/gh-pages-cname-docs-234-235

Conversation

@tlaurion

@tlaurion tlaurion commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

Fixes #235

Documents the top-level CNAME file (the osresearch.net custom domain) and how it affects GitHub Pages on contributor forks. Makes clear that the fix when a fork redirects or shows a custom-domain warning is to clear the "Custom domain" field in the fork's Pages settings, and that deleting/renaming the tracked CNAME file is neither required nor desired (it would change the PR diff). Also fixes the ** NOTE:** spacing in the CNAME email note.

Copilot AI lite review requested due to automatic review settings August 31, 2026 20:09

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the contributor documentation to better explain how to preview changes via GitHub Pages on a fork, with specific guidance around the repository’s CNAME/custom-domain behavior.

Changes:

  • Rewrites “Testing Changes on Github” into clearer numbered steps for enabling GitHub Pages on a fork.
  • Adds an expanded explanation of the upstream CNAME file and what contributors should expect when enabling Pages on forks.
  • Clarifies that Pages URLs differ from the repository’s wiki feature and that CNAME-related emails can be ignored.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread Development/Contributing-to-Heads-Wiki.md Outdated
Comment thread Development/Contributing-to-Heads-Wiki.md Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Suppressed comments (1)

Previously missed (1) — in code that hasn't changed since the last review.

Development/Contributing-to-Heads-Wiki.md:85

  • The heading uses "Github" instead of the correct "GitHub" capitalization.
### Testing Changes on Github

Comment thread Development/Contributing-to-Heads-Wiki.md Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

Suppressed comments (2)

Previously missed (1) — in code that hasn't changed since the last review.

Development/Contributing-to-Heads-Wiki.md:85

  • The section header uses "Github" instead of the correct "GitHub" capitalization, which is inconsistent with the rest of the updated instructions.

This issue also appears on line 113 of the same file.

### Testing Changes on Github

You may use GitHub to render the changes for review by others. To do this:

1. Go to your fork of the heads-wiki on GitHub.com and click **Settings**.

Development/Contributing-to-Heads-Wiki.md:117

  • Grammar: "prior of pushing" should be "prior to pushing" (or similar).
Please note that the GitHub Pages URL for your fork is different from
the wiki Pages feature available in the GitHub repository sidebar.

### Verifying broken links
Please verify `https://YOUR_USERNAME_HERE.github.io/heads-wiki/` with `https://validator.w3.org/checklink` prior of pushing your changes. 

@tlaurion tlaurion changed the title docs: clarify GitHub Pages testing and CNAME behavior for forks docs: clarify CNAME behavior for GitHub Pages forks Aug 31, 2026
@tlaurion
tlaurion force-pushed the fix/gh-pages-cname-docs-234-235 branch from 3a6c12a to 7496f27 Compare August 31, 2026 20:48
@tlaurion
tlaurion requested a lite review from Copilot August 31, 2026 21:08

@tlaurion tlaurion left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-requesting Copilot review after fixing review feedback.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.

Comment thread Development/Contributing-to-Heads-Wiki.md Outdated
Comment thread Development/Contributing-to-Heads-Wiki.md Outdated
tlaurion added a commit that referenced this pull request Aug 31, 2026
- Use consistent Settings > Pages navigation path with URL examples
- Use USERNAME placeholder (not YOUR_USERNAME_HERE) for Settings URL
- Capitalize standalone "github" to "GitHub" throughout
- Remove trailing whitespace from lines
@tlaurion
tlaurion requested a lite review from Copilot August 31, 2026 21:47

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@tlaurion
tlaurion force-pushed the fix/gh-pages-cname-docs-234-235 branch from 77202a5 to 5138761 Compare September 1, 2026 01:52
@tlaurion
tlaurion requested a lite review from Copilot September 1, 2026 01:53

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.

Suppressed comments (1)

Development/Contributing-to-Heads-Wiki.md:101

  • This instruction line is significantly longer than nearby lines and breaks the document’s existing hard-wrap formatting. Wrapping it improves readability and keeps future diffs smaller.
`https://YOUR_USERNAME_HERE.github.io/heads-wiki/`. To fix this, go to your fork's
**Settings** tab (`https://github.com/YOUR_USERNAME_HERE/heads-wiki/settings`), select **Pages** in the left sidebar, and **clear the "Custom domain" field**, then save.

Comment thread Development/Contributing-to-Heads-Wiki.md Outdated
Comment thread Development/Contributing-to-Heads-Wiki.md Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Suppressed comments (1)

Development/Contributing-to-Heads-Wiki.md:108

  • The bolded sentence is split across a newline, which can render inconsistently in some Markdown pipelines. Consider keeping the entire emphasized sentence on one line for more predictable formatting.
your pull request diff. **You do not need to delete or rename the
`CNAME` file** in your branch.

Comment thread Development/Contributing-to-Heads-Wiki.md Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Suppressed comments (1)

Previously missed (1) — in code that hasn't changed since the last review.

Development/Contributing-to-Heads-Wiki.md:112

  • The statement that clearing the Pages “Custom domain” field does not modify/delete the CNAME file (and therefore won’t affect a PR diff) appears incorrect. GitHub Pages can create an automatic commit that removes CNAME from the root of the selected source branch when the custom domain is removed, which could unexpectedly change a contributor’s PR branch/history.
This is a Pages configuration change only — it does **not** modify or
delete the tracked `CNAME` file in your branch, so it will not change
your pull request diff. **You do not need to delete or rename the
`CNAME` file** in your branch.

Comment thread Development/Contributing-to-Heads-Wiki.md

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

Suppressed comments (1)

Previously missed (1) — in code that hasn't changed since the last review.

Development/Contributing-to-Heads-Wiki.md:104

  • Optional readability: this sentence is fairly long and repeats “DNS”, which makes it harder to parse. Consider splitting it into a shorter sentence while keeping the same meaning.
Because the fork owner does not control the `osresearch.net` DNS, this
commonly causes GitHub to associate your fork with the `osresearch.net`
custom domain, which shows a custom-domain error because you don't control
that DNS, meaning your fork may not be viewable at
`https://YOUR_USERNAME_HERE.github.io/heads-wiki/`. To fix this,

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@tlaurion

tlaurion commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator Author

Superseding in #240: the CNAME/custom-domain explanation (and the GitHub wording / ** NOTE:** spacing fixes) have been reconciled into PR #240's 'Testing Changes on GitHub' section. #238 and #240 both edit the same file section and cannot both merge cleanly, and #240 now carries all of #238's content in a coherent section, so this PR is closed as superseded.

@tlaurion tlaurion closed this Sep 1, 2026
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

Successfully merging this pull request may close these issues.

Document CNAME/custom-domain behavior for Pages forks

2 participants