Skip to content

Consolidate the Nix and MacOS install tabs - #61

Merged
djsauble merged 1 commit into
mainfrom
daniel/consolidate-install-tabs
Aug 5, 2026
Merged

Consolidate the Nix and MacOS install tabs#61
djsauble merged 1 commit into
mainfrom
daniel/consolidate-install-tabs

Conversation

@djsauble

@djsauble djsauble commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Per spec review feedback on #57, the Install Flox page's tab row scrolls horizontally. This shrinks it from 9 tabs to 6:

  • Commit 1 merges Nix (Generic), Nix (NixOS), and Nix (Determinate) into a single Nix tab (anchor #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.
  • Commit 2 merges MacOS (Pkg) and MacOS (Homebrew) into a single MacOS tab with the two install options as sections, deduplicating the "replace an existing Nix installation" accordion.

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

@mintlify

mintlify Bot commented Aug 5, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
flox 🟢 Ready View Preview Aug 5, 2026, 4:19 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Comment thread install-flox/install.mdx Outdated
These instructions cover installing Flox on systems that already have
Nix installed: generic Nix, NixOS, and Determinate Nix.

**Generic Nix**

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?

Comment thread install-flox/install.mdx


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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think all 3 of these sections could be one section

Image

Comment thread install-flox/install.mdx Outdated
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**

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

djsauble added a commit that referenced this pull request Aug 5, 2026
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>
@djsauble
djsauble force-pushed the daniel/consolidate-install-tabs branch from 51c87a6 to 7d553ce Compare August 5, 2026 17:30
@djsauble
djsauble added this pull request to the merge queue Aug 5, 2026
Merged via the queue into main with commit 0acb49f Aug 5, 2026
3 checks passed
@djsauble
djsauble deleted the daniel/consolidate-install-tabs branch August 5, 2026 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants