Repository navigation
Add the talafmt.tala.run and talalint.tala.run sites - #44
Merged
Merged
Conversation
The build that serves tala.run, talac.tala.run and tazel.tala.run now also serves the formatter and the linter, chosen by host name like the others. Each site has a landing page and two documentation pages in en-US, de-DE, ru-RU and he-IL: - talafmt: the command line (inputs, --check, --emit, exit status 2 for an unreadable line) and what it changes (indentation, line endings, trailing whitespace, the final newline; protected text; encodings from talafmt.kts). - talalint: the command line (--fix) and what it checks: the compiler's diagnostics as compiler.<code>, and format.trailingWhitespace, format.mixedLineEndings and format.missingFinalNewline. --fix rewrites a file with talafmt's default layout, which also re-indents blocks. The facts follow the READMEs of Progmasoft/talafmt and Progmasoft/talalint 0.1.0 and the talalint source. site.ts lists the sites once, with their names, so the header, the landing page and the documentation shell no longer keep their own copies. Each host has its robots.txt and sitemap.xml, nginx gains the two server blocks, and the tests check the new hosts like the others.
Leitwolf11
commented
Oct 23, 2026
Leitwolf11
left a comment
Contributor
Author
There was a problem hiding this comment.
Self-review, written from the diff:
site.ts:sitesis now the single list, andSiteis derived from it.siteBrandreplaces the four copies of the{ language, talac, tazel }name map in App.vue, DocShell.vue and LandingPage.vue.siteOflooks the host up insiteHostsinstead of comparing the subdomains by hand.isSiteuses the list, so?site=talafmtand?site=talalintwork on development hosts. The test coverstalalint.
- Content:
content/talafmt.tsandcontent/talalint.tseach provide a landing page and two topics (/docs/command-lineplus/docs/layoutor/docs/checks) in every locale.- They are wired into
landing,contentRoutes,siteTopicsand DocPage's source link. - The existing test requiring the same code samples in every locale now also runs over the two new sites.
- SEO: each new host has its own
robots.txtandsitemap.xmlunderpublic/hosts/, with canonical URLs on its own host. The tests pin the sitemap contents and the titles. - nginx:
- Two new 443 server blocks are copied from the talac/tazel block: same root, the tala.run certificate (which already lists both names), the same CSP, HSTS (preload), nosniff, DENY and referrer headers, the same route pattern and the per-host robots and sitemap.
/hosts/and/api/return 404.- Port 80 gains both names for ACME and the redirect.
- The integrity test now expects five
@applicationblocks and one shared route pattern.
All checks are green: frontend, backend, coverage, CodeQL, zizmor and dependency review. Merging, then deploying from green main.
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.
Summary
The build that serves tala.run, talac.tala.run and tazel.tala.run now also serves talafmt.tala.run and talalint.tala.run, chosen by host name like the others. Each has a landing page and two documentation pages in en-US, de-DE, ru-RU and he-IL:
/docs/command-line,/docs/layout(what it changes)/docs/command-line,/docs/checks(what it checks)format.trailingWhitespace,format.mixedLineEndingsandformat.missingFinalNewline;--fixapplies talafmt's default layout.site.tslists the sites once, with their names; the header, landing page, documentation shell and edit links read from it.robots.txtandsitemap.xml, and nginx gains the two server blocks with the same route rule as the other sites.Testing
npm run build,npm test(45 pass),format:check, andnpm auditwith no vulnerabilities.?site=talafmtand?site=talalint; no console errors.