Source for https://nolanpix.github.io — the personal site / open notebook of Nolan Pierce, a digital IC physical design engineer (P&R, CTS, STA, signoff).
Static HTML, no build step. Structure:
index.html— home: chip-floorplan hero (site map), notes grouped by topic, repos, about. The notes block is generated between thenotes:start/notes:endmarkers.notes/*.html— individual note pages, generated fromtools/gen_notes.py.404.html— the page GitHub Pages serves for any missing path (root-relative links), generated bytools/gen_notes.py.- Contents rail — every page carries the same quiet list of sections, notes and tools,
shown in the left margin on screens 1280px and wider (it replaces the top-bar section
links there). Notes are grouped by topic; each topic is a native
<details>block, so a long list stays folded until the visitor opens it (the current post's topic starts open). Written bytools/gen_notes.py; inindex.htmlit lives between therail:start/rail:endmarkers — do not edit inside them. content/*.md— optional Markdown bodies for long articles, referenced fromPOSTSwithbody_file(English) andzh.body_file(Chinese) sogen_notes.pystays small.assets/style.css— shared "tapeout terminal" styles. Dark by default; light theme viadata-theme="light", or the OS setting when no script runs.assets/prefs.js— the theme (dark / light) and language (中文 / English) switches. Pages carry both languages (lang="zh-CN"/lang="en"pairs); Chinese is the default and the visitor's choice is remembered in localStorage.mbti/— the MBTI 16-type self-test page, generated bybuild_site.pyin the localmbti_self_testworkspace and copied here asindex.html+og.png+OFL-Anybody.txt. Do not hand-edit; rebuild and copy again.assets/pages.json— short page names ({path: [zh, en]}) for the owner report, written bytools/gen_notes.py.tools/gen_notes.py— renders the note pages, the home-page notes section, the rail and404.htmlfrom an in-file post table. To add a post: give it acategoryfromCATEGORIES, a short name (short/zh.short, at most 24 display columns) and its both languages, then runpython3 tools/gen_notes.py; the home page and rail refresh themselves. A new topic is one line inCATEGORIES; a new tool page goes intoTOOLSso the rail and the owner report name it. The Markdown subset covers##/###, paragraphs,-and1.lists,>quotes,|tables,---,code,**bold**and*italic*. Tests:python3 tools/tests/test_gen_notes.py. Every post needs both languages; the script refuses to run without them.plan_md_files/index_plan.md— the design rationale.
Design notes live in plan_md_files/.