Files
www/README.md
T
paul 4c03d7f18f
Deploy website / deploy (push) Successful in 43s
Upgrade Vite and Marked
2026-10-01 18:54:48 -04:00

2.0 KiB

PaulW.XYZ

Paul's personal website.

Third-Party Licenses

Any trademarks listed on this site are the property of their respective owners. This site neither endorses nor is affiliated with any of the owners. Any source code available on any of the pages is without warranty of any kind. Use it at your own risk.

Direct dependency notices are documented in the license page.

Development

The source for this site is hosted at https://git.paulw.xyz/paul/www.

bun install
bun run dev

Run bun run test for focused content and output tests, bun run check to validate generated pages, and bun run build to create the production site in dist/.

Project layout

  • site.config.js defines the site URL, content directories, standalone pages, and files watched by the development server.
  • content.js discovers Markdown pages and handles local drafts. A file named .example.md in notes/ or posts/ is a local draft; bun run dev includes drafts, while builds exclude them.
  • generator.js renders static pages. feed.js renders the RSS feed and sitemap. output.js stages the generated site before replacing .generated/, so a failed generation leaves the previous output available.
  • src/ contains browser behavior, styles, and bundled fonts.
  • vite.config.js builds the generated pages and regenerates them after content changes during development.
  • check.js validates the generated output before each production build.

Edit content in notes/ and posts/. Keep generated files in .generated/ and dist/ out of version control.

The bundled Iosevka file is a subset of the Fontsource package. After updating @fontsource/iosevka, regenerate it with sh scripts/subset-iosevka.sh (requires uv); normal installs and builds do not require uv.

mirror/ contains local copies of API references (docs.gl, Microsoft SDK API, and Win32). It is about 906 MB, is not used by the generator or build, and is ignored by Git. Keep it locally for reference or move it outside the project when no longer needed.