rspress-plugin-git-diff System Overview

rspress-plugin-git-diff System Overview An architecture diagram generated by Archify. Rspress v2 build · calls the plugin hooks · Build time (Node.js) Rspress v2 build calls the plugin hooks Source line marking · remark and rehype plugins · Build time (Node.js) Source line marking remark and rehype plugins Git repository · history of the docs · Build time (Node.js) Git repository history of the docs History collector · collect.ts and data.ts · Build time (Node.js) History collector collect.ts and data.ts Page HTML · line and route attributes · Static site output Page HTML line and route attributes git-diff-data/ · page index, log, blobs · Static site output git-diff-data/ page index, log, blobs On-page diff · PageDiff and marks · Browser On-page diff PageDiff and marks Recent changes page · added by addPages · Browser Recent changes page added by addPages Page history · drawer opened by ?history · Browser Page history drawer opened by ?history Reader · browser · Architecture component Reader browser compile Markdown beforeBuild git log / cat-file line attributes write JSON and blobs blocks to mark index and blobs log and blobs open with ?diff= open /changes page index and blobs open with ?history Build time (Node.js) Static site output Browser Legend Frontend Backend Database External