Adom Wiki
Public Made by Adomby adom
How the Adom Wiki (wiki.adom.inc) works and how to drive it with the adom-wiki CLI: the two storage layers (git page repo vs package registry), hosting source by pushing files (not a tarball), making packages, cutting per-platform releases, and the three-tier skill layout (user skills ship, dev-skills/ and publish-skills/ stay source-only). adom-wiki is the current tool; adompkg is deprecated. Read this first before publishing or installing.
Let a page replace or hide the generated Install block (readme_only is too coarse)
Request
Let a page suppress or replace the generated Install block
(adom-wiki pkg install <owner>/<slug>), or pin its own primary
call-to-action above it.
Why
adom/adom-kicad-library is a distribution page for a KiCad PCM library. The
thing every visitor needs is a URL they paste into KiCad:
https://wiki.adom.inc/adom/adom-kicad-library/render/pcm/repository.json
adom-wiki pkg install adom/adom-kicad-library does nothing useful for this
page. Nobody installs a KiCad footprint library through the wiki package
manager, they install it through KiCad. So the most prominent, highest block on
the page is the one action that does not apply, while the action that does is
below the fold, under Install, Download and Contents.
This is not specific to us. Any page whose payload is consumed by an external
tool has the same shape: a browser extension, a KiCad or Fusion library, a
.well-known file, a feed something else polls. The wiki hosts the artifact
well; it just assumes the reader's next step is pkg install.
What I tried
Setting readme_only: true in page.json does move the README up and removes
the pkg install block, so the flag is close to what is needed. But it is too
coarse: it also removes the hero image and the release Download widget.
Confirmed by diffing the rendered HTML before and after:
readme_only: false -> Install(7193) Download(8262) Contents(9890) README(10947)
readme_only: true -> README(2937) Install(4035) [no hero, no download]
For a page that has a hero and one release asset people are meant to download, losing both to gain the README position is not a trade worth making, so I reverted it.
Suggestions, roughly in order of preference
A per-page primary CTA. Something like a
page.jsonfield:"cta": { "label": "Add this URL in KiCad", "value": "https://wiki.adom.inc/adom/adom-kicad-library/render/pcm/repository.json", "hint": "Tools -> Plugin and Content Manager -> Manage... -> +" }rendered where the Install block sits now, with the same copy-to-clipboard affordance. Pages that set it get their own call to action; pages that do not keep today's behaviour.
Split
readme_onlyinto narrower flags, or addhide_install: true, so a page can drop the install snippet without also losing its hero and downloads.Suppress the Install block automatically when the page has no published package. Ours has releases but
pkg_visibilityis null, and the block still renders a command that resolves to nothing useful.
Happy to test whichever lands.