diff options
| author | Leitwolf11 | 2026-11-06 07:58:09 +0300 |
|---|---|---|
| committer | Leitwolf11 | 2026-11-06 07:58:09 +0300 |
| commit | 1439b240a8231c5206e3c8d4f245493a076f2841 (patch) | |
| tree | 1fa3e356b507113ba998767f8d550a8e3371bdbb /Documents/ARCHITECTURE.md | |
| parent | 4505dd56409809ed02ad8f529af343bfeed9f6e2 (diff) | |
| download | website-ops/tazel-redirect.tar.gz | |
Check the tazel.tala.run redirect and describe it in the documentsops/tazel-redirect
The integrity tests still expected tazel.tala.run to serve the Vue build
with its own robots.txt and sitemap.xml. They now count four app-shell
hosts and check the redirect itself: the two former pages go to their
pages under tazel.net/docs/reference/ with the query string, other docs
paths to tazel.net/docs, everything else to the same path, the /docs/
prefix is a plain one so the regular expression is reached, and HSTS
stays.
OPERATIONS.md and ARCHITECTURE.md list tazel.tala.run as a permanent
redirect instead of a documentation site.
Diffstat (limited to 'Documents/ARCHITECTURE.md')
| -rw-r--r-- | Documents/ARCHITECTURE.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Documents/ARCHITECTURE.md b/Documents/ARCHITECTURE.md index 2521b49..53a32ac 100644 --- a/Documents/ARCHITECTURE.md +++ b/Documents/ARCHITECTURE.md @@ -8,7 +8,7 @@ anything about a visitor on a server. | Part | Technology | Artifact | Serves | | --- | --- | --- | --- | -| `frontend/` | Vue 3, Vite, TypeScript | static files in `frontend/dist/` | `tala.run`, `talac.tala.run`, `tazel.tala.run` | +| `frontend/` | Vue 3, Vite, TypeScript | static files in `frontend/dist/` | `tala.run`, `talac.tala.run`, `talafmt.tala.run`, `talalint.tala.run` | | `backend/` | ASP.NET Core 10 | one published application | `tala.run/api/v1/site` | | `forum/` | one HTML page with plain CSS and JavaScript | the five files as they are | `forum.tala.run` | @@ -17,7 +17,8 @@ browser | HTTPS v Nginx - |-- tala.run, talac.tala.run, tazel.tala.run static files of the Vue build; unknown paths fall back to index.html + |-- tala.run, talac.tala.run, talafmt.tala.run, talalint.tala.run static files of the Vue build + |-- tazel.tala.run permanent redirects to tazel.net, Tazel's own site |-- tala.run/api/v1/site -> http://127.0.0.1:5086 (ASP.NET Core) |-- forum.tala.run five named static files; every other path is 404 |-- www.tala.run permanent redirect to tala.run @@ -36,7 +37,6 @@ A single-page application that serves three sites. `site.ts` decides the site fr | `tala.run` | `/docs/getting-started` | building the compiler from its repository | `pages/GettingStartedPage.vue` | | `tala.run` | `/docs/syntax` | a first look at the syntax | `content/syntax.ts` | | `talac.tala.run` | `/docs/command-line`, `/docs/outputs` | the compiler | `content/talac.ts` | -| `tazel.tala.run` | `/docs/commands`, `/docs/project-file` | the build system | `content/tazel.ts` | The pages from `content/` are rendered by `pages/DocPage.vue`; each topic carries its text in all four languages. The root of the two documentation hosts opens their first topic. Any other path redirects to the root. The router uses history URLs, so the server must answer unknown paths with @@ -92,8 +92,8 @@ allows only its own script, stylesheet and two images. ## Search engines and crawlers -- Each host has its own `sitemap.xml` and `robots.txt`; Nginx serves `public/hosts/talac/` and - `public/hosts/tazel/` for the two documentation hosts. A sitemap lists exactly the routes of its host. +- Each host has its own `sitemap.xml` and `robots.txt`; Nginx serves `public/hosts/<host>/` for the documentation + hosts. A sitemap lists exactly the routes of its host. - Every route has its own title, description and canonical URL. A language is a preference, not a second URL, so there are no `hreflang` alternatives. - `robots.txt` names the crawlers the site has a rule for. Search and answer-retrieval crawlers are allowed. Among |