Repository navigation
App name: the documentation and the website read from the values - #1917
Merged
Merged
Conversation
vmillet-dev
force-pushed
the
app-name-docs
branch
from
December 5, 2026 05:43
97e056f to
1c35efa
Compare
vmillet-dev
force-pushed
the
architecture-tidy
branch
from
December 5, 2026 11:40
ed935e8 to
ad18467
Compare
The pages of docs/content write {{app}}, {{slug}}, {{identifier}},
{{extension}}, {{site}} and {{repository}}, filled by engine::docs and by
website/scripts/docs.mjs, which also writes the site's
core/generated/names.ts: its titles, texts, canonical address, release
file names and repository read it. fetch-release.mjs and website.yml read
the repository and the deploy target from the root manifest; the CI's e2e
job names the binary from the slug. The site's theme key and the scene's
nginx sample carry no name.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BbVs5tCyTr9AasGra3Zzg3
vmillet-dev
force-pushed
the
app-name-docs
branch
from
December 5, 2026 12:00
1c35efa to
55421e5
Compare
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.
Closes #1896 — step 8, the last: the documentation and the site read the application's names from the root
Cargo.toml, as the code does since the previous steps.What changes
docs/contentwrites{{app}},{{slug}},{{identifier}},{{extension}},{{site}}and{{repository}}where it spelled them.engine::docsfills them (frombrandand Cargo'srepository) before a page is read;website/scripts/docs.mjsfills them the same way before the site is built.docs/content/README.mdlists them for whoever writes a page.docs.mjsalso writessrc/app/core/generated/names.ts(the name, the slug, the address, the repository; ignored by git, like the generated pages). Titles, texts, social tags, structured data, the header and footer, the canonical address (SITE_URLand itsdefineare gone) and the release file names of the download page read it.fetch-release.mjsreads the repository fromCargo.toml.website.ymlnames its deploy target<owner>/<slug>-websiteand its commit from the values;ci.yml's e2e job names the binary from the slug.localStorage(site-theme; a visitor who had chosen a theme sees the system's once), the nginx sample of the home page's scene (example.org), and the static<title>ofindex.html(each page writes its own;finish-build.mjsrefuses a page without one).website/package.json(name,description) and the prose.scripts/names.mjsgainsrepository(); D36, « The application's names », « The website » andCLAUDE.mdsay where the docs and the site read the names.Checks run
cargo test -p engine --lib docs(25, the newa_page_says_the_application_s_names_and_no_placeholder_of_themincluded),cargo test -p ui docs_quotes(3),cargo clippy -p engine --all-targets --all-features -- -D warnings,cargo fmt --all --check.node --test "scripts/*.test.mjs"(81),node scripts/architecture-links.mjs.website/:npm run test:scripts(39),npm test(34),npm run lint, andnpm run build: 29 pages prerendered, every check offinish-build.mjspasses but the download links, which the sandbox's proxy answers 401 (curl too); the 9 links are names of assets of the v1.3.1 release, compared one by one with the release's list.The sweep (throwaway, not committed)
DevNotesanddevnotes, in any case, outside the prose files of step 8 (README.md,CONTRIBUTING.md,docs/architecture/,docs/security.md,docs/releasing.md,CLAUDE.md,.claude/,docs/recette/,docs/release-notes/,CHANGELOG.md):Cargo.tomlrepository(devnotes-rs)crates/app/Cargo.toml,packaging/devnotes.desktop,packaging/copyright,icons/devnotes.svg,tests/script_host.rs,tests/windows_resources.rs.desktop,Upstream-Name,CARGO_BIN_EXE_devnotestests/names.rsholds them to the valuesci.yml,e2e/DEVNOTES_*variablesci.ymlsonar.projectKey=devnotes-rustwebsite/package.json,package-lock.jsonname,description,repositorywebsite/src/app/core/release-files.jsonfetch-release.mjsfrom the latest release at each buildNothing else, in any case.
The rename rehearsal (throwaway, not committed)
Cargo.toml's six values changed (Quill Pad,@someone,quillpad,org.quillpad.app,quill,https://quillpad.example), the names of step 6 edited by hand andgit mv-ed, then:cargo test -p brand -p app --test names: green (2).cargo build -p appwritestarget/debug/quillpad.engine:docs25,layout3,user_agent2, green.ui:state::transfer19 (the export's namequillpad-<stamp>.quill, its filter),docs_quotes3,http::tests42, green.logs/quillpad_rCURRENT.log, its lines' targetquillpad::logging. The tray could not be shown: no D-Bus session in the sandbox.npm run docs && ng build): 29 pages prerendered, all 29 say « Quill Pad »; titles « Quill Pad documentation », « Download Quill Pad 1.1.0 for Windows and Linux »; canonicalhttps://quillpad.example/…; release filesquillpad_1.1.0_x64-setup.exe,quillpad-1.1.0.x86_64.rpm… The only old name left in the built pages is the repository's address,devnotes-rs, which changes with the GitHub repository (step 12).DEVNOTES_*variables, the repository's address, the SonarCloud key,website/package.jsonand the release data.Everything undone (
git reset --hardto the commit), nothing of it pushed.Generated by Claude Code