mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
It described the tree at commit e2f768c, and had gone on describing it for
years. Two failures, and the second is the larger one:
FOURTEEN LINKS POINTED AT NOTHING. Five files had moved - the manifest into
public/svg-etc, the translations into imports/i18n/data, the migrations into
migrations/, Contributing.md to CONTRIBUTING.md - and seven described files that
no longer exist anywhere: the mixins that were replaced, presence.js,
reactiveTabs.js, fast-render.js, and a monkey patch for a bug fixed upstream.
The moved ones are repointed and the deleted ones removed, because an entry for
a file that is not there sends a reader looking for it.
Every one of the fourteen was written as a full
https://github.com/wekan/wekan/tree/main/... URL rather than a relative path,
which is exactly why none was noticed: a broken relative link is visibly broken
in an editor and on GitHub, while an absolute one looks like a link and 404s
only for the reader who follows it. All 144 relative links were fine.
AND TWO THIRDS OF THE REPOSITORY WAS NOT MENTIONED AT ALL - imports/, packages/,
releases/, tests/, docs/, migrations/, server/lib, server/methods, server/routes,
models/lib, client/features. The page walked through four directories out of
twenty and did not say that was what it was doing, so a reader could not tell
the difference between "not here" and "does not exist".
It now opens with a table of the whole tree, and gains sections for the four
server directories that hold most of the server, models/lib (the pure modules
that let a decision be tested as arithmetic under bare node), client/features
(the list of what the client LOADS - a component not named there is not in the
bundle however finished it is), and the build/release/test tooling.
tests/docsLinksResolve.test.cjs checks both link forms against the tree, and
fails when Directory-Structure.md stops mentioning a top-level source directory -
the silence being the failure that lasted longest.
Thanks to xet7 !