Skip to content

About

Personal site of Nolan Pierce

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

25 Commits

Folders and files

Repository files navigation

nolanpix.github.io

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 the notes:start / notes:end markers.
  • notes/*.html — individual note pages, generated from tools/gen_notes.py.
  • 404.html — the page GitHub Pages serves for any missing path (root-relative links), generated by tools/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 by tools/gen_notes.py; in index.html it lives between the rail:start / rail:end markers — do not edit inside them.
  • content/*.md — optional Markdown bodies for long articles, referenced from POSTS with body_file (English) and zh.body_file (Chinese) so gen_notes.py stays small.
  • assets/style.css — shared "tapeout terminal" styles. Dark by default; light theme via data-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 by build_site.py in the local mbti_self_test workspace and copied here as index.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 by tools/gen_notes.py.
  • tools/gen_notes.py — renders the note pages, the home-page notes section, the rail and 404.html from an in-file post table. To add a post: give it a category from CATEGORIES, a short name (short / zh.short, at most 24 display columns) and its both languages, then run python3 tools/gen_notes.py; the home page and rail refresh themselves. A new topic is one line in CATEGORIES; a new tool page goes into TOOLS so the rail and the owner report name it. The Markdown subset covers ##/###, paragraphs, - and 1. 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/.

About

Personal site of Nolan Pierce

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages