Skip to content

About

Personal site

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

yichenglieng-code.github.io

Personal site. Served by GitHub Pages from the root of main at https://yichenglieng-code.github.io/.

How it works

Plain static HTML, generated from Markdown by one script with a single dependency. No site framework, no runtime JavaScript, no build step at serve time.

That is deliberate. The value of this site is that a link to it still resolves and still renders identically years from now. Every dependency is something that can rot, so there are none at serve time.

src/*.md                             article sources, Markdown
build.py                             generator
verify.py                            generated-site integrity checks
VERSION, CHANGELOG.md                original article version and publication record
requirements.txt                     pinned build dependency
index.html                           generated
style.css                            generated
bead-compliance-averages/index.html  generated
json-schema-cross-field-rules/       generated
.nojekyll                            tells Pages to skip Jekyll and serve as-is
robots.txt, sitemap.xml              generated

Rebuilding

python -m pip install -r requirements.txt
python build.py
python verify.py

Edit an article in src/, or its metadata and the site CSS in build.py, then update that article's semantic version and add a dated changelog entry before rebuilding. VERSION remains the version source for the original averages article; newer article versions live beside their metadata in build.py. Generated files are committed so that Pages needs no build step of its own. GitHub Actions rebuilds the site and fails if the committed HTML differs, creating a public build record without introducing a runtime dependency.

Note on paths

The stylesheet is referenced as /style.css, an absolute path. That is correct for a GitHub user site, which is served from the domain root. If this content were ever moved to a project site served from a subpath, those references would need to become relative.

Worth knowing because it does not fail obviously: opening index.html directly via file:// also resolves /style.css against the filesystem root, so the page renders unstyled. Serve it over HTTP to preview it as it will actually appear:

python build.py && python -m http.server 8765

Then open http://127.0.0.1:8765/.

License

Site content © 2026 Yicheng Li. The toolkit it discusses is separate and Apache-2.0: https://github.com/yichenglieng-code/bead-compliance-toolkit.

About

Personal site

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages