From 4c75ce93fdffbd8e5e2e8c5127e3685b353f2a9c Mon Sep 17 00:00:00 2001 From: tiennm99 Date: Fri, 15 May 2026 19:51:14 +0700 Subject: [PATCH] docs: deployment guide + system architecture + code standards Adds comprehensive documentation for v0.5 release: deployment guide covering Vercel/Netlify/self-hosted options, system architecture overview, and code standards for theme development. Improves onboarding and contribution experience. --- docs/code-standards.md | 66 +++++++++++++++++ docs/deployment-guide.md | 95 ++++++++++++++++++++++++ docs/system-architecture.md | 140 ++++++++++++++++++++++++++++++++++++ 3 files changed, 301 insertions(+) create mode 100644 docs/code-standards.md create mode 100644 docs/deployment-guide.md create mode 100644 docs/system-architecture.md diff --git a/docs/code-standards.md b/docs/code-standards.md new file mode 100644 index 0000000..6f58498 --- /dev/null +++ b/docs/code-standards.md @@ -0,0 +1,66 @@ +# Code standards + +How code in this theme is written and why. The goal is predictability — both for humans reading the diff and for LLM-driven tooling navigating the repo. + +## File naming + +- **Kebab-case** for all filenames: `link-button.html`, `theme-toggle.js`, `schema-website.html`. +- Long descriptive names beat short cryptic ones — `analytics-loader.html` is better than `al.html`. +- Hugo partials living under `layouts/partials/` use the `.html` extension even when they emit JSON-LD or `