1. Goal & Big Picture

High-level flow:

VS Code (WSL) → Git commits → GitHub repo → GitHub Pages → Custom domain


2. Connect This Workspace to GitHub

Prereqs

Initial Git setup in WSL (once)

Turn this workspace into a repo

From /home/bb/_vsc-dev1 wsl workspace:

Create GitHub repo and link it

Now your docs in this workspace are versioned and mirrored on GitHub.


3. Organize Docs for GitHub Pages

Simplest approach: use a docs/ folder and let GitHub Pages publish from it.

Suggested layout

How to adapt this workspace

For a first pass, Option A is simpler.


4. Enable GitHub Pages for the Repo

Once your repo is on GitHub and contains a docs/ folder:

GitHub will:

You can check logs and status in the Pages section if something fails.


5. Choosing How Fancy You Want the Site

You have three basic levels of complexity:

Approach Effort Look/Features Notes
Plain GitHub Pages + Jekyll Low Simple, blog-like, auto-generated Good for quick publishing of markdown.
MkDocs (docs-style site) Medium Great navigation + search Best for “docs” feel, needs a small config.
Full custom static site High Anything you want Only worth it later, more moving parts.

For now, using plain GitHub Pages or MkDocs is enough:


6. Custom Domain Setup

Once the GitHub Pages site works on the default URL:

Step 1 – Decide your domain

Step 2 – Configure on GitHub

Step 3 – Configure DNS at your domain registrar

Once DNS and the CNAME are aligned, visiting your custom domain should show the GitHub Pages site.


7. Daily Workflow from VS Code

From this WSL workspace:

This gives you a simple, repeatable path: write in VS Code → commit → push → site updates.