Skip to content

docs: update README and add a table of contents - #54

Merged
funkadelic merged 4 commits into
mainfrom
docs/readme-correctness-and-toc
Aug 28, 2026
Merged

docs: update README and add a table of contents#54
funkadelic merged 4 commits into
mainfrom
docs/readme-correctness-and-toc

Conversation

@funkadelic

@funkadelic funkadelic commented Aug 28, 2026

Copy link
Copy Markdown
Owner

The README got a few things wrong about the app, and Getting started left out the one thing that stops an install cold. Anyone on a Node version below 24 hit an error the README did nothing to explain. There is a table of contents at the top too, since the file is long enough to need one.

  • Search covers the city name, ascii name, country name, and country code
  • The Capital column is called out as the one that shows in every row and is never searched
  • Only the page navigation buttons hide when there is a single page, and the page size selector stays put
  • Getting started names the Node 24 requirement and uses the install command that matches the committed lockfile
  • The stack list says which major of React, TypeScript, Vite, and Vitest this is, and both it and the scripts table pick up the tools they were missing

Search matches the ascii name and the country code as well, and has since the country-code fix; the Capital column renders but is deliberately not searched, which the README never said. Only the first/previous/next/last controls hide at one page, not the page size select. Getting started never named the Node 24 requirement that engine-strict turns into a hard install failure, and used npm install where the committed lockfile wants npm ci. The lint row omitted Stylelint and the zero-warning gate, and the stack list omitted Sass, Stylelint, and axe-core.
@funkadelic funkadelic changed the title docs: correct five README claims and add a table of contents docs: update README and add a table of contents Aug 28, 2026
@funkadelic funkadelic self-assigned this Aug 28, 2026
@funkadelic funkadelic added the documentation Improvements or additions to documentation label Aug 28, 2026
@funkadelic
funkadelic marked this pull request as ready for review August 28, 2026 06:19
The opening line now describes the app in the terms the rest of the repository already uses for it. The notes section now opens on the fact its three limits rest on, which is that there is no server and getCities fakes network latency over an array held in memory.
@funkadelic
funkadelic force-pushed the docs/readme-correctness-and-toc branch from 235fceb to f76a21c Compare August 28, 2026 06:27
React, TypeScript, Vite and Vitest carry their major now. The major rather than the exact pin, since the manifest pins exactly and a patch bump would falsify the prose. The rest of the list stays bare. src/toolchain.test.ts compares the set of versioned entries before the values, so a deleted version fails there too.
@funkadelic
funkadelic force-pushed the docs/readme-correctness-and-toc branch from e922a74 to 41a3756 Compare August 28, 2026 06:37
Paragraphs and list items are one line each now, wrapped by the reader's editor rather than by hand. Code blocks, tables and the heading structure are untouched.
@sonarqubecloud

Copy link
Copy Markdown

@funkadelic
funkadelic merged commit fedcd53 into main Aug 28, 2026
6 checks passed
@funkadelic
funkadelic deleted the docs/readme-correctness-and-toc branch August 28, 2026 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant