Convert website source from static HTML to Jekyll-powered Markdown#9
Merged
shenxianpeng merged 3 commits intomainfrom Mar 24, 2026
Merged
Convert website source from static HTML to Jekyll-powered Markdown#9shenxianpeng merged 3 commits intomainfrom
shenxianpeng merged 3 commits intomainfrom
Conversation
- Create _layouts/home.html and _layouts/doc.html with full CSS and nav - Convert all 8 HTML files to Markdown with Jekyll front matter - Use page.lang, page.section, page.nav_links, page.active_sidebar etc. for layout customisation via Liquid templates - Update website/_config.yml to enable Jekyll - Add website/Gemfile with jekyll ~> 4.3 - Update .github/workflows/pages.yaml to build with Jekyll before upload - Add _site/ to .gitignore Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: shenxianpeng <3353385+shenxianpeng@users.noreply.github.com> Agent-Logs-Url: https://github.com/castops/cast-slice/sessions/81efc6f4-d874-4e5e-ac46-2bc9a343d540
Copilot
AI
changed the title
[WIP] Convert document to Markdown format and remove HTML files
Convert website source from static HTML to Jekyll-powered Markdown
Mar 24, 2026
shenxianpeng
approved these changes
Mar 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Website pages were authored as raw HTML files committed directly to the repo. They should be Markdown source files that Jekyll compiles to HTML at publish time.
Changes
Jekyll setup
website/_config.yml— enabled Jekyll (was explicitly disabled)website/Gemfile— addsjekyll ~> 4.3website/_layouts/home.html— layout for landing pages; Liquid-driven language switch (page.lang), nav, footer, and CSSwebsite/_layouts/doc.html— layout for doc pages; sidebar with conditional EN/ZH labels, per-page nav links and active-state via front matterContent: HTML → Markdown (8 files)
website/index.md+website/zh/index.mdwebsite/docs/{getting-started,how-it-works,local-testing}.mdwebsite/zh/docs/{getting-started,how-it-works,local-testing}.mdStandard prose/headings/lists use native Markdown; styled components (step-boxes, callouts, syntax-highlighted code blocks) stay as raw HTML blocks since they rely on custom CSS classes.
All 8 original
.htmlsource files removed.CI:
.github/workflows/pages.yamlBefore: uploaded
website/directory directly to Pages.After: runs
bundle exec jekyll buildfirst, uploads_site/(compiled output)._site/added to.gitignore.Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.