Consolidate the Nix and MacOS install tabs - #61
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
| These instructions cover installing Flox on systems that already have | ||
| Nix installed: generic Nix, NixOS, and Determinate Nix. | ||
|
|
||
| **Generic Nix** |
There was a problem hiding this comment.
The "Generic Nix", "NixOS", and "Determinate Nix" sections are at the same heading level as the other section headings in this tab, which makes it hard to read. Perhaps we can leave this level formatted in bold, and put the sub-headings in italics, what do you think?
|
|
||
|
|
||
| Use the Flox installer for your system to allow some opinionated configuration of Nix, or use these "Nix (Generic)" instructions for full control of your Nix installation. | ||
| Use the Flox installer for your system to allow some opinionated configuration of Nix, or use these generic Nix instructions for full control of your Nix installation. |
| Use the Flox installer for your system to allow some opinionated configuration of Nix, or use these "Nix (Generic)" instructions for full control of your Nix installation. | ||
| Use the Flox installer for your system to allow some opinionated configuration of Nix, or use these generic Nix instructions for full control of your Nix installation. | ||
| </Note> | ||
| **Install Nix** |
There was a problem hiding this comment.
suggestion nonblocking: not sure if two sets of tabs will look weird, but I think it's hard to find the right information on this page. Could we add a second set of tabs under the intro section with Generic Nix/NixOS/home-manager etc as the tabs?
There was a problem hiding this comment.
Nested tabs do look kind of weird, but it's a lot of content so maybe that makes sense. I'll see what Claude can whip up.
Per review feedback on #61, replace the bold pseudo-headings in the MacOS and Nix tabs with real ##/### headings so Mintlify's tab-aware "On this page" rail navigates within each tab (## = install path, ### = variant within a path): * Nix tab: merge the fragmented "Generic Nix" / "Install Nix" run into one section whose intro links to "Install imperatively" and "Install declaratively"; add a three-card chooser routing to #generic-nix, #nixos, and #determinate-nix; drop the --- separators that the headings replace. * MacOS tab: promote "Pkg installer" and "Homebrew" to sections and move the shared sudo note and "replace an existing Nix installation" accordion above both, since they apply to either method. Verified with mint dev: the #nix anchor (get.flox.dev contract, now pinned with an explicit Tab id) still activates the tab on a fresh load, as do the new heading anchors; mint broken-links passes. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Shrink the Install Flox page's tab row from 9 tabs to 6 and make the two largest tabs navigable: * Merge Nix (Generic), Nix (NixOS), and Nix (Determinate) into a single Nix tab (anchor #nix, which the get.flox.dev install script links to) with per-flavor sections and one shared verify/upgrade section. * Merge MacOS (Pkg) and MacOS (Homebrew) into a single MacOS tab and deduplicate the "replace an existing Nix installation" accordion. * Replace bold pseudo-headings with real ##/### headings so Mintlify's tab-aware "On this page" rail navigates within each tab (## = install path, ### = variant), and add a three-card flavor chooser to the Nix tab routing to #generic-nix, #nixos, and #determinate-nix. No instructions were removed — only reorganized and deduplicated. In-page anchor links (#nix-generic -> #nix) are updated, and the #nix deep link was verified with mint dev to still activate the tab on a fresh page load; mint broken-links passes. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
51c87a6 to
7d553ce
Compare

Per spec review feedback on #57, the Install Flox page's tab row scrolls horizontally. This shrinks it from 9 tabs to 6:
#nix, which the get.flox.dev install script now links to when it detects an existing Nix), with per-flavor sections and one shared verify/upgrade section.No instructions were removed — only reorganized and deduplicated. In-page anchor links (
#nix-generic→#nix) are updated.#57 will be rebased on top of this branch so its Install Script tab and preview reflect the consolidated anchors.
🤖 Generated with Claude Code