|
| 1 | += Legacy names & migration |
| 2 | +:navtitle: Legacy names |
| 3 | +:description: Migrate from antora-dark-theme (and personal forks) to antora-dark-mode and valentus-theme. |
| 4 | + |
| 5 | +[[migrate-from-antora-dark-theme]] |
| 6 | +== From `antora-dark-theme` |
| 7 | + |
| 8 | +The monolithic **`antora-dark-theme`** package was split and renamed under the `antora-supplemental` organization. |
| 9 | + |
| 10 | +[cols="2,3", options="header"] |
| 11 | +|=== |
| 12 | +| Former | Use instead |
| 13 | + |
| 14 | +| `antora-dark-theme` (npm / GitHub release bundle) as full site UI |
| 15 | +| link:https://github.com/antora-supplemental/valentus-theme[`valentus-theme`^] release `ui-bundle.zip` (chrome + **bundled dark mode**) |
| 16 | + |
| 17 | +| Dark mode only on another theme / Default UI |
| 18 | +| **`antora-dark-mode`** — slipstream overlay (must **not** occupy `ui.bundle` when mixed with another theme) |
| 19 | +|=== |
| 20 | + |
| 21 | +=== Playbook: full stack |
| 22 | + |
| 23 | +Replace: |
| 24 | + |
| 25 | +[source,yaml] |
| 26 | +---- |
| 27 | +ui: |
| 28 | + bundle: |
| 29 | + url: https://github.com/antora-supplemental/antora-dark-theme/releases/.../ui-bundle.zip |
| 30 | +---- |
| 31 | + |
| 32 | +With: |
| 33 | + |
| 34 | +[source,yaml] |
| 35 | +---- |
| 36 | +ui: |
| 37 | + bundle: |
| 38 | + url: https://github.com/antora-supplemental/valentus-theme/releases/download/v2/ui-bundle.zip |
| 39 | + snapshot: true |
| 40 | +---- |
| 41 | + |
| 42 | +Remove `antora-dark-theme` from `package.json` if present. |
| 43 | +Valentus install details: link:https://antora-supplemental.github.io/valentus-theme/[valentus-theme docs^]. |
| 44 | + |
| 45 | +=== Playbook: dark mode overlay only |
| 46 | + |
| 47 | +Keep your theme (or Default UI) in `ui.bundle`, then layer dark mode via `supplemental_files` — see xref:installation.adoc[Installation]. |
| 48 | + |
| 49 | +[source,bash] |
| 50 | +---- |
| 51 | +pnpm add -D antora-dark-mode |
| 52 | +---- |
| 53 | + |
| 54 | +== Canonical repositories (not personal forks) |
| 55 | + |
| 56 | +| Role | Canonical home | |
| 57 | +|---|---| |
| 58 | +| Dark mode overlay | https://github.com/antora-supplemental/antora-dark-mode[`antora-supplemental/antora-dark-mode`^] | |
| 59 | +| Composed chrome + dark mode | https://github.com/antora-supplemental/valentus-theme[`antora-supplemental/valentus-theme`^] | |
| 60 | +| Org public GitHub config | https://github.com/antora-supplemental/.github[`antora-supplemental/.github`^] | |
| 61 | +| Org private GitHub config | https://github.com/antora-supplemental/.github-private[`antora-supplemental/.github-private`^] | |
| 62 | + |
| 63 | +Personal forks of the old `antora-dark-theme` name (for example under a member account) are obsolete once history is contained in the org repos above. |
| 64 | +Do not publish or pin those forks as the install source. |
| 65 | + |
| 66 | +Default UI dark-mode experiments that lived on a GitLab fork of `antora-ui-default` are **upstream proposals** (see open MRs on https://gitlab.com/antora/antora-ui-default[`antora/antora-ui-default`^]). |
| 67 | +Sites that need dark mode today should use this overlay or Valentus rather than waiting on Default UI merge. |
| 68 | + |
| 69 | +== Zulip / community corrections |
| 70 | + |
| 71 | +Short copy for threads that still say `antora-dark-theme`: |
| 72 | + |
| 73 | +[source,text] |
| 74 | +---- |
| 75 | +The monolithic antora-dark-theme package was split: |
| 76 | +- Full chrome + dark mode → valentus-theme (release ui-bundle.zip) |
| 77 | +- Dark mode overlay only → antora-dark-mode |
| 78 | +Docs: https://antora-supplemental.github.io/valentus-theme/ |
| 79 | +---- |
| 80 | + |
| 81 | +Maintainer paste templates also live in `docs/maintainers/antora-chat-corrections.md`. |
| 82 | + |
| 83 | +== See also |
| 84 | + |
| 85 | +* xref:installation.adoc[Installation] |
| 86 | +* xref:npm-distribution.adoc[npm distribution] |
| 87 | +* link:https://antora-supplemental.github.io/docs/docs/theme-products.html[Theme products (org docs hub)^] |
| 88 | +* link:https://antora-supplemental.github.io/docs/docs/org-github-config.html[Org GitHub config (docs hub)^] |
0 commit comments