# ~jisifu Website Refactoring This website uses a Markdown-to-JSON architecture inspired by the Aki pattern. ## Quick Start 1. **Edit Content**: Modify Markdown files in the `content/` directory. 2. **Rebuild**: Run `./rebuild.sh` to generate the JSON files used by the frontend. 3. **View**: Refresh your browser. ## Directory Structure - `content/`: Source Markdown files (edit these). - `public/`: Generated JSON files (don't edit these directly). - `lib/`: PHP backend logic for rendering and content management. - `partials/`: HTML components like the sidebar and footer. - `js/`: Frontend enhancement scripts. ## Architecture For a detailed explanation of how the Aki JSON pattern works on this site, see [ARCHITECTURE_AKI.md](ARCHITECTURE_AKI.md). ## Tools - **Equation Visualizer**: A generalized library for interactive math demos defined in `lib/equations.json`. - **Markdown Rendering**: Powered by `comrak` with GFM support. ## Environment Optimized for `envs.net`. The system automatically handles base-path prefixing for subdirectories (e.g., `/~jisifu/`).