Add static site generator, responsive UI, Arabic i18n, and optional translation proxy#6
Open
K1SysAdmin wants to merge 2 commits into
Open
Add static site generator, responsive UI, Arabic i18n, and optional translation proxy#6K1SysAdmin wants to merge 2 commits into
K1SysAdmin wants to merge 2 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
/docsHTML with generated output and a simple Python-based build tool.Description
scripts/build_site.pyplus a site manifestsite/site_manifest.jsonand HTML templatesite/templates/page.htmlto render Markdown fromsource/quartz-content-vaultinto/docs.docs/assets/site.cssand interactive controls indocs/assets/site.jsthat implement theme switching, language switching (en/ar), audience pathway injection, and a machine-translation trigger using an optional proxy.site/i18n/ar.jsonanddocs/assets/i18n.ar.json, curated translated text, and several new content pages insource/quartz-content-vaultplus updatedFILE_INVENTORY.mdand an expandedREADME_DEPLOY.mdwith build/deploy instructions.serverless/translate-proxy/includingworker.jsandREADME.mdthat demonstrates safely proxying translations to DeepL with CORS and basic payload handling.Testing
python3 scripts/build_site.py --cleanwhich generated pages intodocs/, produceddocs/assets/search-index.json, and completed without errors.site.jsboots controls on DOMContentLoaded and that theme/locale choices are persisted tolocalStorageduring manual smoke testing in a browser.Codex Task