Add GitHub Pages publishing instructions to README - #1
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a6d6c6b7b3
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| 1. GitHub の対象リポジトリを開きます。 | ||
| 2. `Settings` → `Pages` を開きます。 | ||
| 3. `Build and deployment` の `Source` を `Deploy from a branch` に設定します。 | ||
| 4. `Branch` を公開したいブランチ(例: `main`)、`Folder` を `/root` に設定します。 |
There was a problem hiding this comment.
Use the actual Pages root folder option
When the site files live at the repository root, GitHub Pages' branch source folder is / / /(root), not /root; the official docs describe the source folder as either the repository root (/) or /docs. Following this step as written sends users looking for a non-existent /root folder option, so they cannot complete the documented publishing flow without guessing the intended setting.
Useful? React with 👍 / 👎.
Motivation
index.htmlis at the repository root.Description
README.mdcontaining instructions to open the repositorySettings→Pages, setBuild and deploymentSourcetoDeploy from a branch, select theBranch(e.g.,main) andFolder/root, save, and then visit the shown GitHub Pages URL to verify the site.Testing
Codex Task