# lynx-share.com The project website: a small static site. Plain HTML, CSS and JavaScript, no framework. Every page reads without JavaScript; the script adds the language switch, direct download links and the small interactive parts. | Page | Address | Source | |---|---|---| | Home | `/` | `_src/pages/home.html` | | Features | `/features/` | `_src/pages/features.html` | | Learn | `/learn/`, `/learn//` | `_src/learn/index.json`, `_src/learn/.md` (see "Tutorials" below) | | Why LYNX | `/why/` | `_src/pages/why.html` (what only LYNX SHARE does, each with its limits) | | What LYNX fixes | `/fixes/` | `_src/pages/fixes.html` (common complaints about DAWs and what the RELEASED version does about each; things only in the source go in its "Being built" list). Linked from Home and Why LYNX | | Instruments and effects | `/instruments-and-effects/` | `_src/catalog.json`, `_src/catalog-img.json` | | Download | `/download/` | `_src/pages/download.html` | | Updates | `/updates/` | `_src/updates.json` | | Wiki | `/wiki/`, `/wiki//` | `_src/wiki/*.md`, `_src/wiki/index.json` | | Wiki, one page per built-in plugin | `/wiki/built-in//` | `_src/catalog.json` (the `wiki` part of each entry) | | FAQ | `/faq/` | `_src/faq.md` | `api/` (crash reports) is not generated and not touched by the build. `update/` (the AppImage update address) is never in this tree: `scripts/deploy-site.sh` keeps the live one. ## Building python3 website/_src/build.py # writes the pages, wiki/search.json and the English string files in i18n/ python3 website/_src/build.py --check # exit 1 if a written file is stale python3 website/_src/check-links.py # every internal link, image and #anchor resolves python3 scripts/check-site-i18n.py # every language has every string (also runs build --check) Python 3 standard library only. **The built pages are committed**: edit the sources in `_src/`, never the `index.html` files, then run the build and commit both. `_src/build.py` holds the shared header and footer, the markdown subset the wiki uses (headings, lists, tables, code, links, one picture), and the page list. `assets/site.css` and `assets/site.js` are shared by every page; `assets/features.js` (Features), `assets/catalog.js` (the catalogue's filter) and `assets/wiki.js` (the wiki search over `wiki/search.json`, which the build writes) belong to one page each. `assets/motion.js` is loaded last on every page: reveals on scroll, numbers that count up (`data-count`), the glass header, tilt and glare on screenshots. The entrances at the top of a page and all hover motion are CSS (`site.css`, "motion"). Motion is on only under `html.mo`, which the script in `` sets unless the visitor asked for reduced motion; a page hides something only when `motion.js` ran and the thing is below the fold, so a failed script never leaves a blank page. Stills for checking a page: add `?shot` (no motion at all). The server never serves `_src/` (`.htaccess`). Look at the result with `python3 -m http.server -d website 8000` (links are root-absolute, so open it through a server, not as files). ## Tutorials (`/learn/`) `_src/learn/index.json` lists the tutorials in order: `slug`, `video` (file base name), `voices` (narration languages), `layout` (`simple`, `pattern`, `clipLaunch`, `any`), `level`, `length` (seconds), `chapters` ([seconds, English name]) and `youtube` ({language: URL}). `_src/learn/.md` has the title, the summary and the written steps (the wiki's markdown); translations are `_src/learn//.md` with the `source` digest, taken in with `scripts/check-site-i18n.py --bodies DIR` from files named `learn..md`, and checked like wiki bodies. - **Videos** are self-hosted: `assets/media/learn/