Add static course website and GitHub Pages deployment workflow#13
Add static course website and GitHub Pages deployment workflow#13jamesmontemagno wants to merge 10 commits intogithub:mainfrom
Conversation
Co-authored-by: jamesmontemagno <1676321+jamesmontemagno@users.noreply.github.com>
Add static GitHub Pages course website
There was a problem hiding this comment.
Pull request overview
Adds a static documentation/course website under docs/ and automates publishing it to GitHub Pages, with a README badge linking to the hosted site.
Changes:
- Adds static site pages (
docs/index.html,docs/step.html) plus.nojekyllfor GitHub Pages. - Introduces a GitHub Actions workflow to deploy
docs/to GitHub Pages on pushes tomain. - Updates
README.mdto include a “View Course Website” badge/link.
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
docs/index.html |
Adds the static course landing page. |
docs/step.html |
Adds the chapter reader UI that fetches and renders chapter README content. |
docs/.nojekyll |
Disables Jekyll processing for the Pages artifact. |
README.md |
Adds a website badge/link for the course site. |
.github/workflows/deploy-pages.yml |
Adds Pages deployment workflow for the docs/ folder. |
Comments suppressed due to low confidence (1)
docs/step.html:819
- The footer navigation buttons also omit an explicit
type. For non-submit buttons, settype="button"to avoid accidental form submission behavior if the layout changes later.
<button class="nav-footer-btn disabled" id="prevFooter">← Previous</button>
<span class="nav-footer-center" id="chapterIndicator"></span>
<button class="nav-footer-btn" id="nextFooter">Next →</button>
</nav>
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
README.md
Outdated
| [](https://docs.github.com/en/copilot/how-tos/copilot-cli)  | ||
| [](https://aka.ms/foundry/discord) | ||
| [](https://aka.ms/foundry/discord)  | ||
| [](https://jamesmontemagno.github.io/copilot-cli-for-beginners/) |
There was a problem hiding this comment.
The new badge links to https://jamesmontemagno.github.io/copilot-cli-for-beginners/, but this repository’s canonical owner/org appears to be github (e.g., Codespaces and repo links use github/copilot-cli-for-beginners). If GitHub Pages is deployed from this repo, the default URL will be https://github.github.io/copilot-cli-for-beginners/. Please update the README link (or document why a different Pages host is correct) to avoid sending users to the wrong site.
…tes, and sanitizing user input in step.html and index.html
|
Did some updates and accessbiility sweep as well |
This pull request introduces a new GitHub Actions workflow for deploying documentation to GitHub Pages and updates the
README.mdto include a link to the course website. These changes improve the project's documentation accessibility and deployment automation.Running sample: https://jamesmontemagno.github.io/copilot-cli-for-beginners/