Skip to content

Latest commit

 

History

History
67 lines (47 loc) · 3.07 KB

File metadata and controls

67 lines (47 loc) · 3.07 KB

Overview

This repo hosts the source for a personal website/blog. It includes post sources (.qmd, .md, .typ, .tex), bibliographies (.bib), figures/images, and some generated artifacts (HTML/PDF and _cache/_files outputs).

Bibliography notes

ai.bib is partly machine-updated. It contains documentation at the top of the file describing BibTeX formatting guidelines.

Conventions

  • Files named XXX.llm.qmd indicate documents written by an LLM.
  • Use the section order PROJECT-SPEC-HUMAN -> PROJECT-PLAN-LLM -> main document content.
  • Treat <!-- PROJECT-SPEC-HUMAN-BEGIN --> ... <!-- PROJECT-SPEC-HUMAN-END --> as human-owned, non-editable content.
  • Do not modify the PROJECT-SPEC-HUMAN block unless the user explicitly asks to edit that exact protected block.
  • Treat <!-- PROJECT-PLAN-LLM-BEGIN --> ... <!-- PROJECT-PLAN-LLM-END --> as LLM-owned planning content that the LLM should update while working.
  • Keep the PROJECT-PLAN-LLM block aligned with the human spec and update it before substantial document edits.

Quarto Markdown Notes

Definition Lists (Pandoc/Quarto)

Quarto uses Pandoc's definition-list parsing, which is sensitive to whitespace.

Rules of thumb:

  • A definition list item is Term followed immediately by a line starting with a single :. Do not put a blank line between the term and the : line.
  • The : must start at the beginning of the line (column 1). If it is indented, Pandoc may treat it as a code block or part of a different list.
  • Continuation lines in the definition must be indented (e.g. two spaces). Do not start continuation lines with additional : characters unless you intend to add a second definition for the same term.
  • For multi-paragraph definitions, keep subsequent paragraphs indented to stay inside the same <dd>.
  • For display math inside a definition, do not prefix every math line with :. Use exactly one : line to start the definition, then indent the $$...$$ block normally. If each line of a $$ block begins with :, math rendering can break.

Template:

Claim (short sentence)
: First paragraph of the definition.
  Second line of the same paragraph (indented).

  $$
  Display math can be multiline.
  $$

  A second paragraph is ok if it stays indented.

Post Validation Checks

This repo supports per-post "Validation Checks" blocks powered by shared code.

  • Shared runner: tools/qmd_validate.py
    • Validate one post: python tools/qmd_validate.py --qmd posts/<post>.qmd
    • Validate all registered posts: python tools/qmd_validate.py --all
  • Post-specific plugins live in tools/qmd_validate/posts/ and are named after the source post file, with an added .py suffix.
    • Example: posts/2025-10-19-forecasts-of-AI-growth.qmd -> tools/qmd_validate/posts/2025-10-19-forecasts-of-AI-growth.qmd.py

Nightly GitHub Action Email

There is a scheduled workflow .github/workflows/nightly-post-validation.yml. To enable email-on-failure, set these repository secrets:

  • SMTP_SERVER, SMTP_PORT, SMTP_USERNAME, SMTP_PASSWORD
  • VALIDATION_EMAIL_TO, VALIDATION_EMAIL_FROM