• English
  • Architecture

    The plugin has two halves. At build time, it reads the git history and writes it as static files, and marks the rendered pages with their source lines. In the browser, it reads those files to show the on-page diff, the recent changes page and the history of each page.

    Each diagram links to an interactive version, where you can search the components and follow the source references.

    System overview

    System overview

    Open the interactive diagram

    Showing a change on the page

    What happens after a reader opens a page with ?diff=.

    Showing a change on the page

    Open the interactive diagram

    Build-time data flow

    How the git history becomes the files under git-diff-data/.

    Build-time data flow

    Open the interactive diagram